starknet-mcp
Starknet 的MCP服务器。通过 MCP 提供以下 Starknet RPC 方法:
尚不支持写入方法。
安装
安装Bun 。克隆此仓库。使用bun install
安装依赖项。更新 Claude 的 MCP 配置 - 请参阅特定操作系统的说明。您需要在claude_desktop_config.json
文件中进行如下配置:
用法
正确配置 Claude Desktop 后,它将可以访问所有可用的方法。您可以开始向 Claude 询问有关链状态的问题,例如“Starknet 上最新的区块哈希值和区块编号是多少?”。如果 Claude 确定必须使用 MCP 方法来回答您的问题,它会向您请求权限:
您将在聊天中看到所使用的方法及其输入和输出。
怪癖
starknet_estimateFee
和starknet_estimateMessageFee
方法尚不受支持。
Claude 并非 100% 遵循工具的 inputSchema。它更倾向于发送字符串。部分代码中已阻止此类操作,但如果您遇到任何错误,请提交问题。
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.
Tools
通过公开各种 RPC 方法促进通过 MCP 与 Starknet 区块链的交互,允许用户使用自然语言查询来查询链状态、交易详情和区块信息。
Related Resources
Related MCP Servers
- -securityAlicense-qualityThis MCP server provides connection to Starrocks allows you to explore this query engine with minimum effort.Last updated -1PythonMIT License
- AsecurityAlicenseAqualityInteract with the NEAR blockchain through MCP callsLast updated -203720TypeScriptMIT License
- AsecurityAlicenseAqualityAn MCP server that enables LLMs to perform blockchain operations on the Base network through natural language commands, including wallet management, balance checking, and transaction execution.Last updated -45522TypeScriptMIT License
- AsecurityFlicenseAqualityAn MCP server that fetches on-chain blockchain data via the Ankr API, allowing LLMs to retrieve token balances for wallet addresses on specific networks.Last updated -15591TypeScript