Starknet MCP Server - Model Context Protocol server for Starknet blockchain
Connect Ask to Claude, Cursor or any other MCP client and it stops being a tab you switch to. Starknet MCP Server - Model Context Protocol server for Starknet blockchain. The ask mcp server is what makes that connection.
A comprehensive collection of Model Context Protocol (MCP) servers for Starknet blockchain applications. This repository provides a unified Starknet MCP entrypoint that intelligently routes requests to specialized MCP servers, enabling AI applications to seamlessly interact with Starknet protocols, wallets, and DeFi applications.
Model Context Protocol (MCP) is an open standard that enables AI applications to securely connect to external data sources and tools. MCP servers act as connectors between AI models and external services, providing structured access to blockchain data and operations.
The toolset is worth reading before you wire it up, because it tells you what the integration is really for:
Scarb — Cairo development, compilation, and proving toolsContract — Smart contract declaration and deploymentPrerequisites — The Prerequisites tool exposed by this serverInstallation — The Installation tool exposed by this serverInstallation goes through your MCP client rather than a global install: point it at pnpm on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.
Configuration is passed through the environment: STARKNET_ACCOUNT_ADDRESS, STARKNET_PRIVATE_KEY, STARKNET_RPC_URL, ANTHROPIC_API_KEY, GEMINI_API_KEY, OPENAI_API_KEY, MODEL_NAME. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Ask's toolset — Scarb, Contract, Prerequisites and 1 more — is a fair guide to whether it matches your workflow. It is maintained by ijusttookadnatest; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Ask's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| Scarb | Cairo development, compilation, and proving tools |
| Contract | Smart contract declaration and deployment |
| Prerequisites | The Prerequisites tool exposed by this server. |
| Installation | The Installation tool exposed by this server. |
{
"mcpServers": {
"starknet-1": {
"command": "npx",
"args": ["-y", "pnpm"],
"env": {
"STARKNET_ACCOUNT_ADDRESS": "your-value",
"STARKNET_PRIVATE_KEY": "your-value",
"STARKNET_RPC_URL": "your-value",
"ANTHROPIC_API_KEY": "your-value",
"GEMINI_API_KEY": "your-value",
"OPENAI_API_KEY": "your-value",
"MODEL_NAME": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| STARKNET_ACCOUNT_ADDRESS | Configuration value read at startup. | Optional |
| STARKNET_PRIVATE_KEY | Credential the server authenticates with. | Yes |
| STARKNET_RPC_URL | Endpoint or connection string the server talks to. | Yes |
| ANTHROPIC_API_KEY | Credential the server authenticates with. | Yes |
| GEMINI_API_KEY | Credential the server authenticates with. | Yes |
| OPENAI_API_KEY | Credential the server authenticates with. | Yes |
| MODEL_NAME | Configuration value read at startup. | Optional |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.