Starknet MCP Server
Starknet-mcp
Servidor MCP para Starknet. Ofrece el siguiente método RPC de Starknet a través de MCP:
starknet_getBlockWithTxHashes
starknet_getBlockWithTxs
starknet_getBlockWithReceipts
starknet_getStateUpdate
starknet_getStorageAt
starknet_getTransactionStatus
starknet_getTransactionByHash
starknet_getTransactionByBlockIdAndIndex
starknet_getTransactionReceipt
starknet_getClass
starknet_getClassHashAt
starknet_getClassAt
starknet_getBlockTransactionCount
starknet_call
starknet_getEvents
starknet_getNonce
starknet_blockNumber
starknet_blockHashAndNumber
starknet_chainId
starknet_syncing
starknet_specVersionLos métodos de escritura aún no son compatibles.
Instalación
Instala Bun . Clona este repositorio. Instala las dependencias con bun install . Actualiza la configuración de MCP de Claude (consulta las instrucciones para tu sistema operativo). Necesitarás algo como esto en el archivo claude_desktop_config.json :
{
"mcpServers": {
"starknet": {
"command": "bun",
"args": ["/PATH/TO/THIS/REPO/starknet-mcp/index.ts"],
"env": {
"STARKNET_RPC_URL": "https://starknet-mainnet.public.blastapi.io/rpc/v0_7"
}
}
}
}Related MCP server: Geth MCP Proxy
Uso
Tras configurar correctamente Claude Desktop, tendrá acceso a todos los métodos disponibles. Puedes empezar a hacerle preguntas a Claude sobre el estado de la cadena, por ejemplo, "¿Cuál es el hash y el número de bloque más recientes en Starknet?". Si Claude determina que debe usar un método MCP para responder a tu pregunta, te solicitará permisos:
Verás el método utilizado, su entrada y salida en línea en el chat.
Peculiaridades
Los métodos starknet_estimateFee y starknet_estimateMessageFee aún no son compatibles.
Claude no sigue al 100 % el inputSchema de la herramienta. Prefiere enviar cadenas. El código impide parte de esto, pero si encuentra algún error, abra una incidencia.
Available Tools
1 toolget_blockC
Get a block from the Starknet blockchain
Inputs: blockNumber.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility for ambiguity or overlap in purpose. The tool 'get_block' has a single, clearly defined function, so an agent cannot misselect between tools.
The naming follows a consistent verb_noun pattern ('get_block'), and with only one tool, there is no inconsistency to evaluate. The pattern is clear and predictable.
A single tool for a blockchain server is too few for the apparent scope of interacting with Starknet. This severely limits functionality, as typical blockchain operations would include querying transactions, accounts, contracts, or writing data, not just getting blocks.
The tool surface is severely incomplete for a Starknet blockchain server. It lacks basic operations like getting transactions, accounts, contract states, or writing data, which are essential for blockchain interactions, leaving significant gaps that will cause agent failures.
Maintenance
Related MCP Connectors
MCP server connecting AI agents to non-custodial staking data across 130+ networks.
MEOK ABCI Bridge MCP — read-only Tendermint / Cosmos blockchain query for agents. Built-in registry
Abstraxn: public Web3 MCP server for read-only chain data and pay-per-call relays.
Hosted MCP server for live Bittensor chain reads and self-custodial on-chain writes.
Related MCP Servers
- AlicenseBqualityDmaintenanceA comprehensive Model Context Protocol server that enables AI agents to interact with Starknet blockchain, query data, manage wallets, and work with smart contracts.2517 npm7MIT
- AlicenseNot gradedqualityBmaintenanceBridges Ethereum JSON-RPC queries from Geth nodes to the Model Context Protocol ecosystem, exposing blockchain operations as MCP tools. Enables AI models and applications to securely interact with Ethereum data including blocks, transactions, balances, and advanced debug functions through schema-validated access.52 npm4MIT
- AlicenseNot gradedqualityBmaintenanceAn MCP server that bridges AI models with Ethereum blockchains via all JSON-RPC calls, enabling natural language queries for block numbers, balances, transactions, and smart contract data.21MIT
- AlicenseNot gradedqualityDmaintenanceEnables interaction with the Secret Network blockchain, including querying blockchain data, managing wallets, sending transactions, and executing smart contracts, all through natural language via the MCP protocol.MIT