MCP

The Cast AI Model Context Protocol (MCP) server enables AI-powered code editors like Cursor and Windsurf, plus general-purpose tools like Claude Desktop, to interact directly with your Cast AI API and documentation.

What is MCP?

Model Context Protocol (MCP) is an open standard that allows AI applications to securely access external data sources and tools. The Cast AI MCP server provides AI agents with:

  • Direct API access to Cast AI functionality
  • Real-time data from your Cast AI account
  • Code generation assistance for Cast AI integrations
📘

Note on documentation search functionality

The MCP server includes documentation search and fetch tools in its interface, but these tools are currently non-functional. Attempts to use these tools will fail.

Cast AI MCP Server Setup

Cast AI hosts a remote MCP server at https://docs.cast.ai/mcp. Configure your AI development tools to connect to this server. If your APIs require authentication, you can pass in headers via query parameters or however headers are configured in your MCP client.

Add to~/.cursor/mcp.json:

{
  "mcpServers": {
    "castai": {
      "url": "https://docs.cast.ai/mcp"
    }
  }
}

Testing Your MCP Setup

Once configured, you can test your MCP server connection:

  1. Open your AI editor (Cursor, Windsurf, etc.)
  2. Start a new chat with the AI assistant
  3. Ask about Cast AI - try questions like:
    • "Show me an example of using the Cast AI API"
    • "Create a cluster autoscaling configuration"
    • "How do I authenticate with the Cast AI API?"

The AI should now have access to your Cast AI account data through the MCP server.

📘

Known Limitation

Questions requesting documentation search or specific page retrieval may not work as expected due to the non-functional search/fetch tools.