{
  "$schema": "https://agentprotocol.ai/schemas/agents.json",
  "version": "1.0.0",
  "siteInfo": {
    "name": "OnePageCRM Developers",
    "description": "Developer documentation for OnePageCRM, an action-focused CRM — REST API, OAuth 2.1, webhooks, OQL (a JSON query language over CRM data), and an MCP server for AI agents.",
    "logoUrl": "https://developer.onepagecrm.com/logo.png",
    "primaryUrl": "https://developer.onepagecrm.com"
  },
  "aiContent": {
    "llmsTxt": "https://developer.onepagecrm.com/llms.txt",
    "llmsFullTxt": "https://developer.onepagecrm.com/llms-full.txt",
    "markdownPages": {
      "description": "Every documentation and hub page is available in markdown by appending .md to the URL (the homepage is at /index.md). Blog posts are HTML only.",
      "examples": [
        "https://developer.onepagecrm.com/getting-started/quickstart.md",
        "https://developer.onepagecrm.com/oauth/overview.md",
        "https://developer.onepagecrm.com/oql/overview.md",
        "https://developer.onepagecrm.com/webhooks/overview.md",
        "https://developer.onepagecrm.com/mcp/overview.md"
      ]
    }
  },
  "capabilities": [
    {
      "name": "GetLLMContext",
      "description": "Returns a curated index of the OnePageCRM developer docs for AI/LLM consumption",
      "endpoint": "https://developer.onepagecrm.com/llms.txt",
      "method": "GET",
      "contentType": "text/markdown"
    },
    {
      "name": "GetFullContext",
      "description": "Returns the full developer documentation corpus inline for larger context windows",
      "endpoint": "https://developer.onepagecrm.com/llms-full.txt",
      "method": "GET",
      "contentType": "text/markdown"
    },
    {
      "name": "GetDocPage",
      "description": "Returns any documentation page as clean markdown",
      "endpoint": "https://developer.onepagecrm.com/{path}.md",
      "method": "GET",
      "contentType": "text/markdown",
      "parameters": {
        "path": {
          "type": "string",
          "description": "Docs page path, e.g. oauth/overview, oql/overview, webhooks/security, mcp/tools/query"
        }
      }
    },
    {
      "name": "GetOpenAPISpec",
      "description": "Returns the OnePageCRM REST API specification (OpenAPI 3)",
      "endpoint": "https://raw.githubusercontent.com/OnePageCRM/swagger/master/swagger.yaml",
      "method": "GET",
      "contentType": "application/yaml"
    }
  ],
  "externalResources": {
    "documentation": "https://developer.onepagecrm.com",
    "apiReference": "https://developer.onepagecrm.com/api/reference/",
    "openApiSpec": "https://raw.githubusercontent.com/OnePageCRM/swagger/master/swagger.yaml",
    "github": "https://github.com/OnePageCRM",
    "status": "https://developer.onepagecrm.com/status/",
    "support": "https://developer.onepagecrm.com/support/"
  },
  "policy": {
    "termsOfServiceUrl": "https://www.onepagecrm.com/terms/",
    "privacyPolicyUrl": "https://www.onepagecrm.com/privacy/",
    "contactEmail": "support@onepagecrm.com"
  },
  "agents": [
    {
      "name": "OnePageCRM MCP Server",
      "description": "Live CRM access for AI agents via the Model Context Protocol — query with OQL, create and update contacts, companies, deals, actions, notes, calls, and meetings as the signed-in user.",
      "url": "https://app.onepagecrm.com/mcp",
      "protocol": "mcp"
    }
  ]
}
