{
  "info": {
    "name": "Agility CMS — mcp.ai",
    "description": "REST API for the Agility CMS MCP. Set {{apiKey}} to a workspace key (sk_live_…) created at https://mcp.ai/settings/api-keys.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.mcp.ai/api/agility_cms",
      "type": "string"
    },
    {
      "key": "apiKey",
      "value": "sk_live_...",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "agility_cms_get_api_types",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/api/types",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "api",
            "types"
          ]
        },
        "description": "Tool to retrieve all enum types used throughout the Agility CMS Management API. Use when you need to understand available values for status codes, types, permissions, and other enumerated fields.",
        "body": {
          "mode": "raw",
          "raw": "{}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "agility_cms_get_content_item",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/content/item",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "content",
            "item"
          ]
        },
        "description": "Tool to fetch details of a content item by Content ID. Use when you need item fields and metadata from Agility CMS.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"guid\": \"\",\n  \"locale\": \"\",\n  \"apiType\": \"\",\n  \"content_id\": 0,\n  \"content_link_depth\": 0,\n  \"expand_all_content_links\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "agility_cms_get_content_list",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/content/list",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "content",
            "list"
          ]
        },
        "description": "Retrieves a paginated list of content items by reference name from Agility CMS. Use this action to: - Fetch multiple content items of a specific type (e.g., blog posts, products, authors) - Retrieve c",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"guid\": \"\",\n  \"skip\": 0,\n  \"sort\": \"\",\n  \"take\": 0,\n  \"fields\": \"\",\n  \"filter\": \"\",\n  \"locale\": \"\",\n  \"apiType\": \"\",\n  \"direction\": \"\",\n  \"referenceName\": \"\",\n  \"contentLinkDepth\": 0,\n  \"expandAllContentLinks\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "agility_cms_get_content_models",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/content/models",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "content",
            "models"
          ]
        },
        "description": "Tool to retrieve content models and page modules. Use when you need schema definitions to dynamically build content structures.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"guid\": \"\",\n  \"apiType\": \"\",\n  \"lastModifiedDate\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "agility_cms_get_logs",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/logs",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "logs"
          ]
        },
        "description": "Retrieve sync items (content change logs) from Agility CMS using the Content Sync API. This tool implements incremental content synchronization: - Use syncToken='0' for initial full sync (retrieves al",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"guid\": \"\",\n  \"locale\": \"\",\n  \"pageSize\": 0,\n  \"syncToken\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "agility_cms_get_page",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/page",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "page"
          ]
        },
        "description": "Tool to retrieve details of a Page, including metadata, content zones, and components. Use after you know the page_id to fetch.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"locale\": \"\",\n  \"page_id\": 0,\n  \"content_link_depth\": 0,\n  \"expand_all_content_links\": false\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "agility_cms_get_page_modules",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/page/modules",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "page",
            "modules"
          ]
        },
        "description": "Retrieves page module definitions from Agility CMS. Page modules are UI components that can be added to pages. This action fetches all model definitions and filters to return only page modules (defini",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"guid\": \"\",\n  \"locale\": \"\",\n  \"apiType\": \"\",\n  \"lastModifiedDate\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "agility_cms_get_sitemap_flat",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/get/sitemap/flat",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "get",
            "sitemap",
            "flat"
          ]
        },
        "description": "Retrieves the flat sitemap for a specific channel and locale in Agility CMS. Returns a dictionary mapping page paths to sitemap items containing page metadata, SEO info, and routing details. Use this ",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"guid\": \"\",\n  \"locale\": \"\",\n  \"apiType\": \"\",\n  \"channelName\": \"\"\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "agility_cms_sync_pages",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/sync/pages",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "sync",
            "pages"
          ]
        },
        "description": "Retrieves all page items from Agility CMS in paged format with sync tokens for incremental updates. Use this to synchronize local page data with the CMS. Start with syncToken=0 for initial sync, then ",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"locale\": \"\",\n  \"pageSize\": 0,\n  \"syncToken\": 0\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}