Overview
ChatAds provides a native MCP server that runs on our infrastructure. No local installation required - just point your MCP client directly to our endpoint.Quick Start
Add ChatAds to your MCP client’s configuration. The location varies by client:- Claude Code
- Claude Desktop
- Cursor
- Other Clients
Add to your user config at
~/.claude.json under the mcpServers key:Benefits
- No installation - Works immediately, no Python or dependencies
- Always up-to-date - Server updates apply automatically
- Team-friendly - Centralized configuration, consistent behavior
- Cross-platform - Works with any MCP-compatible client
Technical Details
Endpoint
Transport
The native server uses MCP Streamable HTTP transport, which:- Creates a session on first request
- Returns responses as Server-Sent Events (SSE)
- Maintains session state via
mcp-session-idheader
Authentication
All requests require thex-api-key header with your ChatAds API key.
Direct API Usage
You can also interact with the MCP endpoint programmatically using JSON-RPC 2.0.Required Headers
Step 1: List Available Tools
The server runs stateless — no session initialization required. You can call any method directly.Step 2: Call the Tool
Send an AI assistant response as themessage — this is what ChatAds scans for product mentions to turn into affiliate links.
Available Tools
chatads_message_send
The main tool for fetching affiliate product recommendations.message is the only required parameter. See the API Reference for the full list of available parameters.
Troubleshooting
”Missing API key” (401)
Ensurex-api-key header is included in your config:
“Client must accept both application/json and text/event-stream”
Add the proper Accept header:Tool not appearing in your MCP client
- Verify the URL is exactly:
https://api.getchatads.com/mcp/mcp - Check that
transportis set to"http" - Restart your MCP client completely
- Ask: “What tools do you have access to?”
Next Steps
Get API Key
Sign up and create your API key in the dashboard
Python SDK
Server-side integration with the Python SDK