Docs/API reference
Create API key

Model Context Protocol (MCP)

Expose platform AI and agent capabilities to external IDEs and tools over Streamable HTTP. Authenticate with a platform API key (Bearer) or OAuth 2.1 (PKCE) after registering your client.

Cursor configuration

Create an API key with the capabilities you need (including agent for background tasks). Add this to your project or user MCP config:

{
  "mcpServers": {
    "platform": {
      "url": "https://api.ai.saakh.in/api/v1/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

OAuth discovery

If the server responds with 401, clients can discover authorization metadata at /.well-known/oauth-protected-resource and register via dynamic client registration at /api/v1/mcp/oauth/register.

Outbound MCP (agents & chat)

Connect your own MCP servers under Settings → Plugins → MCP servers. Tools are merged into background agent runs and optional chat when "Connected tools" is enabled.