FetchFoxDocsDashboard

MCP for agents

Connect an AI client to FetchFox and call the same web data operations over Streamable HTTP.

Connect a client#

Add a remote server using Streamable HTTP. Set the URL and Authorization header in your client’s connection settings. The configuration below shows the URL and headers to supply. Replace the placeholder using your client’s secret mechanism.

{
  "url": "https://api.fetchfox.ai/mcp",
  "headers": {
    "Authorization": "Bearer YOUR_FETCHFOX_API_KEY"
  }
}

Discover tools#

The server is stateless. Initialize the connection, send notifications/initialized, then call tools/list. Each tool includes a JSON input schema. Discovery, ping and help are available before sign-in. Account tools require a bearer key on each request. Operator tools are visible only to authorized accounts.

Try an MCP session#

After initialization, tools/call runs a named operation. This example reads a single page. The result contains a text content item and, for JSON objects, structuredContent.

{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "visit",
    "arguments": {
      "url": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html",
      "include": [
        "markdown"
      ]
    }
  }
}

Ask for protocol help#

Call help with a question about authentication, tools or the protocol. FetchFox records the question. For test sessions, pass test: true. Keep API keys out of the question.

{
  "name": "help",
  "arguments": {
    "question": "How do I use extract?",
    "test": true
  }
}

Use the HTTP transport directly#

Send each JSON-RPC message as a separate POST. Include both accepted media types. Use the protocol version returned by initialize for subsequent messages.

curl -sS https://api.fetchfox.ai/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{},"clientInfo":{"name":"example","version":"1.0"}}}'

Read documentation from an agent#

Use resources/list and resources/read to load documentation in your MCP client. Markdown versions of the guides and the machine-readable tool catalog are available over HTTP.

https://fetchfox.ai/docs/api.md
https://fetchfox.ai/docs/mcp.md
https://fetchfox.ai/docs/tools.json

Search documentation