Skip to main content
Glama

Starknet MCP Server

by milancermak

スタークネットMCP

Starknet用のMCPサーバー。MCPを通じて以下のStarknet RPCメソッドを利用できるようになります。

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_specVersion

書き込みメソッドはまだサポートされていません。

インストール

Bunをインストールします。このリポジトリをクローンします。bun bun installで依存関係をインストールします。Claude の MCP 設定を更新します。お使いの OS の手順を参照してください。claude_desktop_config.json ファイルに以下の内容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" } } } }

使用法

Claude Desktopを正しく設定すると、利用可能なすべてのメソッドにアクセスできるようになります。チェーンの状態についてClaudeに質問できるようになります。例えば、「Starknetの最新のブロックハッシュと番号は何ですか?」などです。Claudeが質問に答えるためにMCPメソッドを使用する必要があると判断した場合、権限を求められます。

使用されたメソッド、その入力と出力がチャットにインラインで表示されます。

メソッドstarknet_estimateFeeおよびstarknet_estimateMessageFeeはまだサポートされていません。

Claude はツールの inputSchema に100% 準拠していません。文字列の送信を優先します。コード内では一部は回避されていますが、エラーが発生した場合は、Issue を開いてください。

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

さまざまな RPC メソッドを公開することで、MCP を介して Starknet ブロックチェーンとのやり取りを容易にし、ユーザーが自然言語クエリを使用してチェーンの状態、トランザクションの詳細、ブロック情報を照会できるようにします。

  1. インストール
    1. 使用法

        Related MCP Servers

        • A
          security
          F
          license
          A
          quality
          An MCP server that connects Claude to BrianKnows' blockchain knowledge base, allowing users to search for blockchain/DeFi information and interact with a specialized agent across multiple knowledge bases.
          Last updated -
          3
          JavaScript
        • -
          security
          A
          license
          -
          quality
          An MCP server that provides seamless integration with the Neo N3 blockchain, allowing Claude to interact with blockchain data, manage wallets, transfer assets, and invoke smart contracts.
          Last updated -
          22
          4
          MIT License
          • Linux
          • Apple
        • -
          security
          F
          license
          -
          quality
          An MCP server that connects Claude for Desktop with blockchain functionality, allowing users to check balances and send tokens on EVM and Solana chains through natural language interactions.
          Last updated -
          TypeScript
          • Apple
        • A
          security
          A
          license
          A
          quality
          A tool that enables users to interact with blockchain data to retrieve token total supply, chain IDs, and filtered RPC endpoints across different blockchain networks.
          Last updated -
          6
          14
          JavaScript
          MIT License

        View all related MCP servers

        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/milancermak/starknet-mcp'

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