MCP.so
Sign In

Starknet MCP Server

@mcpdotdirect

About Starknet MCP Server

MCP server that provides LLM with tools for interacting with Starknet

Basic information

Category

Other

License

MIT

Runtime

node

Transports

stdio

Publisher

mcpdotdirect

Config

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

{
  "mcpServers": {
    "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 provides AI agents with the ability to interact with Starknet networks, query blockchain data, manage wallets, and interact with Cairo smart contracts. Designed for use with Claude, GPT, and other AI assistants.

How to use Starknet MCP Server?

Run the server in stdio mode (npx @mcpdotdirect/starknet-mcp-server) or HTTP mode (npx @mcpdotdirect/starknet-mcp-server http). Install via Smithery, npx, npm global, or local project installation. Connect from Cursor by adding a command-type MCP server or via .cursor/mcp.json. Use claude mcp add starknet-mcp-server npx @mcpdotdirect/starknet-mcp-server for Claude CLI.

Key features of Starknet MCP Server

  • Full Starknet blockchain integration using Starknet.js
  • Supports Mainnet and Sepolia test networks
  • StarknetID resolution (address ↔ domain)
  • Native token support (ETH and STRK)
  • Smart contract call and query operations
  • Dual transport: stdio and HTTP with SSE
  • Designed for AI assistant integration

Use cases of Starknet MCP Server

  • Check native token balances (ETH/STRK) for any address
  • Transfer ETH/STRK between Starknet accounts
  • Query block details, transactions, and chain information
  • Resolve StarknetID domains to addresses and vice versa
  • Call read-only smart contract functions or execute contract writes

FAQ from Starknet MCP Server

What networks does Starknet MCP Server support?

It supports Starknet Mainnet and Sepolia testnet.

What are the prerequisites for running Starknet MCP Server?

You need Bun 1.0.0+ (recommended) or Node.js 18.0.0+.

How do I run Starknet MCP Server in HTTP mode?

Run npx @mcpdotdirect/starknet-mcp-server http. The HTTP server listens on port 3000 by default and provides both a REST API and Server-Sent Events (SSE).

How can I use StarknetID with Starknet MCP Server?

Every tool that accepts Starknet addresses also supports StarknetID, automatically resolving human-readable identities (e.g., "vitalik.stark") to addresses behind the scenes.

How do I connect Starknet MCP Server to Cursor?

Go to Cursor Settings > Features > MCP Servers, add a new server with type "command" and command npx @mcpdotdirect/starknet-mcp-server. Alternatively, create a .cursor/mcp.json file in your project with the appropriate configuration.

Comments

More Other MCP servers