Price Per TokenPrice Per Token
Starknet MCP Server

Starknet MCP Server

by mcpdotdirect

GitHub 5 1,370 uses
0

About

Starknet MCP Server is a blockchain integration service that connects AI agents to the Starknet ecosystem, enabling natural language interaction with Starknet networks, smart contracts, and on-chain data. Key capabilities of Starknet MCP Server: - Query blockchain state including balances, transactions, blocks, and contract storage - Interact with Cairo smart contracts through read and write operations - Transfer native tokens (ETH and STRK) as well as ERC20 tokens - Work with NFTs and retrieve token metadata - Resolve StarknetID domain names to addresses (similar to ENS) - Manage wallets and execute transactions on Mainnet and Sepolia testnet - Automatic StarknetID resolution for all address inputs

README

Starknet MCP Server

[](https://smithery.ai/server/@mcpdotdirect/starknet-mcp-server)

A comprehensive Model Context Protocol (MCP) server for the Starknet blockchain. This server provides AI agents with the ability to interact with Starknet networks, query blockchain data, manage wallets, and interact with smart contracts.

📋 Contents

  • Overview
  • Features
  • Supported Networks
  • Prerequisites
  • Installation
  • Server Configuration
  • Usage
  • API Reference
  • - Tools - Resources - Prompts
  • Usage with AI Assistants
  • Security Considerations
  • Project Structure
  • Development Conventions
  • Documentation
  • License
  • 🔭 Overview

    The Starknet MCP Server leverages the Model Context Protocol to provide blockchain services to AI agents. It offers a comprehensive interface to the Starknet ecosystem, powering AI assistants with the ability to interact with Starknet blockchain data and operations through natural language.

    Key capabilities include:

  • Reading blockchain state (balances, transactions, blocks)
  • Interacting with Cairo smart contracts
  • Transferring tokens (ETH, STRK, and other ERC20 tokens)
  • Working with NFTs and token metadata
  • Resolving StarknetID domains (similar to ENS for Ethereum)
  • Making both read and write operations with proper transaction handling
  • All services are exposed through a consistent interface of MCP tools and resources, making it easy for AI agents to discover and use Starknet blockchain functionality. Every tool that accepts Starknet addresses also supports StarknetID, automatically resolving human-readable identities to addresses behind the scenes.

    ✨ Features

  • Starknet Integration: Full Starknet blockchain integration using Starknet.js
  • Network Support: Supports both Mainnet and Sepolia testnet
  • StarknetID Integration: Resolution of Starknet IDs to addresses and vice versa
  • Native Token Support: Support for both ETH and STRK native tokens
  • Smart Contract Interaction: Call and query Starknet smart contracts
  • Dual Transport: Run as stdio server or HTTP server for different integration needs
  • AI-Ready: Designed to be used with Claude, GPT, and other AI assistants
  • Blockchain Information

  • Query chain information (chain ID, latest block)
  • Explore block details and transactions
  • View transaction receipts and status
  • Get address information and contract data
  • Native Token Operations

  • Get ETH and STRK balances for any address
  • Transfer ETH and STRK between accounts
  • View combined native token balances
  • Token Operations

  • Get ERC20 token balances and information
  • Transfer ERC20 tokens
  • View token supply and metadata
  • Check token ownership
  • NFT Operations

  • Check NFT ownership by token ID
  • Get NFT collection information
  • View NFT balances for addresses
  • Smart Contract Interaction

  • Call read-only contract functions
  • Execute contract writes with transaction confirmation
  • Get contract storage information
  • View ABIs and contract class information
  • StarknetID

  • Resolve Starknet addresses to Starknet IDs
  • Resolve Starknet IDs to addresses
  • Get complete Starknet ID profiles with verification data
  • Validate Starknet domains
  • 🔧 Networks Supported

    The server supports the following Starknet networks:

  • Mainnet: The primary Starknet production network
  • Sepolia: Starknet's testnet on Ethereum's Sepolia
  • 🛠️ Prerequisites

  • Bun 1.0.0 or higher (recommended)
  • Node.js 18.0.0 or higher
  • 📦 Installation

    Installing via Smithery

    To install starknet-mcp-server for Claude Desktop automatically via Smithery:

    npx -y @smithery/cli install @mcpdotdirect/starknet-mcp-server --client claude
    

    Option 1: Use without installation (npx)

    The easiest way to get started is to use npx to run the package directly:

    # Run the stdio server without installation
    npx @mcpdotdirect/starknet-mcp-server

    Run the HTTP server without installation

    npx @mcpdotdirect/starknet-mcp-server http

    This

    Related MCP Servers

    AI Research Assistant

    AI Research Assistant

    hamid-vakilzadeh

    AI Research Assistant provides comprehensive access to millions of academic papers through the Semantic Scholar and arXiv databases. This MCP server enables AI coding assistants to perform intelligent literature searches, citation network analysis, and paper content extraction without requiring an API key. Key features include: - Advanced paper search with multi-filter support by year ranges, citation thresholds, field of study, and publication type - Title matching with confidence scoring for finding specific papers - Batch operations supporting up to 500 papers per request - Citation analysis and network exploration for understanding research relationships - Full-text PDF extraction from arXiv and Wiley open-access content (Wiley TDM token required for institutional access) - Rate limits of 100 requests per 5 minutes with options to request higher limits through Semantic Scholar

    Web & Search
    12 8
    Linkup

    Linkup

    LinkupPlatform

    Linkup is a real-time web search and content extraction service that enables AI assistants to search the web and retrieve information from trusted sources. It provides source-backed answers with citations, making it ideal for fact-checking, news gathering, and research tasks. Key features of Linkup: - Real-time web search using natural language queries to find current information, news, and data - Page fetching to extract and read content from any webpage URL - Search depth modes: Standard for direct-answer queries and Deep for complex research across multiple sources - Source-backed results with citations and context from relevant, trustworthy websites - JavaScript rendering support for accessing dynamic content on JavaScript-heavy pages

    Web & Search
    2 24
    Math-MCP

    Math-MCP

    EthanHenrickson

    Math-MCP is a computation server that enables Large Language Models (LLMs) to perform accurate numerical calculations through the Model Context Protocol. It provides precise mathematical operations via a simple API to overcome LLM limitations in arithmetic and statistical reasoning. Key features of Math-MCP: - Basic arithmetic operations: addition, subtraction, multiplication, division, modulo, and bulk summation - Statistical analysis functions: mean, median, mode, minimum, and maximum calculations - Rounding utilities: floor, ceiling, and nearest integer rounding - Trigonometric functions: sine, cosine, tangent, and their inverses with degrees and radians conversion support

    Developer Tools
    22 81