Skip to main content
Glama

Blockscout MCP Server

Official
.env.example2.25 kB
BLOCKSCOUT_BS_API_KEY="" BLOCKSCOUT_BENS_URL="https://bens.services.blockscout.com" BLOCKSCOUT_CHAINSCOUT_URL="http://chains.blockscout.com" BLOCKSCOUT_BS_TIMEOUT=120.0 BLOCKSCOUT_BENS_TIMEOUT=30.0 BLOCKSCOUT_CHAINSCOUT_TIMEOUT=15.0 BLOCKSCOUT_CHAIN_CACHE_TTL_SECONDS=1800 BLOCKSCOUT_CHAINS_LIST_TTL_SECONDS=300 BLOCKSCOUT_PROGRESS_INTERVAL_SECONDS="15.0" # Contracts Cache BLOCKSCOUT_CONTRACTS_CACHE_MAX_NUMBER=10 BLOCKSCOUT_CONTRACTS_CACHE_TTL_SECONDS=3600 BLOCKSCOUT_BS_REQUEST_MAX_RETRIES="3" # The number of items to return per page for the nft_tokens_by_address tool. BLOCKSCOUT_NFT_PAGE_SIZE=10 # The number of log items to return per page for get_address_logs and get_transaction_logs. BLOCKSCOUT_LOGS_PAGE_SIZE=10 # The number of items to return per page for tools using the advanced filters endpoint. BLOCKSCOUT_ADVANCED_FILTERS_PAGE_SIZE=10 BLOCKSCOUT_METADATA_URL="https://metadata.services.blockscout.com" BLOCKSCOUT_METADATA_TIMEOUT="30.0" # RPC connection pool configuration # Increase the connection limit for high-throughput workloads or reduce it on # resource-constrained environments. Extend the timeout if the Blockscout RPC # endpoint responds slowly. BLOCKSCOUT_RPC_REQUEST_TIMEOUT=60.0 BLOCKSCOUT_RPC_POOL_PER_HOST=50 # Customizes the leading part of the User-Agent header sent to Blockscout RPC. # The server version is appended automatically. BLOCKSCOUT_MCP_USER_AGENT="Blockscout MCP" # Optional Mixpanel analytics (HTTP mode only). Set token to enable; leave empty to disable. # Use API host for regional endpoints (e.g., EU). No tracking occurs in stdio mode. BLOCKSCOUT_MIXPANEL_TOKEN="" BLOCKSCOUT_MIXPANEL_API_HOST="" # Disable community telemetry reporting. BLOCKSCOUT_DISABLE_COMMUNITY_TELEMETRY=false # Annotate MCP client name with an allowlisted intermediary when running in HTTP mode. BLOCKSCOUT_INTERMEDIARY_HEADER="Blockscout-MCP-Intermediary" BLOCKSCOUT_INTERMEDIARY_ALLOWLIST="ClaudeDesktop,HigressPlugin" # The transport mode for the server. # Options: "stdio" (default), "http". # This allows running the server in HTTP mode without CLI flags, which is useful for container environments. # The --http CLI flag will always take precedence if provided. # BLOCKSCOUT_MCP_TRANSPORT="stdio"

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/blockscout/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server