Skip to content

Generic HTTP Client

Connect any MCP-compatible client that supports Streamable HTTP transport to the CoreClaw MCP Server.

Any MCP client that supports Streamable HTTP can connect to CoreClaw using the following configuration:

{
"mcpServers": {
"coreclaw": {
"url": "https://mcp.coreclaw.com/mcp",
"headers": {
"api-key": "scraper_api_YOUR_KEY_HERE"
}
}
}
}

Replace scraper_api_YOUR_KEY_HERE with your actual CoreClaw API key.

In addition to the standard MCP endpoint at /mcp, CoreClaw MCP Server also exposes REST-compatible endpoints at /mcp/<tool_name> for clients that prefer per-tool HTTP APIs:

Terminal window
# Example: Search scrapers via REST
curl -X POST https://mcp.coreclaw.com/mcp/search_scrapers \
-H "Content-Type: application/json" \
-H "api-key: scraper_api_YOUR_KEY" \
-d '{"query": "amazon", "limit": 5}'
EndpointMethodDescription
/mcp/search_scrapersPOSTSearch CoreClaw Store
/mcp/get_scraper_detailsPOSTGet scraper details
/mcp/run_scraperPOSTRun a scraper
/mcp/get_run_statusPOSTCheck run status
/mcp/get_run_resultsPOSTGet run results
/mcp/export_run_resultsPOSTExport results
/mcp/list_runsPOSTList historical runs
/mcp/abort_runPOSTAbort a run
/mcp/get_run_logsPOSTGet run logs
/mcp/run_taskPOSTRun a saved task
/mcp/rerunPOSTRe-run a previous run
/mcp/get_account_infoPOSTGet account info

You can test the MCP connection using curl:

Terminal window
# Test connection (initialize)
curl -X POST https://mcp.coreclaw.com/mcp \
-H "Content-Type: application/json" \
-H "api-key: scraper_api_YOUR_KEY" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "initialize",
"params": {
"protocolVersion": "2024-11-05",
"capabilities": {},
"clientInfo": {"name": "test", "version": "1.0"}
}
}'
# List available tools
curl -X POST https://mcp.coreclaw.com/mcp \
-H "Content-Type: application/json" \
-H "api-key: scraper_api_YOUR_KEY" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}'
# Call a tool (search scrapers)
curl -X POST https://mcp.coreclaw.com/mcp \
-H "Content-Type: application/json" \
-H "api-key: scraper_api_YOUR_KEY" \
-d '{
"jsonrpc": "2.0",
"id": 3,
"method": "tools/call",
"params": {
"name": "search_scrapers",
"arguments": {"query": "amazon", "limit": 5}
}
}'
  • Verify the URL is exactly https://mcp.coreclaw.com/mcp
  • Ensure the api-key header is set correctly
  • Check that your client supports Streamable HTTP transport
  • Ensure the api-key header value matches your CoreClaw API key exactly
  • Verify your key is active in the Console
  • Confirm your client supports MCP protocol version 2024-11-05
  • Check client logs for detailed error messages
  • Try the REST endpoints as a fallback