π¦
Ask Starknet MCP Server
zed extension for starknet's official mcp server
0 installs
Trust: 34 β Low
Files
Ask AI about Ask Starknet MCP Server
Powered by Claude Β· Grounded in docs
I know everything about Ask Starknet MCP Server. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Loading tools...
Reviews
Documentation
Ask Starknet MCP Extension for Zed
A Zed extension that exposes the ask-starknet MCP server as a context server, enabling AI assistants to interact with the Starknet blockchain directly from Zed.
Features
- Query Starknet blockchain data (blocks, transactions, account balances)
- Deploy and interact with smart contracts
- Access to all ask-starknet MCP tools through Zed's AI assistant
- Configurable LLM providers (Anthropic Claude, OpenAI, Google Gemini)
Prerequisites
- Zed Editor
- Node.js β₯ 18
- The ask-starknet repository built locally
Installation
-
Build ask-starknet:
git clone https://github.com/KasarLabs/ask-starknet cd ask-starknet pnpm install pnpm -w build -
Install the extension in Zed:
- Clone this repository
- In Zed: Extensions β Ask Starknet MCP
- Select install
-
Configure settings in Zed (
Cmd/Ctrl + ,):{ "context_servers": { "ask-starknet-mcp": { "enabled": true, "settings": { "ask_starknet_path": "/absolute/path/to/ask-starknet", "anthropic_api_key": "sk-ant-...", "starknet_rpc_url": "https://starknet-mainnet.public.blastapi.io", "starknet_account_address": "0x...", "starknet_private_key": "0x..." } } } }
Configuration
Required Settings
ask_starknet_path: Absolute path to your ask-starknet repository- At least one LLM API key:
anthropic_api_key: For Claude models (recommended)gemini_api_key: For Google Gemini modelsopenai_api_key: For OpenAI models
Optional Settings
starknet_rpc_url: Starknet RPC endpointstarknet_account_address: Your Starknet account addressstarknet_private_key: Your account private key (for transactions)model_name: Specific model to use (defaults based on API key)
Usage
- Open the Agent Panel in Zed (
View β Agent Panel) - Enable the "Ask Starknet" context server for your assistant
- Ask Starknet-related questions:
- "What's the current block number?"
- "Check the balance of address 0x..."
- "Deploy a simple storage contract"
Troubleshooting
- "ask_starknet_path not found": Ensure the path is absolute and points to your built ask-starknet repo
- "index.js not found": Run
pnpm -w buildin the ask-starknet directory - "At least one LLM API key required": Set a valid API key in your settings
- Process not starting: Run
zed --foregroundto see detailed logs
Development
# Build the extension
cargo clean
cargo build --target wasm32-wasi --release
# Or use Zed's rebuild button in Extensions
License
MIT - See LICENSE file for details.
