services
Get a key

library / AI and blockchain

Your own MCP server on Carbium RPC

Your own MCP server on Carbium RPC in the Carbium Library: 7 working Solana examples, among them MCP address input validation and MCP server response cache.

  • MCP address input validation SI0085

    Two gates for a model's address argument: shape offline with kit's isAddress, then one getMultipleAccounts read, with errors the model can fix.

  • MCP server response cache SI0082

    A Map cache for MCP server RPC reads keyed by method, params and commitment, with the latest blockhash and its block-height expiry as the worked case.

  • MCP tool contract tests SI0077

    Contract tests for MCP tool handlers that count transport calls: a refused input costs zero RPC calls and a passed-through node error costs exactly one.

  • MCP live RPC example tool SI0043

    An MCP tool that replays a stored Solana RPC example against Carbium, checks the live answer for its expected keys and reports match or mismatch.

  • Claude Code MCP setup SI0021

    Register a stdio MCP server with Claude Code: three read-only Solana tools on Carbium RPC, the key in the environment and a check you can run by hand.

  • Transaction debugging MCP tools SI0020

    A stdio MCP server with three read-only tools that find an address's failed transactions, read why one failed and check a signature's status.

  • Read-only MCP server SI0002

    A one-file stdio MCP server with four read-only Solana tools on Carbium RPC, a fixed method table, no signing code and errors the model can read.