Skip to content

n8n

Connect n8n workflows to the CoreClaw MCP Server so your automation pipelines can discover CoreClaw workers, run them, monitor runs, and retrieve results as part of a workflow.

n8n supports MCP via Streamable HTTP transport through an MCP Client Tool node.

  1. In your n8n workflow, add an MCP Client Tool node.
  2. Set the transport to Streamable HTTP.

Fill in the node settings:

  • URL: https://mcp.coreclaw.com/mcp
  • Headers:
    • api-key: YOUR_CORECLAW_API_KEY

Replace YOUR_CORECLAW_API_KEY with your actual CoreClaw API key.

  1. Connect the MCP Client Tool node to an AI Agent node.
  2. Connect the AI Agent node to downstream processing nodes.
  1. Execute the workflow.
  2. The AI Agent should be able to call CoreClaw tools such as list_store_workers.
[Trigger] -> [AI Agent] -> [MCP Client Tool: CoreClaw] -> [Process Results] -> [Save to Database]

Example prompt for the AI Agent:

Find an Amazon product worker on CoreClaw, inspect its input schema, run it with this product URL, and return the product title, price, and rating.

The AI Agent should:

  1. Call list_store_workers to find an Amazon worker.
  2. Call get_worker_input_schema to inspect required inputs.
  3. Call run_worker with input_json.
  4. Poll get_worker_run until the run completes.
  5. Call list_worker_run_results or export_worker_run_results to retrieve data.
  • Verify the MCP Client Tool URL is exactly https://mcp.coreclaw.com/mcp.
  • Ensure the api-key header is set.
  • Check n8n execution logs for connection errors.
  • Ensure the api-key header value matches your CoreClaw API key exactly.
  • Verify your key is active in the Console.