Model Context Protocol (MCP) server that exposes Starknet blockchain tools, resources and prompts so AI agents (Claude, GPT, Cursor, etc.) can read on-chain data, interact with contracts, transfer tokens and resolve StarknetID domains.
https://github.com/mcpdotdirect/starknet-mcp-serverStop wrestling with complex blockchain APIs when building AI applications. The Starknet MCP server transforms your AI assistant into a Starknet powerhouse—giving you natural language access to the entire Starknet ecosystem in minutes, not days.
Building AI applications that interact with Starknet used to mean:
Now you just ask your AI assistant: "Check the ETH balance for vitalik.stark" or "Deploy this contract to Starknet mainnet" and it happens. No boilerplate, no hex math, no API documentation diving.
Complete Starknet Integration: 25+ tools covering everything from basic balance queries to complex smart contract interactions. Your AI assistant becomes a full-stack Starknet developer.
StarknetID Everywhere: Use human-readable names like vitalik.stark instead of hex addresses in every operation. The server handles resolution automatically—no more copy-pasting wallet addresses.
Human-Readable Everything: Specify token amounts in ETH, STRK, or token units. No more wei calculations or BigNumber gymnastics.
Multiple AI Platforms: Works seamlessly with Claude, GPT, Cursor, and any MCP-compatible AI assistant. One installation, universal compatibility.
Smart Contract Debugging: "Show me the latest transactions for contract 0x..." becomes a simple conversation with your AI assistant instead of navigating block explorers.
DeFi Analysis: "What's the STRK balance and recent activity for this address?" provides instant insights without building custom dashboards.
NFT Operations: "Check if alice.stark owns NFT #1234 in collection 0x..." gives you ownership data in seconds.
Transaction Monitoring: "Track this transaction hash and tell me when it's confirmed" replaces manual refresh loops.
# Start using immediately - no installation required
npx @mcpdotdirect/starknet-mcp-server
# Or install globally for frequent use
npm install -g @mcpdotdirect/starknet-mcp-server
For Cursor users, add this to your .cursor/mcp.json:
{
"mcpServers": {
"starknet": {
"command": "npx",
"args": ["@mcpdotdirect/starknet-mcp-server"]
}
}
}
That's it. Your AI assistant now has complete Starknet capabilities.
Blockchain Developers: Skip the API integration headaches. Focus on your application logic while your AI handles the blockchain complexity.
DeFi Researchers: Query multiple addresses, analyze token flows, and track contract interactions through natural language commands.
Smart Contract Auditors: Quickly explore contract state, check balances, and verify transaction histories without writing custom scripts.
Protocol Teams: Enable your AI assistants to interact with your Starknet protocols for testing, monitoring, and user support.
This isn't just another RPC wrapper. You get:
Check balances with human names:
"What's the ETH and STRK balance for vitalik.stark?"
Deploy contracts naturally:
"Deploy this compiled contract to Starknet mainnet with these constructor parameters"
Monitor transactions:
"Track transaction 0x7e3a33ab... and notify me when it's confirmed"
Analyze smart contracts:
"Show me the latest 10 transactions for this contract address"
Built with TypeScript, comprehensive error handling, and support for both Mainnet and Sepolia testnet. The server handles RPC connections, transaction signing, and network management automatically.
Security considerations are built-in: private keys are used only for signing, amounts are validated, and all operations include proper error handling.
The Starknet MCP server eliminates the complexity barrier between AI assistants and blockchain development. Install it once, and your AI assistant becomes a Starknet expert.
Ready to transform how you build with Starknet? Your AI assistant is waiting.
Install with: npx @mcpdotdirect/starknet-mcp-server