{"_id":"@cortana-ai/mcp-server","name":"@cortana-ai/mcp-server","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@cortana-ai/mcp-server","version":"1.0.0","description":"MCP server for Agent Kong — gives Claude access to attribution, financials, conversations, and CRM data","type":"module","main":"dist/index.js","bin":{"agentkong-mcp":"dist/index.js"},"scripts":{"build":"tsc","dev":"tsc --watch","start":"node dist/index.js","prepublishOnly":"npm run build"},"keywords":["mcp","claude","agentkong","attribution","stripe","shopify","whop","ai"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/AgentKong/AgentKong_App.git","directory":"mcp-server"},"dependencies":{"@modelcontextprotocol/sdk":"^1.12.1","zod":"^3.24.3"},"devDependencies":{"typescript":"^5.7.0","@types/node":"^22.0.0"},"gitHead":"090f18e899c982b32e781146e6fbb4c5005ddef0","types":"./dist/index.d.ts","_id":"@cortana-ai/mcp-server@1.0.0","bugs":{"url":"https://github.com/AgentKong/AgentKong_App/issues"},"homepage":"https://github.com/AgentKong/AgentKong_App#readme","_nodeVersion":"25.6.1","_npmVersion":"11.9.0","dist":{"integrity":"sha512-NxzEAZnfT1pEdF4Wj7YRwHeHrtL/9ijGjmqzlzyZvVw0IeQY54G4RFyLJ6sFeQd8WQMjI7DRnuTP0nFjUr8eSw==","shasum":"0e0674f7421577387471117aeb65012e4302ea28","tarball":"https://registry.npmjs.org/@cortana-ai/mcp-server/-/mcp-server-1.0.0.tgz","fileCount":32,"unpackedSize":47253,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICWDsaFv/DQ7j6BB8J1oH2T726eEn0BgAC+tfaJUgQtVAiB/M4LHQADDuuxmkHmglHgBCSYXCfkFhlD78ZgN8qWgSQ=="}]},"_npmUser":{"name":"kanchan404","email":"kanchanakavitha6@gmail.com"},"directories":{},"maintainers":[{"name":"kanchan404","email":"kanchanakavitha6@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp-server_1.0.0_1775216933465_0.6917870952726486"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-03T11:48:53.339Z","1.0.0":"2026-04-03T11:48:53.612Z","modified":"2026-04-03T11:48:53.788Z"},"maintainers":[{"name":"kanchan404","email":"kanchanakavitha6@gmail.com"}],"description":"MCP server for Agent Kong — gives Claude access to attribution, financials, conversations, and CRM data","homepage":"https://github.com/AgentKong/AgentKong_App#readme","keywords":["mcp","claude","agentkong","attribution","stripe","shopify","whop","ai"],"repository":{"type":"git","url":"git+https://github.com/AgentKong/AgentKong_App.git","directory":"mcp-server"},"bugs":{"url":"https://github.com/AgentKong/AgentKong_App/issues"},"license":"MIT","readme":"# Agent Kong MCP Server\n\nGive Claude (or any MCP client) full access to your Agent Kong business data — attribution, financials, conversations, and CRM.\n\n## Quick Setup\n\n### 1. Build the server\n\n```bash\ncd mcp-server\nnpm install\nnpx tsc\n```\n\n### 2. Add to Claude Desktop\n\nOpen Claude Desktop → Settings → Developer → Edit Config\n\nAdd this to `claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"agentkong\": {\n      \"command\": \"node\",\n      \"args\": [\"/FULL/PATH/TO/mcp-server/dist/index.js\"],\n      \"env\": {\n        \"AGENTKONG_API_KEY\": \"sk-ak-your-api-key-here\",\n        \"AGENTKONG_BUSINESS_ID\": \"your-business-id-here\",\n        \"AGENTKONG_API_URL\": \"https://app.agentkong.com\"\n      }\n    }\n  }\n}\n```\n\nReplace:\n- `/FULL/PATH/TO/` with the actual path to this folder\n- `sk-ak-your-api-key-here` with your API key (needs all scopes)\n- `your-business-id-here` with your business UUID\n- URL with `http://localhost:3000` for local dev\n\n### 3. Restart Claude Desktop\n\nYou should see a hammer icon in the chat input — that means your tools are loaded.\n\n## Available Tools\n\n| Tool | What it does | Example question |\n|---|---|---|\n| `get_attribution` | Full attribution table with drill-down | \"Which ad has the best ROAS?\" |\n| `get_utms` | Available UTM values for filtering | \"What sources do I have?\" |\n| `get_presets` | Attribution column presets | \"What presets are available?\" |\n| `get_stripe_financials` | Stripe payments, subs, metrics, customers | \"What's my MRR?\" |\n| `get_shopify_data` | Shopify orders, customers, products, analytics | \"What's my top product?\" |\n| `get_whop_data` | Whop payments, customers, memberships | \"Show me Whop revenue\" |\n| `get_conversations` | Conversation history and messages | \"What are customers asking about?\" |\n| `get_call_data` | Voice call logs and transcripts | \"Summarize recent sales calls\" |\n| `get_contacts` | CRM contacts and customer journey | \"Show me this customer's journey\" |\n| `get_conversion_events` | Conversion entries and LTV analysis | \"Who are my highest LTV customers?\" |\n\n## Example Conversations\n\n**Revenue analysis:**\n> \"What's my total revenue this month across Stripe, Shopify, and Whop?\"\n\n**Ad performance:**\n> \"Show me my top 5 ad campaigns by ROAS for the last 30 days\"\n\n**Churn investigation:**\n> \"Which customers churned last week? Check their recent conversations to understand why\"\n\n**Customer journey:**\n> \"Show me the full journey for customer john@example.com — from first visit to purchase\"\n\n## API Key Scopes\n\nYour API key needs these scopes for full access:\n- `contacts:read`, `conversations:read`, `messages:read`\n- `agents:read`, `appointments:read`\n- `conversions:read`, `tracking:read`\n- `tags:read`, `custom_fields:read`\n- `attribution:read`, `stripe:read`, `shopify:read`, `whop:read`\n\nCreate a key with all scopes from: Settings → API Keys → Generate New Key\n","readmeFilename":"README.md","_rev":"1-1c34955b92c4abee5d87130afd19619c"}