一键导入
install-starknet-mcp
Install and configure the Starknet MCP server for Claude Code
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Install and configure the Starknet MCP server for Claude Code
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | install-starknet-mcp |
| description | Install and configure the Starknet MCP server for Claude Code |
| allowed-tools | Bash, Read |
| argument-hint | <rpc-url> |
Set up the Starknet MCP server so Claude can query a live Starknet node.
The user should provide their Starknet JSON-RPC endpoint URL as $ARGUMENTS. If no argument was given, ask the user for their RPC URL. It must be a v0.10.2+ endpoint.
Install the Python dependencies:
pip install -r mcp/requirements.txt
Ask the user which scope they want:
--scope user) — available in all projects. Best if they work with Starknet across multiple repos. Requires using the absolute path to mcp/server.py.Register the MCP server with Claude Code using the chosen scope. Note that --env must come before -- so Claude sets it in the server's environment (anything after -- is passed as argv to the server itself):
claude mcp add --scope user --env STARKNET_RPC_URL=<the-url> starknet -- python <absolute-path-to-server.py>claude mcp add --env STARKNET_RPC_URL=<the-url> starknet -- python mcp/server.pyVerify the server is registered by running:
claude mcp list
Tell the user the installation is complete and they should restart Claude Code for the new MCP server to take effect. List a few example prompts they can try: