Was this page helpful?
Connect your first MCP client, run a verified query, and then move to production automation.
OAuth first
Use the AI Connectors guide for platform-specific steps. The snippets below are the fastest way to configure direct MCP access.
Add this to claude_desktop_config.json:
{
"mcpServers": {
"attribution-ai": {
"url": "https://attribution.ai/api/mcp/rpc",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Config file location:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonRestart Claude Desktop after saving.
Try this prompt
A healthy flow calls tools/list or discover first, then targeted tools like performance or trends.
Install and verify CLI access:
npm install -g attribution-ai
attribution auth login
attribution tools list
attribution data query --tool performance --args '{"start_date":"2026-01-01","end_date":"2026-01-31"}'curl -s -X POST https://attribution.ai/api/mcp/rpc \
-H "Content-Type: application/json" \
-H "Authorization: Bearer atai_your_key_here" \
-d '{"jsonrpc":"2.0","method":"tools/list","id":1}'A successful response returns a result.tools array. If you receive 401/429 responses, use Error Reference for exact fixes.