{"_id":"@agentclick-ai/mcp","_rev":"2-24e212dff931771b68c27925a1239acd","name":"@agentclick-ai/mcp","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@agentclick-ai/mcp","version":"1.0.0","keywords":["mcp","model-context-protocol","agentclick","affiliate","asp","ai-tools","claude-code","cursor","ai-agent","affiliate-marketing","saas"],"author":{"name":"ASI Productions"},"license":"MIT","_id":"@agentclick-ai/mcp@1.0.0","maintainers":[{"name":"asicojp","email":"info@asi.co.jp"}],"homepage":"https://github.com/asi-productions/mothership#readme","bugs":{"url":"https://github.com/asi-productions/mothership/issues"},"bin":{"agentclick-mcp":"server.js"},"dist":{"shasum":"d8a205eac77999016a3bcfb9ed2e55812bc29d67","tarball":"https://registry.npmjs.org/@agentclick-ai/mcp/-/mcp-1.0.0.tgz","fileCount":4,"integrity":"sha512-IiFqtiuSGXZByzySOif+CX682ZA3W+eqq7PbhzCdlPtoulpu+EhueVEtBgp4XT3uyTB3kCJJjQYRJwPN8K2aDA==","signatures":[{"sig":"MEQCIA7BR4tLvizBZYkyJW5e/jCRBZ+sDF+YMEiiXVkuCYdWAiBpO82HS6E6LAHTMTfkKjpN2fc8lVJyy45g5ki2GMvF3w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34038},"main":"server.js","type":"module","engines":{"node":">=18.0.0"},"scripts":{"start":"node server.js","start:http":"AIASP_TRANSPORT=http node server.js"},"_npmUser":{"name":"asicojp","email":"info@asi.co.jp"},"repository":{"url":"git+https://github.com/asi-productions/mothership.git","type":"git"},"_npmVersion":"11.6.1","description":"MCP Server for AgentClick - AI agent-first affiliate platform. 35 tools for publishers, agents, advertisers, and common operations.","directories":{},"_nodeVersion":"23.2.0","dependencies":{"@modelcontextprotocol/sdk":"^1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mcp_1.0.0_1773140728683_0.36460315434358503","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@agentclick-ai/mcp","version":"1.0.1","description":"Official MCP server for AgentClick.ai — Japan's first MCP-enabled affiliate ASP for AI tools (ASI internal research, as of 2026-05). 35 tools for publishers, AI agents, advertisers, and common operations. Unrelated to other 'AgentClick' projects.","main":"server.js","type":"module","bin":{"agentclick-mcp":"server.js"},"scripts":{"start":"node server.js","start:http":"AIASP_TRANSPORT=http node server.js"},"keywords":["mcp","model-context-protocol","agentclick","affiliate","asp","ai-tools","claude-code","cursor","ai-agent","affiliate-marketing","saas"],"repository":{"type":"git","url":"git+https://github.com/asicojp/agentclick-ai-mcp.git"},"homepage":"https://agentclick.ai/agent/","bugs":{"url":"https://github.com/asicojp/agentclick-ai-mcp/issues"},"author":{"name":"ASI Inc."},"license":"MIT","engines":{"node":">=18.0.0"},"publishConfig":{"access":"public"},"dependencies":{"@modelcontextprotocol/sdk":"^1.0.0"},"gitHead":"eccd3fb02f4f9c3b45e05ea5a6eb4ff012c1c787","_id":"@agentclick-ai/mcp@1.0.1","_nodeVersion":"23.2.0","_npmVersion":"11.6.1","dist":{"integrity":"sha512-pxekLL45+YUDegPQVGY22H2E7iuiaVZJpGrEI1TTwTdLofk1Cche4IYA42ySp7sj+qdjRO5A1+4g6r4jg08gnw==","shasum":"0788257f01e7e47f880a7f9be86485767ca2cd08","tarball":"https://registry.npmjs.org/@agentclick-ai/mcp/-/mcp-1.0.1.tgz","fileCount":5,"unpackedSize":35916,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHq2z9qQF6yl0X+lEI86Xwt8t+I/3SJpY8bL8uuNFvg/AiEA3xGM7zFUVBvM3zW+fCeh1c146yJSCqn9wggFc1OVpuw="}]},"_npmUser":{"name":"asicojp","email":"info@asi.co.jp"},"directories":{},"maintainers":[{"name":"asicojp","email":"info@asi.co.jp"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp_1.0.1_1779103035858_0.9372331920898063"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-10T11:05:28.607Z","modified":"2026-05-18T11:17:16.206Z","1.0.0":"2026-03-10T11:05:28.828Z","1.0.1":"2026-05-18T11:17:16.084Z"},"bugs":{"url":"https://github.com/asicojp/agentclick-ai-mcp/issues"},"author":{"name":"ASI Inc."},"license":"MIT","homepage":"https://agentclick.ai/agent/","keywords":["mcp","model-context-protocol","agentclick","affiliate","asp","ai-tools","claude-code","cursor","ai-agent","affiliate-marketing","saas"],"repository":{"type":"git","url":"git+https://github.com/asicojp/agentclick-ai-mcp.git"},"description":"Official MCP server for AgentClick.ai — Japan's first MCP-enabled affiliate ASP for AI tools (ASI internal research, as of 2026-05). 35 tools for publishers, AI agents, advertisers, and common operations. Unrelated to other 'AgentClick' projects.","maintainers":[{"name":"asicojp","email":"info@asi.co.jp"}],"readme":"# @agentclick-ai/mcp\n\nOfficial MCP (Model Context Protocol) server for **AgentClick.ai** (https://agentclick.ai) — **Japan's first MCP-enabled affiliate ASP**, a performance-based affiliate network specialized in AI tools, where AI agents themselves can discover programs, form partnerships, generate links, and record conversions autonomously. *(Japan-first claim: ASI internal research, as of 2026-05.)*\n\nOperated by ASI Inc. 35 tools across publisher, agent, advertiser, and common operations — connect your AI agents to search programs, manage partnerships, track clicks, and record conversions automatically.\n\n> **Disambiguation:** This is **AgentClick.ai** (the AI-tools affiliate ASP by ASI Inc., npm `@agentclick-ai/mcp`). It is unrelated to any other project named \"AgentClick\" (e.g. `agentlayer-io/AgentClick`).\n\n## Installation\n\n```bash\nnpx @agentclick-ai/mcp\n```\n\n## Configuration\n\nAdd to your `.mcp.json` or `claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"agentclick\": {\n      \"command\": \"npx\",\n      \"args\": [\"@agentclick-ai/mcp\"],\n      \"env\": {\n        \"AIASP_API_KEY\": \"aa_your_api_key_here\"\n      }\n    }\n  }\n}\n```\n\n### Environment Variables\n\n| Variable | Required | Default | Description |\n|----------|----------|---------|-------------|\n| `AIASP_API_KEY` | Yes | — | API key (`aa_` + 48 hex chars) |\n| `AIASP_BASE_URL` | No | `https://agentclick.ai` | API base URL |\n| `AIASP_TRANSPORT` | No | `stdio` | Transport mode (`stdio` or `http`) |\n| `AIASP_PORT` | No | `3008` | HTTP port (when transport=`http`) |\n\n## Getting an API Key\n\n1. Sign up at [agentclick.ai](https://agentclick.ai)\n2. Go to Dashboard → API Keys\n3. Create a new key with your desired role (`publisher`, `advertiser`, or `agent`)\n\n## Tools (35)\n\n### Common (5)\n\n| Tool | Description |\n|------|-------------|\n| `health` | Health check (no auth required) |\n| `common_categories` | List AI tool categories |\n| `common_stats` | Platform public statistics |\n| `common_profile` | Authenticated user profile |\n| `common_api_key_info` | API key usage info |\n\n### Publisher (19)\n\n| Tool | Description | Key Parameters |\n|------|-------------|----------------|\n| `publisher_programs_search` | Search programs | `category_slug`, `reward_type`, `keyword`, `min_reward`, `sort` |\n| `publisher_programs_detail` | Program details | `program_id` |\n| `publisher_partnerships_apply` | Apply for partnership | `program_id` |\n| `publisher_partnerships_cancel` | Cancel partnership | `partnership_id` |\n| `publisher_partnerships_list` | List partnerships | `status`, `page`, `per_page` |\n| `publisher_links_generate` | Generate tracking links | `partnership_id` |\n| `publisher_selfback_list` | List self-back eligible programs | `page`, `per_page` |\n| `publisher_selfback_apply` | Apply for self-back | `program_id` |\n| `publisher_report` | Performance report | `start_date`, `end_date`, `group_by` |\n| `publisher_earnings_summary` | Earnings summary | — |\n| `publisher_earnings_payouts` | Payout history | `page`, `per_page` |\n| `publisher_notifications_list` | List notifications | `unread_only`, `page`, `per_page` |\n| `publisher_notifications_read` | Mark notifications read | `notification_id` |\n| `publisher_offers_list` | List received offers from advertisers | `status`, `page` |\n| `publisher_offer_messages_list` | Get offer thread messages | `offer_id` |\n| `publisher_offer_messages_send` | Send message in offer thread | `offer_id`, `body` |\n| `publisher_offer_messages_read` | Mark offer messages as read | `offer_id` |\n| `publisher_boost_purchase` | Purchase media boost slot | `site_id` |\n| `publisher_boost_status` | Check current boost status | — |\n\n### Agent (6)\n\n| Tool | Description | Key Parameters |\n|------|-------------|----------------|\n| `agent_recommend` | Recommend matching programs | `use_case`, `category_slug`, `limit` |\n| `agent_program_detail` | Program public info + assets | `program_id` |\n| `agent_track_click` | Record agent-driven click | `partnership_id`, `context` |\n| `agent_record_conversion` | Record conversion | `tracking_code`, `order_id`, `amount` |\n| `agent_catalog` | Full program catalog (lightweight) | — |\n| `agent_categories` | Category list with program counts | — |\n\n### Advertiser (5)\n\n| Tool | Description | Key Parameters |\n|------|-------------|----------------|\n| `advertiser_plan_status` | Get current plan info | — |\n| `advertiser_plan_subscribe` | Subscribe or change plan | `plan` (`light`/`standard`/`unlimited`) |\n| `advertiser_plan_cancel` | Cancel subscription | — |\n| `advertiser_boost_purchase` | Purchase program boost slot | `program_id` |\n| `advertiser_boost_status` | Check program boost status | — |\n\n## Roles & Access\n\n| Role | Common (5) | Publisher (19) | Agent (6) | Advertiser (5) |\n|------|:---:|:---:|:---:|:---:|\n| `publisher` | ✅ | ✅ | — | — |\n| `advertiser` | ✅ | — | — | ✅ |\n| `agent` | ✅ | ✅ | ✅ | — |\n\n## Rate Limits\n\n| Operation | Limit |\n|-----------|-------|\n| Read | 200 requests/min |\n| Write | 30 requests/min |\n\n## Quick Example\n\n```\nYou: \"Find AI chatbot programs with high rewards\"\nAgent → publisher_programs_search({ category_slug: \"ai-chatbot\", sort: \"reward_desc\" })\n\nYou: \"Apply for program #42\"\nAgent → publisher_partnerships_apply({ program_id: 42 })\n\nYou: \"Generate tracking link for partnership #15\"\nAgent → publisher_links_generate({ partnership_id: 15 })\n\nYou: \"How much have I earned this month?\"\nAgent → publisher_earnings_summary()\n```\n\n## REST API\n\nYou can also call the API directly without the MCP server:\n\n```bash\ncurl -X POST https://agentclick.ai/api/mcp.php \\\n  -H \"Authorization: Bearer aa_your_key\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"action\":\"agent.catalog\",\"params\":{}}'\n```\n\n## License\n\nMIT — [AgentClick](https://agentclick.ai)\n","readmeFilename":"README.md"}