Starknet MCP Server logo

Starknet MCP Server

by mcpdotdirect

Query Starknet data, resolve Starknet IDs, inspect contracts, and transfer ETH, STRK, or ERC20 tokens through MCP.

Install Starknet MCP Server

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mcpdotdirect-starknet-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@mcpdotdirect/starknet-mcp-server"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio mcpdotdirect-starknet-mcp-server -- npx -y @mcpdotdirect/starknet-mcp-server

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Automated check passed— started and listed 25 tools correctly ().

Overview

mcpdotdirect/starknet-mcp-server MCP server exposes Starknet blockchain data and operations through MCP tools. It supports Mainnet and Sepolia, including balances, blocks, transactions, StarknetID resolution, NFTs, token metadata, and Cairo smart-contract calls. Write operations cover ETH, STRK, ERC20 transfers, and contract execution, while read-only tools support contract inspection. Reach for it when an AI assistant needs to query or act on Starknet through either stdio or HTTP with SSE.

Use cases

  • Inspect Starknet balances and transaction history
  • Resolve Starknet IDs to addresses or profiles
  • Read Cairo contract functions and ABIs
  • Transfer ETH, STRK, or ERC20 tokens
  • Check NFT ownership and collection balances

Key features

  • Mainnet and Sepolia support
  • ETH, STRK, and ERC20 balance queries
  • StarknetID resolution and profile lookup
  • Block, transaction, receipt, and status inspection
  • Read and write smart-contract operations
  • Stdio and HTTP with SSE transports

Tools25

What Starknet MCP Server lets your agent do. Expand a tool for its parameters.

Verified live~3.0k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

25/29 checks healthy over the last 117d

What it can do

From the 25 tools this server returned when we ran it.

Runs commands · 1Makes changes · 3Handles credentials · 6Read-only tools · 21
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age618 days
Maintainers2

Observed 2026-12-02 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 3d ago via OSV.dev · @mcpdotdirect/starknet-mcp-server (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars7Stargazers on the source repository.
npm downloads106Package downloads in the last 30 days.
Last commit1y agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed25Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Starknet MCP Server works

What mcpdotdirect/starknet-mcp-server MCP server does

The mcpdotdirect/starknet-mcp-server MCP server gives MCP-compatible AI clients an interface to Starknet Mainnet and Sepolia. It covers both blockchain inspection and account or contract operations, so it can support tasks ranging from checking a wallet balance to submitting a token transfer.

The server accepts Starknet addresses wherever supported and can also resolve Starknet IDs. This allows balance, profile, NFT, and related queries to use either a hexadecimal address or a human-readable Starknet identity.

How it works

The package can run as a stdio process for desktop, editor, and command-line MCP clients. It also has an HTTP mode, which listens on port 3000 by default and exposes REST and Server-Sent Events endpoints. The default host is 0.0.0.0, and the default network is Mainnet.

MCP clients discover the available operations as tools. Read operations query chain state, while write operations submit transfers or contract calls and can check transaction status or receipts. The server is implemented with Starknet.js and requires either Bun 1.0 or later, or Node.js 18 or later, according to the project prerequisites.

Setup and configuration

You can launch the mcpdotdirect/starknet-mcp-server MCP server without a local package install using npx:

Terminal
npx @mcpdotdirect/starknet-mcp-server

Append http to start HTTP mode:

Terminal
npx @mcpdotdirect/starknet-mcp-server http

It can also be installed globally with npm, added to a project with npm, Yarn, or pnpm, or run from a cloned repository. There are no documented environment variables for changing the defaults. Network settings are defined in src/core/chains.ts; HTTP server settings are in src/server/http-server.ts.

Tools and capabilities

Available operations include:

  • Inspect supported networks, chain information, blocks, block transactions, transactions, receipts, and confirmation status.
  • Read ETH, STRK, ERC20, and combined native-token balances.
  • Resolve Starknet IDs and addresses, retrieve profiles, and validate Starknet domains.
  • Read token metadata and supply, check NFT ownership, and query NFT balances.
  • Call read-only smart-contract functions and inspect contract classes, including ABI information.
  • Transfer ETH, STRK, and ERC20 tokens, or execute a write operation on a contract.

The transfer and contract-execution tools are write operations. They should be used with the account and transaction context appropriate for the selected Starknet network.

Limitations and notes

The mcpdotdirect/starknet-mcp-server MCP server documents only Mainnet and Sepolia as supported networks. Its default configuration is compiled into the application rather than exposed through listed environment variables, so changing the default network, host, or port requires editing the referenced source files.

HTTP mode defaults to a host accessible from any network interface. Deployments that do not need that exposure should account for the documented 0.0.0.0 default.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Starknet MCP Server

mcpdotdirect/starknet-mcp-server is an MCP server that connects AI assistants to Starknet Mainnet and Sepolia, exposing tools for chain data, ETH/STRK/ERC20 balances and transfers, StarknetID resolution, NFT checks, transaction details, and read-only or write smart-contract operations.

Install it with npx, npm, Yarn, pnpm, Smithery, or from source. Run `npx @mcpdotdirect/starknet-mcp-server` for stdio mode, or add `http` for HTTP mode. The project requires Bun 1.0 or later, or Node.js 18 or later.

Yes, it works with Cursor through a command-based MCP configuration or a `.cursor/mcp.json` file. Use `npx @mcpdotdirect/starknet-mcp-server` for stdio mode, or configure the documented HTTP/SSE endpoint at `http://localhost:3000/sse`.

It supports Starknet Mainnet and Sepolia testnet. Mainnet is the default network.

Yes, it provides tools for transferring ETH, STRK, and ERC20 tokens. It also exposes contract-execution tools for write operations and transaction-status checks.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewStarknet MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcpdotdirect-starknet-mcp-server?style=directory)](https://allmcps.com/mcp/mcpdotdirect-starknet-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/mcpdotdirect-starknet-mcp-server"><img src="https://allmcps.com/api/badge/mcpdotdirect-starknet-mcp-server?style=directory" alt="Starknet MCP Server on AllMCPs" /></a>