Skip to content

CoreClaw MCP Server

CoreClaw MCP Server exposes the public CoreClaw OpenAPI v2 workflow to AI applications through the Model Context Protocol (MCP). Once connected, your AI agent can discover CoreClaw workers, inspect input schemas, run workers or saved tasks, monitor run status, read logs, and export structured results.

User conversation -> AI agent -> MCP protocol -> CoreClaw MCP Server -> CoreClaw OpenAPI v2
HTTP mcp.coreclaw.com openapi.coreclaw.com

The hosted Streamable HTTP endpoint is:

https://mcp.coreclaw.com/mcp

Use the hosted endpoint first. Local stdio and local HTTP transports are available for development or fallback, but most users do not need to install anything locally.

Add this server to your MCP client:

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

After saving the configuration, restart or reload your MCP client if it requires a restart. Your agent can then use CoreClaw tools from the conversation.

The hosted MCP service accepts any of these request headers:

  • api-key: YOUR_CORECLAW_API_KEY
  • X-API-Key: YOUR_CORECLAW_API_KEY
  • Authorization: Bearer YOUR_CORECLAW_API_KEY

The MCP server forwards authentication to CoreClaw OpenAPI v2 as Authorization: Bearer <token>.

Never commit API keys to version control. Use your client’s secret or credential storage when available.

CoreClaw MCP Server exposes 37 tools — 34 OpenAPI v2 operations (1:1) plus three orchestration helpers. Internal worker-version create/update APIs and internal worker detail APIs are intentionally not exposed.

ToolDescriptionCoreClaw API
list_proxy_regionsList proxy region codes and namesGET /api/v2/proxy/region
list_store_workersSearch public Store workersGET /api/v2/store
list_workersList workers owned by the authenticated userGET /api/v2/workers
get_workerGet worker metadata, version, README, and parametersGET /api/v2/workers/{workerId}
get_worker_input_schemaGet the public input schema for a workerGET /api/v2/workers/{workerId}/input-schema
get_account_infoCheck account balance, traffic quota, and expirationGET /api/v2/users/account
ToolDescriptionCoreClaw API
list_worker_tasksList saved worker tasks for the authenticated userGET /api/v2/worker-tasks
get_worker_taskGet a saved task’s detailsGET /api/v2/worker-tasks/{workerTaskId}
get_worker_task_inputGet a saved task’s input payloadGET /api/v2/worker-tasks/{workerTaskId}/input
create_worker_taskCreate a saved task (optional schedule)POST /api/v2/worker-tasks
update_worker_taskUpdate a task’s metadata/schedulePUT /api/v2/worker-tasks/{workerTaskId}
update_worker_task_inputUpdate only a task’s input payloadPUT /api/v2/worker-tasks/{workerTaskId}/input
delete_worker_taskDelete a saved taskDELETE /api/v2/worker-tasks/{workerTaskId}

Three convenience tools that wrap multiple API calls into a single tool invocation.

ToolDescriptionUnderlying calls
poll_runPoll a run until it reaches a terminal state (or times out)repeats GET /api/v2/worker-runs/{runId}
verify_runReturn a structured verdict (PASS / NO_DATA / FAILED / ERROR_RECORD / RUNNING / SUBMIT_FAIL) by checking run status, then sniffing the first result row for real data vs. a diagnostic-only recordget_worker_run + list_worker_run_results
run_workers_batchRun up to 50 workers with one call; returns a per-item summary with verdicts. Concurrency 1–10, optional verify per itemper item: POST /api/v2/workers/{workerId}/runs + poll_run (+ optional verify_run)

poll_run accepts timeout_seconds (1–900, default 300) and poll_interval_seconds (1–60, default 5), and can prefetch a small result preview (limit) on success. Use it for workers that run longer than a single MCP call window. verify_run is how you tell a real pass from a CAPTCHA/403 row that filled the list but has no payload — it flags those as ERROR_RECORD. get_worker_run_log additionally supports in-process grep (pipe-separated, case-insensitive) with context_lines and max_matches.

