Ask MCP Server

Starknet MCP Server - Model Context Protocol server for Starknet blockchain

Local serverstdio

What is the Ask MCP Server?

Starknet MCP Server - Model Context Protocol server for Starknet blockchain

What the server does

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.

Credentials and setup notes

  • Node.js 16+ and pnpm - Starknet wallet credentials - AI application that supports MCP (like Claude Desktop, etc.)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Ask MCP 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.

Configuration

  • Node.js 16+ and pnpm - Starknet wallet credentials - AI application that supports MCP (like Claude Desktop, etc.)
VariableDescriptionRequired
STARKNET_ACCOUNT_ADDRESSConfiguration value read at startup.Optional
STARKNET_PRIVATE_KEYCredential the server authenticates with.Yes
STARKNET_RPC_URLEndpoint or connection string the server talks to.Yes
ANTHROPIC_API_KEYCredential the server authenticates with.Yes
GEMINI_API_KEYCredential the server authenticates with.Yes
OPENAI_API_KEYCredential the server authenticates with.Yes
MODEL_NAMEConfiguration value read at startup.Optional

Example prompts to try

  • “Use Ask to Scarb.”
  • “Use Ask to Contract.”
  • “Use Ask to Prerequisites.”

Frequently asked questions

Starknet MCP Server - Model Context Protocol server for Starknet blockchain Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.