GetBlock MCP server

The GetBlock MCP server connects your AI assistant to your GetBlock account through the Model Context Protocol (MCP). Instead of opening the dashboard, you ask your assistant to create an RPC endpoint, rotate a leaked token, or check your CU balance, and it makes the call for you:

bashhttps://mcp.getblock.io/v1

The server is built on the GetBlock Platform API and uses the same API key for authentication. It acts only on the account to which the key belongs.

This is a different server from the GetBlock Docs MCP server; it searches the documentation and requires no key. Connect both to give your assistant access to the docs and your account.

What it can do

The server exposes 14 tools. Tools marked Write change your account.

AreaToolWhat the agent does with itAccess
Cataloglist_protocolsLists the protocols available on Shared Nodes, filterable by name or by the chain a protocol is based on (e.g. eth for EVM chains)Read
get_protocolReturns one protocol's networks, sync modes, API types, regions, and add-ons: the valid values for creating a tokenRead
list_addonsLists the add-ons available on Shared Nodes and the protocols each one supportsRead
Access tokenslist_tokensLists your access tokens with their endpoint URLsRead
create_tokenCreates a Shared Node access token and returns its endpoint URLWrite
rotate_tokenReplaces a token with a new one of the same configuration; the old endpoint URL stops workingWrite
delete_tokenDeletes a token; every client using its endpoint URL stops workingWrite
Dedicated Nodeslist_dedicated_nodesLists your Dedicated Nodes and the APIs and add-ons each supportsRead
create_dedicated_tokenCreates a token bound to one of your Dedicated NodesWrite
Limitless Nodeslist_limitless_nodesLists your Limitless NodesRead
create_limitless_tokenCreates a token bound to one of your Limitless NodesWrite
Accountget_balanceReturns your CU balance and prepaid USD creditsRead
get_subscriptionReturns your current plan and its statusRead
list_subscriptionsLists every subscription on your accountRead

Once connected, ask your assistant things like:

  • “Create a JSON-RPC endpoint for Ronin mainnet.”
  • “Which regions can I use for peaq?”
  • “Rotate my Solana token and show me the new endpoint URL.”
  • “How many CUs do I have left, and which plan am I on?”

Prerequisites

bashexport GETBLOCK_API_KEY="gb_..."

The API key acts on your entire account. An assistant holding it can delete tokens, which breaks every client using their endpoint URLs. Keep the key out of source control, and review write actions such as delete_token and rotate_token before you approve them.

Connect your AI agent

Every request carries the header Authorization: Bearer <API-KEY>.

In claude.ai or the Claude Desktop app:

  1. Go to Customize → Connectors, click + Add, and select Add custom connector.
  2. Name it GetBlock MCP Server, paste https://mcp.getblock.io/v1 as the URL, and click Continue.
  3. Under Authentication, select No sign-in.
  4. Under Request headers, choose authorization as the header and enter <API-KEY> as the value.
  5. Click Add, then enable the connector from the tools menu in any chat.

NOTE THIS

  1. The header value is stored securely and isn't shown again. To use a new key, edit the connector and enter the new value.
  2. Plan requirements: Free plans can add one custom connector. On Team and Enterprise plans, an Owner adds the connector under Organization settings → Connectors, and each member then connects to it. See Anthropic’s guide to custom connectors.

Run one command in your terminal:

bashclaude mcp add --transport http getblock https://mcp.getblock.io/v1 \
  --header "Authorization: Bearer $GETBLOCK_API_KEY"

Verify the connection with /mcp inside a session.

Go to Settings → MCP → Add new MCP server, or add to .cursor/mcp.json:

json{
  "mcpServers": {
    "getblock": {
      "url": "https://mcp.getblock.io/v1",
      "headers": { "Authorization": "Bearer <API-KEY>" }
    }
  }
}

Run MCP: Add Server from the Command Palette and choose HTTP, or add to .vscode/mcp.json:

json{
  "servers": {
    "getblock": {
      "type": "http",
      "url": "https://mcp.getblock.io/v1",
      "headers": { "Authorization": "Bearer <API-KEY>" }
    }
  }
}

Good to know

  • Endpoint URLs are credentials. The access token is embedded in the URL. Keep it in an environment variable and rotate it if it leaks.
  • Some actions stay in the dashboard. Creating API keys, ordering Dedicated and Limitless Nodes, changing plans, and buying CU packages are done in the GetBlock dashboard.

Migrating an existing project to GetBlock? Point your connected assistant at the Migrate to GetBlock with AI guide and it will walk through the migration for you.