Supabase
MCP server for interacting with the Supabase platform
作者提供的说明(英文原文)
Query Mina Protocol: accounts, blocks, transactions, zkApp events/actions, archive SQL, Rosetta.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 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/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"mina": {
"command": "npx",
"args": [
"-y",
"@o1-labs/mina-mcp-server",
"--mode",
"live",
"--network",
"devnet"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .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 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 MinaProtocol 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 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
MCP server for interacting with the Supabase platform
MongoDB Model Context Protocol Server
MCP server for interacting with Elasticsearch
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
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).
query_archive_sql, get_archive_schema) against a frozen archive Postgres dump.| You want to… | Mode | Infra 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.
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:
| Client | Config | Notes |
|---|---|---|
| Claude Desktop | claude_desktop_config.json (Settings → Developer) | command/args shape above |
| Claude Code | .mcp.json in the project, or claude mcp add | same shape |
| Cursor | ~/.cursor/mcp.json (or Settings → MCP) | same shape |
| Cline / Roo | the extension's MCP settings JSON | same shape |
| Windsurf | ~/.codeium/windsurf/mcp_config.json | same shape |
| Continue | ~/.continue/config.json under mcpServers | same shape |
| Zed | settings.json under context_servers | Zed 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.
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.)
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)
| Flag | Env var | Values (default) |
|---|---|---|
--mode | MINA_MCP_MODE | live / tutorial / snapshot (snapshot) |
--network | MINA_MCP_NETWORK | devnet / mainnet / mesa / mesa-mut (live only) |
--transport | MINA_MCP_TRANSPORT | stdio / http (stdio) |
--wallets | MINA_MCP_WALLETS | path to wallets.json (live-write) |
--allow-mainnet-writes | MINA_MCP_ALLOW_MAINNET_WRITES=1 | opt-in gate for mainnet sends |
| _(http only)_ | MINA_MCP_HTTP_PORT | port for --transport http (3000) |
--help, --version | — | print help / version and exit |
| Symptom | Fix |
|---|---|
npx fails / "Unsupported engine" | Needs Node ≥ 20.18. Check node --version. |
Tools return "not reachable" in tutorial/snapshot | The 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 source | Re-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 unstable | mesa is a preflight network — it can reset/rename without notice. Treat its data as ephemeral. |
Only needed for `tutorial` and `snapshot` modes. `live` mode needs none of this.
Common:
Snapshot mode additionally requires:
| Component | Purpose | Default endpoint |
|---|---|---|
| PostgreSQL with Mina archive schema + data | Source of all read queries | localhost: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:
| Component | Purpose | Default endpoint |
|---|---|---|
| Mina Daemon GraphQL | Live chain queries, sending payments | http://localhost:3085/graphql |
| Archive-Node-API | zkApp events/actions, archive blocks | http://localhost:8282 |
| Accounts Manager | Test account faucet | http://localhost:8181 |
| PostgreSQL (archive DB) | Read queries | localhost: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 thedocker-compose.*.ymlfiles out of it, to start the infra.
# Install dependencies
npm install
npm run build
SNAPSHOT_DIR=./snapshots/devnet-latest docker compose -f docker-compose.snapshot.yml up -d
docker compose -f docker-compose.snapshot.yml --profile download up -d
docker compose -f docker-compose.tutorial.yml up -d
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 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
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:
| Network | Stability | What it means |
|---|---|---|
devnet | stable | Long-lived dev network. Expected to stick around. |
mainnet | stable | Production. Expected to stick around. |
mesa | preflight | Preview/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-mut | preflight | Mesa 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.
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:
| Tool | Rosetta endpoint | Use |
|---|---|---|
rosetta_status | POST /network/status | Current / genesis / oldest block, sync state |
rosetta_account | POST /account/balance | Balance for an address, optionally at a specific block |
rosetta_block | POST /block | Full block (with operations) by index or hash |
| rosetta_mempool | POST /mempool | Pending tran
只显示了开头部分;其余内容请在仓库中阅读