Back to catalog
Starknet MCP Server
A comprehensive MCP server for the Starknet blockchain that provides AI agents with the ability to interact with Starknet networks, query blockchain data, manage wallets, and interact with smart contracts.
A comprehensive MCP server for the Starknet blockchain that provides AI agents with the ability to interact with Starknet networks, query blockchain data, manage wallets, and interact with smart contracts.
Installation
Smithery
npx -y @smithery/cli install @mcpdotdirect/starknet-mcp-server --client claude
NPX (Direct)
npx @mcpdotdirect/starknet-mcp-server
Global NPM
npm install -g @mcpdotdirect/starknet-mcp-server
Local Project
npm install @mcpdotdirect/starknet-mcp-server
From Source
git clone https://github.com/mcpdotdirect/starknet-mcp-server.git
cd starknet-mcp-server
npm install
npm start
Configuration
Cursor MCP.json
{
"mcpServers": {
"starknet-mcp-server": {
"command": "npx",
"args": [
"@mcpdotdirect/starknet-mcp-server"
]
},
"starknet-mcp-http": {
"command": "npx",
"args": [
"@mcpdotdirect/starknet-mcp-server",
"http"
]
}
}
}
HTTP Mode with SSE
{
"mcpServers": {
"starknet-mcp-sse": {
"url": "http://localhost:3000/sse"
}
}
}
Available Tools
| Tool | Description |
|---|---|
get_starknet_chain_info |
Get information about the Starknet network |
get_supported_starknet_networks |
Get a list of supported Starknet networks |
get_starknet_eth_balance |
Get ETH balance for a Starknet address or Starknet ID |
get_starknet_token_balance |
Get balance of any token for an address |
get_starknet_strk_balance |
Get STRK token balance for an address |
get_starknet_native_balances |
Get all native token balances (ETH and STRK) for an address |
resolve_starknet_name |
Get Starknet ID for an address |
resolve_starknet_address |
Get address for a Starknet ID |
get_starknet_profile |
Get full Starknet ID profile for an address |
validate_starknet_domain |
Check if a string is a valid Starknet ID |
get_starknet_block |
Get information about a specific block |
get_starknet_block_transactions |
Get transactions in a specific block |
get_starknet_transaction |
Get details about a transaction |
get_starknet_transaction_receipt |
Get transaction receipt |
check_starknet_transaction_status |
Check if a transaction is confirmed |
Features
- Full integration with Starknet blockchain using Starknet.js
- Support for Mainnet and Sepolia testnet
- StarknetID integration for resolving human-readable identifiers
- Support for native ETH and STRK tokens
- Smart contract interaction (read and write operations)
- Two transport modes (stdio server and HTTP server)
- AI-ready design, suitable for Claude, GPT, and other assistants
- NFT operations and metadata viewing
- Token transfer capabilities with human-readable amounts
- Transaction monitoring and status verification
Usage Examples
Check ETH balance for vitalik.stark
Get information about the latest block on Starknet
Find the owner of NFT #123 in collection 0x...
Transfer 1 ETH from my account to another address
Resolve address for Starknet ID
Notes
Each tool that accepts Starknet addresses also supports StarknetID, automatically resolving human-readable identifiers to addresses. The server runs on port 3000 by default in HTTP mode and supports both stdio and HTTP transport modes for various integration needs.
