MCP

Connect Any MCP client

Every client that speaks MCP over HTTP takes the same URL. For clients that only run local servers, bridge it.

  1. Remote (HTTP) clients

    Give the client the server URL. Transport: Streamable HTTP. Clients that support MCP sign-in (OAuth) open it on first use; others send an account key from your keys as Authorization: Bearer cg_live_….

    URL
    https://coingraph.ai/mcp
  2. Local-only clients

    Bridge the remote server with mcp-remote:

    mcp.json
    {
      "mcpServers": {
        "coingraph": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-remote",
            "https://coingraph.ai/mcp"
          ]
        }
      }
    }
  3. Your own code

    import { Client } from "@modelcontextprotocol/sdk/client/index.js";
    import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";
    
    const client = new Client({ name: "my-agent", version: "1.0.0" });
    await client.connect(new StreamableHTTPClientTransport(new URL("https://coingraph.ai/mcp"), {
      requestInit: { headers: { Authorization: `Bearer ${process.env.COINGRAPH_KEY}` } },
    }));
    const res = await client.callTool({ name: "check_token", arguments: { token: "chainlink", size_usd: 5000 } });
    console.log(res.content);

Check it works #

List the tools (tools/list): there are 20, from search_tokens to run_daily_market_brief.

i

Note

Sign-in and what each call costs: Keys & pricing. Every tool with its inputs: Tools.