mcp
MCP server from GetBlock-io/mcp-server
claude mcp add --transport stdio getblock-io-mcp-server node dist/server.js \ --env ETH_ACCESS_TOKEN="your_eth_access_token_here" \ --env SOLANA_ACCESS_TOKEN="your_solana_access_token_here"
How to use
This MCP server provides an interface to the GetBlock.io API for interacting with Ethereum and Solana networks. It exposes tools such as get-chain-info, get-wallet-balance, get-transaction, get-latest-blocks, get-solana-account, and get-eth-gas-price. You can invoke these tools via MCP-compliant clients (including Claude Desktop) or through the MCP I/O channel described by the Model Context Protocol. Tokens for authenticating with GetBlock are supplied through environment variables (ETH_ACCESS_TOKEN and SOLANA_ACCESS_TOKEN) or a .env file, with a priority order that favors env vars over .env values and then defaults if not provided. Use the tools to query chain metadata, check balances, fetch transaction details, obtain the latest blocks, or retrieve Solana account information and Ethereum gas prices.
How to install
Prerequisites:
- Node.js (recommended LTS) installed on your machine
- npm or yarn for package management
Option A: Standard Node.js installation
- Install dependencies
npm install
- Build the TypeScript sources
npm run build
- Create a .env file (optional) with access tokens for different blockchains
# Access tokens for different blockchains
ETH_ACCESS_TOKEN=your_eth_access_token_here
SOLANA_ACCESS_TOKEN=your_solana_access_token_here
- Start the server
npm start
Option B: Using Docker
- Build the Docker image
docker build -t mcp/getblock:latest .
- Run the container with environment variables
docker run -i --rm \
-e ETH_ACCESS_TOKEN=your_eth_access_token_here \
-e SOLANA_ACCESS_TOKEN=your_solana_access_token_here \
mcp/getblock:latest
Additional notes
Environment-based configuration is supported via ETH_ACCESS_TOKEN and SOLANA_ACCESS_TOKEN. If you encounter API connection issues, verify tokens are correctly exported in your environment or provided in a .env file. The server uses MCP to register tools; ensure your client is configured to call one of the available tools (get-chain-info, get-wallet-balance, get-transaction, get-latest-blocks, get-solana-account, get-eth-gas-price). If you plan to use Claude Desktop or similar tooling, you can configure either direct Node.js startup or the Docker container in your claude_desktop_config.json. Remember to restart clients after updating tokens or environment settings.
Related MCP Servers
zen
Selfhosted notes app. Single golang binary, notes stored as markdown within SQLite, full-text search, very low resource usage
MCP -Deepseek_R1
A Model Context Protocol (MCP) server implementation connecting Claude Desktop with DeepSeek's language models (R1/V3)
mcp-fhir
A Model Context Protocol implementation for FHIR
mcp
Inkdrop Model Context Protocol Server
mcp-appium-gestures
This is a Model Context Protocol (MCP) server providing resources and tools for Appium mobile gestures using Actions API..
dubco -npm
The (Unofficial) dubco-mcp-server enables AI assistants to manage Dub.co short links via the Model Context Protocol. It provides three MCP tools: create_link for generating new short URLs, update_link for modifying existing links, and delete_link for removing short links.