Starknet MCP Server
About
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.
Details
- Author
- MCP-Mirror
- Downloads
- 241
- Categories
- Other
Jump to
- 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
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Starknet MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
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.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"starknet mcp server": {
"mcpdotdirect_starknet-mcp-server": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@mcpdotdirect/starknet-mcp-server",
"--client",
"claude"
]
}
}
}
}
McpServers
{
"mcpdotdirect_starknet-mcp-server": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@mcpdotdirect/starknet-mcp-server",
"--client",
"claude"
]
}
}
Starknet MCP Server
A comprehensive Model Context Protocol (MCP) server for the Starknet blockchain. This server provides AI agents with the ability to interact with Starknet networks, query blockchain data, manage wallets, and interact with smart contracts.
<a href="https://glama.ai/mcp/servers/@mcpdotdirect/starknet-mcp-server">
</a>
📋 Contents
- Overview
- Features
- Supported Networks
- Prerequisites
- Installation
- Server Configuration
- Usage
- API Reference
- Tools
- Resources
- Prompts
- Usage with AI Assistants
- Security Considerations
- Project Structure
- Development Conventions
- Documentation
- License
🔭 Overview
The Starknet MCP Server leverages the Model Context Protocol to provide blockchain services to AI agents. It offers a comprehensive interface to the Starknet ecosystem, powering AI assistants with the ability to interact with Starknet blockchain data and operations through natural language.
Key capabilities include:
- Reading blockchain state (balances, transactions, blocks)
- Interacting with Cairo smart contracts
- Transferring tokens (ETH, STRK, and other ERC20 tokens)
- Working with NFTs and token metadata
- Resolving StarknetID domains (similar to ENS for Ethereum)
- Making both read and write operations with proper transaction handling
All services are exposed through a consistent interface of MCP tools and resources, making it easy for AI agents to discover and use Starknet blockchain functionality. Every tool that accepts Starknet addresses also supports StarknetID, automatically resolving human-readable identities to addresses behind the scenes.
✨ Features
- Starknet Integration: Full Starknet blockchain integration using Starknet.js
- Network Support: Supports both Mainnet and Sepolia testnet
- StarknetID Integration: Resolution of Starknet IDs to addresses and vice versa
- Native Token Support: Support for both ETH and STRK native tokens
- Smart Contract Interaction: Call and query Starknet smart contracts
- Dual Transport: Run as stdio server or HTTP server for different integration needs
- AI-Ready: Designed to be used with Claude, GPT, and other AI assistants
Blockchain Information
- Query chain information (chain ID, latest block) - Explore block details and transactions - View transaction receipts and status - Get address information and contract dataNative Token Operations
- Get ETH and STRK balances for any address - Transfer ETH and STRK between accounts - View combined native token balancesToken Operations
- Get ERC20 token balances and information - Transfer ERC20 tokens - View token supply and metadata - Check token ownershipNFT Operations
- Check NFT ownership by token ID - Get NFT collection information - View NFT balances for addressesSmart Contract Interaction
- Call read-only contract functions - Execute contract writes with transaction confirmation - Get contract storage information - View ABIs and contract class informationStarknetID
- Resolve Starknet addresses to Starknet IDs - Resolve Starknet IDs to addresses - Get complete Starknet ID profiles with verification data - Validate Starknet domains🔧 Networks Supported
The server supports the following Starknet networks:
- Mainnet: The primary Starknet production network
- Sepolia: Starknet's testnet on Ethereum's Sepolia
🛠️ Prerequisites
- Bun 1.0.0 or higher (recommended)
- Node.js 18.0.0 or higher
📦 Installation
Installing via Smithery
To install starknet-mcp-server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @mcpdotdirect/starknet-mcp-server --client claude
Option 1: Use without installation (npx)
The easiest way to get started is to use npx to run the package directly:
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



