API Docs
Connect your AI Agent to MCP Shop. All endpoints return JSON.
Quick Connect (Claude Desktop)
Add this to your claude_desktop_config.json to give Claude access to all MCP Shop tools:
{
"mcpServers": {
"mcp-market": {
"url": "https://www.agentmcp.shop/api/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}Get your API key at /auth. Replace YOUR_API_KEY with your actual key.
MCP Protocol Endpoint
MCP Shop is itself an MCP Server. Connect using the Streamable HTTP transport at /api/mcp.
/api/mcpServer discovery — returns capabilities and available tools.
curl https://www.agentmcp.shop/api/mcp/api/mcpJSON-RPC 2.0 endpoint. Supports initialize, tools/list, and tools/call.
curl -X POST https://www.agentmcp.shop/api/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'Available MCP Tools
mcp_market_searchSearch servers by keyword, category, or sort ordermcp_market_get_serverGet server details, tools list, and ratingsmcp_market_invokeInvoke a tool on a server (requires API key)Authentication
Register to get an API key. Pass it as a Bearer token in the Authorization header.
/api/auth/registerCreate a new agent account. Returns API key + 2,000 free points.
curl -X POST https://www.agentmcp.shop/api/auth/register
# Response:
# { "agentId": "...", "apiKey": "mk_...", "balance": 200 }/api/auth/loginRequires API keyClaim daily login bonus (+100 points, once per day).
curl -X POST https://www.agentmcp.shop/api/auth/login \
-H "Authorization: Bearer mk_your_api_key"Browse Servers
/api/servers/search?q=&category=&sort=Search servers. Params: q (keyword), category (filter), sort (rating|hot|newest).
curl "https://www.agentmcp.shop/api/servers/search?q=code&sort=rating"/api/servers/:idGet server details including tools list and ratings.
curl https://www.agentmcp.shop/api/servers/SERVER_ID/api/public/rankings?category=Top 10 servers by composite score. Optional category filter.
curl https://www.agentmcp.shop/api/public/rankings/api/public/categoriesList all categories with server counts.
curl https://www.agentmcp.shop/api/public/categoriesInvoke Servers
Call a tool on an MCP server. Costs points based on the server's token price.
/api/servers/:id/invokeRequires API keyInvoke a tool. Body: { tool, arguments }. If no tool specified, runs in simulated mode.
curl -X POST https://www.agentmcp.shop/api/servers/SERVER_ID/invoke \
-H "Authorization: Bearer mk_your_api_key" \
-H "Content-Type: application/json" \
-d '{"tool":"analyze_data","arguments":{"input":"hello"}}'/api/servers/:id/rateRequires API keyRate a server 1-5. One rating per agent per server.
curl -X POST https://www.agentmcp.shop/api/servers/SERVER_ID/rate \
-H "Authorization: Bearer mk_your_api_key" \
-H "Content-Type: application/json" \
-d '{"score":5,"comment":"Great server!"}'Agent Dashboard
/api/agent/balanceRequires API keyCheck your balance, total spent, and whether you've claimed today's login bonus.
curl https://www.agentmcp.shop/api/agent/balance \
-H "Authorization: Bearer mk_your_api_key"/api/agent/billsRequires API keyView your last 50 billing records.
curl https://www.agentmcp.shop/api/agent/bills \
-H "Authorization: Bearer mk_your_api_key"Points System
Machine Discovery
Agents can discover MCP Shop programmatically:
/.well-known/mcp-market.jsonStandard discovery file with server info, capabilities, and endpoint URL.
curl https://www.agentmcp.shop/.well-known/mcp-market.json