Authentication

How authentication works for the public and private MCP endpoints.

Public MCP Endpoint

The public MCP endpoint requires no authentication. Any MCP-compatible client can connect without API keys, tokens, or credentials.

Endpointhttps://mcp.chatcast.io/mcp/public/server/{storePublicId}/mcp
AuthenticationNone
TransportStreamable HTTP (HTTP+SSE)
Rate Limit100 requests/minute per IP per store

Write Operations

While the endpoint requires no authentication, some tools create database records:

ToolWhat It Creates
register_agentAn agent registration record, scoped to the store. Idempotent — calling with the same name returns the existing registration.
get_my_discount_codeA discount code synced to the store's Shopify account. Idempotent — requesting again returns the same code.

Intentionally open

These operations are intentionally unauthenticated to enable frictionless agent onboarding. The "zero authentication" description refers to the connection itself. By calling register_agent, the agent accepts the Agent Terms of Service.

Private MCP Endpoint

ChatCast also provides an authenticated MCP endpoint for store owners to power their own chatbots and widgets.

Endpointhttps://mcp.chatcast.io/mcp
AuthenticationBearer token (API key with prefix cmcp_)
ToolsDifferent tool set (cart operations, deeper product intelligence, answer_product_question)

Connection Example

No headers or authorization setup needed. Simply point your MCP client to the endpoint URL:

json
{
  "mcpServers": {
    "chatcast-store": {
      "type": "url",
      "url": "https://mcp.chatcast.io/mcp/public/server/{storePublicId}/mcp"
    }
  }
}

For detailed setup instructions for different MCP clients, see the Quick Start guide.