原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Mina MCP Server

作者:MinaProtocol版本 0.7.3i★ –i在你的电脑上运行
注册名称io.github.MinaProtocol/mina-mcp-server

安装

概览

作者提供的说明(英文原文)

Query Mina Protocol: accounts, blocks, transactions, zkApp events/actions, archive SQL, Rosetta.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 数据库与数据集

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "mina": {
      "command": "npx",
      "args": [
        "-y",
        "@o1-labs/mina-mcp-server",
        "--mode",
        "live",
        "--network",
        "devnet"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add mina -- npx -y @o1-labs/mina-mcp-server --mode live --network devnet

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "mina": {
      "command": "npx",
      "args": [
        "-y",
        "@o1-labs/mina-mcp-server",
        "--mode",
        "live",
        "--network",
        "devnet"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "mina": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@o1-labs/mina-mcp-server",
        "--mode",
        "live",
        "--network",
        "devnet"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 MinaProtocol 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“数据库与数据集”中的其他服务器比较i

  • 星标数多于此分类中其他 957 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 957 个服务器的 14% 更新
  • 基础检查结果等于或优于此分类中其他 957 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Mina MCP Server 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.7.3)于5个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Supabase, MongoDB MCP Server, Elasticsearch MCP Server

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Supabase

作者:supabase

MCP server for interacting with the Supabase platform

电脑或云端★ 2,993Apache-2.0昨天更新
安装

MongoDB MCP Server

作者:mongodb-js

MongoDB Model Context Protocol Server

在你的电脑上运行★ 1,157Apache-2.03天前更新
安装

MCP server for interacting with Elasticsearch

在你的电脑上运行★ 315Apache-2.014个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

mina-mcp-server

MCP (Model Context Protocol) server for the Mina Protocol blockchain. Exposes Mina blockchain data and operations through MCP-compatible tools that can be used by AI assistants and other MCP clients.

New here? Jump to Which mode do I want? → Connect your MCP client → Verify it works. For copy-paste prompts, see the prompt cookbook.

Status: beta / preview. Live mode talks to public Mina networks (devnet / mainnet / mesa) and needs no local infrastructure — run npx @o1-labs/mina-mcp-server --mode live --network devnet, or point your client at the hosted sandbox. Snapshot and tutorial modes are thin MCP layers over backing services (PostgreSQL, and for tutorial a local Mina lightnet) that you must stand up yourself first — see Prerequisites. A bundled SQLite snapshot for zero-infra *snapshot* mode is planned (#28).

Features

  • 40+ MCP tools for querying accounts, blocks, transactions, zkApp events/actions, network/sync status, Rosetta, and archive SQL.
  • Three operating modes:
  • Live — read-only proxy to a public Mina network (devnet/mainnet/mesa). No local infra — the zero-setup default.
  • Tutorial — full read/write against a local Mina lightnet (daemon, archive, test-account faucet).
  • Snapshot — schema-only SQL access (query_archive_sql, get_archive_schema) against a frozen archive Postgres dump.
  • Standardized Rosetta Data API tools (live mode) alongside the native GraphQL ones.
  • Safe SQL access — read-only queries against the archive DB with timeout protection.
  • Test-account faucet — acquire/release pre-funded accounts (tutorial mode).
  • [Prompt cookbook](docs/examples.md) — copy-paste prompts that drive end-to-end tool sequences.

Which mode do I want?

You want to…ModeInfra needed
Query a public network (balances, blocks, zkApp events, Rosetta)`live`None — just npx. Start here.
Send transactions on a public network with your own keys`live` + `--wallets`None (keys signed in-process)
Develop against a controllable chain (faucet, reset, write)`tutorial`Local Mina lightnet (Prerequisites)
Run analytics SQL over a historical archive dump`snapshot`A Postgres archive dump (Prerequisites)

Most people want `live` — it needs nothing installed beyond Node.

Connect your MCP client

Local (recommended), via `npx` — no clone, no infra:

{

"mcpServers": { "mina": { "command": "npx", "args": ["-y", "@o1-labs/mina-mcp-server", "--mode", "live", "--network", "devnet"] } } }

Swap devnet for mainnet or mesa. For other modes, change --mode (and drop --network); see Configuration.

Hosted sandbox (zero install) — point your client at the URL:

{ "mcpServers": { "mina": { "url": "https://mina-mcp-sandbox.fly.dev/mcp" } } }

The hosted sandbox runs tutorial mode against a shared lightnet (best-effort, no SLA). Use local live mode for real networks.

Where the config lives, per client:

ClientConfigNotes
Claude Desktopclaude_desktop_config.json (Settings → Developer)command/args shape above
Claude Code.mcp.json in the project, or claude mcp addsame shape
Cursor~/.cursor/mcp.json (or Settings → MCP)same shape
Cline / Roothe extension's MCP settings JSONsame shape
Windsurf~/.codeium/windsurf/mcp_config.jsonsame shape
Continue~/.continue/config.json under mcpServerssame shape
Zedsettings.json under context_serversZed uses "command": { "path": "npx", "args": [...] }

All clients except Zed take the same { command, args } object; only the file location differs. Hosted-URL configs work in any client that supports a remote/streamable-HTTP MCP server.

Verify it works

After wiring it up, ask your assistant:

"Describe the current Mina network state."

It should call describe_state and return a snapshot with syncStatus (e.g. SYNCED), the network name, and mempool size. That's your green light. (On mesa, expect a PREFLIGHT caveat in the hints.)

Configuration

All flags have environment-variable equivalents; run npx @o1-labs/mina-mcp-server --help for the full surface.

$ mina-mcp-server --help

USAGE mina-mcp-server [--mode ] [options]

MODES live Read-only proxy to a public network. No local infra. (use --network) tutorial Read+write against a local Mina lightnet (daemon + archive + faucet). snapshot Schema-only SQL access against a frozen archive Postgres dump. (default)

FlagEnv varValues (default)
--modeMINA_MCP_MODElive / tutorial / snapshot (snapshot)
--networkMINA_MCP_NETWORKdevnet / mainnet / mesa / mesa-mut (live only)
--transportMINA_MCP_TRANSPORTstdio / http (stdio)
--walletsMINA_MCP_WALLETSpath to wallets.json (live-write)
--allow-mainnet-writesMINA_MCP_ALLOW_MAINNET_WRITES=1opt-in gate for mainnet sends
_(http only)_MINA_MCP_HTTP_PORTport for --transport http (3000)
--help, --version—print help / version and exit

Troubleshooting

SymptomFix
npx fails / "Unsupported engine"Needs Node ≥ 20.18. Check node --version.
Tools return "not reachable" in tutorial/snapshotThe server does not start infra — bring up the lightnet/Postgres first (Prerequisites).
Port already in use (tutorial lightnet)Another lightnet/daemon is bound to 3085/8282/5432; stop it or remap ports.
Changes not taking effect after editing sourceRe-run npm run build (the client runs dist/, not src/).
Hosted server: "Missing/!Unknown session id"Your client must echo the Mcp-Session-Id header from initialize on every request — use a client that supports streamable-HTTP MCP.
mesa data looks unstablemesa is a preflight network — it can reset/rename without notice. Treat its data as ephemeral.

Prerequisites

Only needed for `tutorial` and `snapshot` modes. `live` mode needs none of this.

Common:

  • Node.js >= 20.18
  • Docker & Docker Compose (to run the backing services below)

Snapshot mode additionally requires:

ComponentPurposeDefault endpoint
PostgreSQL with Mina archive schema + dataSource of all read querieslocalhost:5432

You can bring this up with docker-compose.snapshot.yml (ships in the repo). A snapshot dump under ./snapshots/devnet-latest — or downloaded via the compose download profile — is required.

Tutorial mode additionally requires a full local lightnet:

ComponentPurposeDefault endpoint
Mina Daemon GraphQLLive chain queries, sending paymentshttp://localhost:3085/graphql
Archive-Node-APIzkApp events/actions, archive blockshttp://localhost:8282
Accounts ManagerTest account faucethttp://localhost:8181
PostgreSQL (archive DB)Read querieslocalhost:5432

All four are brought up by docker-compose.tutorial.yml. Expect ~1–2 minutes for the network to sync before tools respond correctly.

Note: if you install from npm (npx @o1-labs/mina-mcp-server), the docker-compose files are *not* included in the tarball — you will need to clone this repo, or copy the docker-compose.*.yml files out of it, to start the infra.

Quick Start

# Install dependencies

npm install

Build

npm run build

Start infrastructure (pick one):

Option A: Snapshot mode (read-only, from local dump)

SNAPSHOT_DIR=./snapshots/devnet-latest docker compose -f docker-compose.snapshot.yml up -d

Option B: Snapshot mode (download latest dump from GCS — devnet by default)

docker compose -f docker-compose.snapshot.yml --profile download up -d

See "Snapshot mode against other public networks" below for mainnet/mesa.

Option C: Tutorial mode (full lightnet)

docker compose -f docker-compose.tutorial.yml up -d

Wait ~1-2 min for the network to sync

Option D: Live mode (read-only, talks to a public Mina network — no local infra)

Picks a network with --network (devnet, mainnet, mesa). Nothing else to start.

Run the MCP server

MINA_MCP_MODE=snapshot npm start # or MINA_MCP_MODE=tutorial npm start # or npm start -- --mode live --network devnet # no Postgres / lightnet needed

Live mode against a public Mina network

Live mode is a thin read-only proxy that turns MCP tool calls into GraphQL/HTTP requests against the o1Labs-hosted public endpoints. There is nothing to host — run it locally next to your MCP client:

npm start -- --mode live --network devnet     # or mainnet, mesa

equivalently:

MINA_MCP_MODE=live MINA_MCP_NETWORK=devnet npm start

Endpoints are best-effort services without SLAs and URLs are subject to change. Networks are classified by stability tier:

NetworkStabilityWhat it means
devnetstableLong-lived dev network. Expected to stick around.
mainnetstableProduction. Expected to stick around.
mesapreflightPreview/staging network. May be reset, renamed, or retired without notice. Endpoints, archive-dump filenames, and even the network identity itself are not guaranteed stable.
mesa-mutpreflightMesa Upgrade Test — a fork of mainnet state for rehearsing the Mesa hardfork. Tied to the upgrade rehearsal; will be reset/retired without notice. Genesis is a mainnet-state fork, but the daemon reports networkID mina:testnet (testnet signature schema). No Rosetta endpoint, no faucet, and no published archive dump (snapshot mode unavailable).

When a LiveProvider is constructed against a preflight network, the server emits a [WARN] Network ' ' is a PREFLIGHT network… line at startup and prepends a PREFLIGHT hint to describe_state's hints[] — so any LLM consuming the output sees the caveat before reasoning about the data. If you build downstream automation against a preflight network, treat any data you gather as ephemeral and have a fallback to a stable network.

Rosetta Data API (live mode)

When a live-mode network has a Rosetta endpoint configured (devnet, mainnet, and mesa do today; mesa-mut does not), the server registers five Rosetta Data API tools alongside the daemon/archive ones. On a network without a Rosetta endpoint the rosetta_* tools are not registered at all, so the advertised tool list reflects what the network can actually do. These return responses in standardized Rosetta format — useful for LLMs and integrations that already speak Rosetta:

ToolRosetta endpointUse
rosetta_statusPOST /network/statusCurrent / genesis / oldest block, sync state
rosetta_accountPOST /account/balanceBalance for an address, optionally at a specific block
rosetta_blockPOST /blockFull block (with operations) by index or hash

| rosetta_mempool | POST /mempool | Pending tran

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx