MCP.so
Sign In

Starknet MCP Server

@MCP-Mirror

About Starknet MCP Server

Mirror of

Basic information

Category

Other

License

MIT license

Runtime

node

Transports

stdio

Publisher

MCP-Mirror

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "mcpdotdirect_starknet-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli",
        "install",
        "@mcpdotdirect/starknet-mcp-server",
        "--client",
        "claude"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Starknet MCP Server?

A comprehensive Model Context Protocol (MCP) server for the Starknet blockchain. It enables AI agents to query blockchain data, manage wallets, and interact with smart contracts using natural language, serving developers and AI assistants like Claude and GPT.

How to use Starknet MCP Server?

Run the server in stdio mode with npx @mcpdotdirect/starknet-mcp-server or in HTTP mode with npx @mcpdotdirect/starknet-mcp-server http. Install globally via npm install -g @mcpdotdirect/starknet-mcp-server or add as a project dependency. Configure it in Cursor, Claude CLI, or any MCP-compatible client by specifying the command or URL.

Key features of Starknet MCP Server

  • Query blockchain state (blocks, transactions, receipts)
  • Manage native tokens (ETH, STRK) balances and transfers
  • Interact with ERC20 tokens and NFTs
  • Call and execute Cairo smart contracts
  • Resolve and validate StarknetID domains
  • Supports both Mainnet and Sepolia testnet

Use cases of Starknet MCP Server

  • Check the ETH balance of a StarknetID (e.g., vitalik.stark) in an AI assistant
  • Resolve a StarknetID to its underlying Starknet address
  • Call a read-only smart contract function and return the result
  • Transfer tokens using natural language commands via chat interface
  • Query NFT ownership for a given collection and token ID

FAQ from Starknet MCP Server

What are the system requirements to run the server?

Bun 1.0.0 or higher (recommended) or Node.js 18.0.0 or higher.

Which Starknet networks are supported?

The server supports both Mainnet and Sepolia testnet. The default network is Mainnet.

Can I run the server without installing it?

Yes. You can use npx @mcpdotdirect/starknet-mcp-server to run the latest version directly without permanent installation.

Does the server support StarknetID instead of raw addresses?

Yes. Every tool that accepts Starknet addresses also supports StarknetID, automatically resolving human-readable identities to addresses.

What transport modes are available?

The server can run in stdio mode (for CLI tools and AI assistants) or HTTP mode with Server-Sent Events (SSE) for web applications, defaulting to port 3000.

Comments

More Other MCP servers