MS

mcpdotdirect/starknet-mcp-server

开发工具官方

本页由 AI 翻译,技术细节请以原文为准。 查看原文

7 stars 5 forks 质量 69 趋势 7MIT

为 LLM 提供与 Starknet 互动工具的 MCP 服务器

概览

Starknet区块链的综合模式背景协议(MCP)服务器. 该服务器为AI代理提供了与Starknet网络互动,查询块链数据,管理钱包,以及与智能合同互动的能力. Starknet MCP Server利用"模型背景协议"为AI代理提供块链服务. 它为Starknet生态系统提供了一个全面的接口,为AI助手提供了通过自然语言与Starknet块链数据和业务互动的能力.

概述(AI 翻译)

Starknet区块链的综合模式背景协议(MCP)服务器. 该服务器为AI代理提供了与Starknet网络互动,查询块链数据,管理钱包,以及与智能合同互动的能力.

□ * * * * *

  • 概览
  • 特征
  • 支持的网络
  • 先决条件
  • 安装
  • 服务器配置
  • 使用费
  • API 参考
  • 工具 - 工具 - Tools
  • 资源
  • 提示点
  • 使用人工智能助理
  • 安全考虑 项目结构
  • 发展公约
  • 文档
  • 执照

□ □ □ 概览

Starknet MCP Server利用"模型背景协议"为AI代理提供块链服务. 它为Starknet生态系统提供了一个全面的接口,为AI助手提供了通过自然语言与Starknet块链数据和业务互动的能力.

主要能力包括:

  • 读取区块链状态(余额、交易、区块)
  • 与开罗智能合同互动
  • 转移信使(ETH、STRK和其他ERC20信使)
  • 与NFT和象征性元数据合作
  • 解决StarknetID域(类似于ENS for Ethereum)

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

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

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
在 GitHub 查看完整 README

安装

npx @mcpdotdirect/starknet-mcp-server
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "starknet-mcp-server": { "command": "npx", "args": [ "@mcpdotdirect/starknet-mcp-server" ] }, "starknet-mcp-http": { "command": "npx", "args": [ "@mcpdotdirect/starknet-mcp-server", "http" ] } } }