ToolDescriptionCoreClaw API
run_workerRun a worker with ad-hoc JSON inputPOST /api/v2/workers/{workerId}/runs
run_worker_taskRun a saved worker taskPOST /api/v2/worker-tasks/{workerTaskId}/runs
ToolDescriptionCoreClaw API
list_worker_runsList run historyGET /api/v2/worker-runs
get_last_worker_runGet the most recent run for the current accountGET /api/v2/worker-runs/last
get_worker_runGet a specific run by run_idGET /api/v2/worker-runs/{runId}
get_worker_last_runGet the most recent run for a specific workerGET /api/v2/workers/{workerId}/runs/last
ToolDescriptionCoreClaw API
list_last_worker_run_resultsList results from the account’s latest runGET /api/v2/worker-runs/last/result
export_last_worker_run_resultsExport the account’s latest run resultsGET /api/v2/worker-runs/last/export
get_last_worker_run_logRead logs for the account’s latest runGET /api/v2/worker-runs/last/log
list_worker_run_resultsList results for a specific runGET /api/v2/worker-runs/{runId}/result
export_worker_run_resultsExport results for a specific runGET /api/v2/worker-runs/{runId}/result/export
get_worker_run_logRead logs for a specific runGET /api/v2/worker-runs/{runId}/log
list_worker_last_run_resultsList latest results for a specific workerGET /api/v2/workers/{workerId}/runs/last/result
export_worker_last_run_resultsExport latest results for a specific workerGET /api/v2/workers/{workerId}/runs/last/export
get_worker_last_run_logRead latest logs for a specific workerGET /api/v2/workers/{workerId}/runs/last/log
ToolDescriptionCoreClaw API
rerun_last_worker_runRerun the account’s latest runPOST /api/v2/worker-runs/last/rerun
rerun_worker_runRerun a specific runPOST /api/v2/worker-runs/{runId}/rerun
rerun_worker_last_runRerun the latest run for a specific workerPOST /api/v2/workers/{workerId}/runs/last/rerun
abort_last_worker_runAbort the account’s latest active runPOST /api/v2/worker-runs/last/abort
abort_worker_runAbort a specific active runPOST /api/v2/worker-runs/{runId}/abort
abort_worker_last_runAbort the latest active run for a specific workerPOST /api/v2/workers/{workerId}/runs/last/abort

For an ad-hoc worker run, the agent should usually follow this order:

list_store_workers(keyword)
-> get_worker_input_schema(worker_id)
-> run_worker(worker_id, input_json, is_async=true)
-> get_worker_run(run_id)
-> list_worker_run_results(run_id) or export_worker_run_results(run_id)

For a saved task, use:

list_worker_tasks(worker_id)
-> run_worker_task(worker_task_id, is_async=true)
-> get_worker_run(run_id)
-> list_worker_run_results(run_id)

If a worker input schema asks for a proxy region, call list_proxy_regions before running the worker. Use rerun_* tools only when repeating an existing run, and abort_* tools only when canceling an active run.

For run_worker, pass business fields as input_json:

{
"worker_id": "YOUR_WORKER_ID",
"version": "latest",
"input_json": "{\"keyword\":\"coffee\",\"limit\":10}",
"is_async": true
}

The MCP server wraps input_json as input.parameters.custom for CoreClaw. Advanced callers can use raw_input_json to send a complete CoreClaw input object directly, but input_json and raw_input_json must not be combined.

PlatformConfigurationGuide
Claude DesktopStreamable HTTPSetup Guide
Claude CLIStreamable HTTPSetup Guide
Codex DesktopStreamable HTTPSetup Guide
CursorStreamable HTTPSetup Guide
ChatGPTStreamable HTTPSetup Guide
VS CodeStreamable HTTPSetup Guide
WindsurfStreamable HTTPSetup Guide
ClineStreamable HTTPSetup Guide
n8nStreamable HTTPSetup Guide
Generic HTTPAny Streamable HTTP MCP client or REST-style tool callerSetup Guide

In addition to the standard MCP endpoint at /mcp, the server exposes a REST compatibility shim at /mcp/<tool_name> for platforms that prefer per-tool HTTP calls:

Terminal window
curl -X POST https://mcp.coreclaw.com/mcp/list_store_workers \
-H "Content-Type: application/json" \
-H "api-key: YOUR_CORECLAW_API_KEY" \
-d '{"keyword":"amazon","offset":0,"limit":5}'

See Generic HTTP Client for JSON-RPC and REST examples.

SymptomLikely causeFix
Invalid API keyMissing, expired, or incorrect keyVerify the key in Console -> Settings -> API & Integrations
Worker does not exist (50001)Wrong worker_idUse list_store_workers or list_workers and pass the returned slug/path
No tools appearClient did not load Streamable HTTP MCP configRestart the client and check the MCP config path
Run starts but no rows appearRun is still active or failedPoll get_worker_run; if failed, call get_worker_run_log
Proxy input rejectedInvalid proxy regionCall list_proxy_regions and use a returned region code
  • The hosted service uses Streamable HTTP. Clients that only support local stdio need a local coreclaw-mcp-server binary.
  • Authentication is API-key based; OAuth is not required for the hosted endpoint.
  • Excluded internal APIs are not available through MCP: worker version create/update and worker internal detail.