跳到正文
DEV Community· MyZucoins·· 13 天前AI 評分41

如何將 AI 編碼助手連接至 Splitchain 文件的開放 MCP 伺服器

Connect your AI coding assistant to Splitchain docs with an open MCP server

AI 導讀

MyZucoins 團隊把 Splitchain 的指南及開發者文件接入開放 MCP 伺服器,讓 AI 編碼助手讀取相關資訊。伺服器可連接 Claude 或 Cursor,也可直接呼叫;使用毋須帳戶、訂閲或 API key。伺服器只提供唯讀內容,不能存取錢包、簽署或發送轉帳、讀取帳戶或提供即時價格。

正文

MyZucoins

Coding assistants are good at well-known networks and tend to guess about smaller ones. To give them something accurate to read about Zucoin's Splitchain layer 1 network, we put the MyZucoins guides and developer docs behind an open Model Context Protocol (MCP) server.

MyZucoins provides tools, services and developer resources for Splitchain. This post shows how to connect the MCP server to Claude or Cursor, and how to call it directly. It needs no account, subscription or API key.

Disclosure: this is written by the team behind MyZucoins.

What the server does

The endpoint is https://myzucoins.org/mcp (Streamable HTTP, no authentication). It is read-only content: it cannot access wallets, sign or send transfers, read accounts or give live prices.

Tool What it does
search_articles Search published help, developer tutorials, news and deep dives
get_article Read a full article by its slug, as plain text
list_topics List topics with article counts
list_pages Find public Zucoin, Splitchain, wallet, safety and network statistics pages

Connect it to an assistant

In Claude Code:

claude mcp add --transport http myzucoins https://myzucoins.org/mcp

In Cursor, add it to mcp.json:

{
  "mcpServers": {
    "myzucoins": { "url": "https://myzucoins.org/mcp" }
  }
}

Then ask something like: "Using MyZucoins, how do I reinstall the Zucoin wallet app without losing my wallet?"

Call it directly

MCP over HTTP is JSON-RPC, so you can try it with curl:

curl -s -X POST https://myzucoins.org/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call",
       "params":{"name":"search_articles",
                 "arguments":{"query":"wallet backup","limit":2}}}'

Trimmed, one result looks like this:

{
  "slug": "how-do-i-reinstall-the-zucoin-wallet-app",
  "kind": "help",
  "title": "How do I reinstall the Zucoin wallet app?",
  "excerpt": "Back up your current wallet, reinstall the Zucoin wallet app from a preferred source, and restore the wallet from your valid backup file.",
  "topics": [{ "id": "troubleshoot", "name": "Troubleshoot" }],
  "url": "https://myzucoins.org/how-do-i-reinstall-the-zucoin-wallet-app/"
}

Pass the slug to get_article to read the full guide, with its source link and date.

A few tips for agents

  • Call list_topics to narrow a search, for example to Developer Docs.
  • Use limit and next_offset to page through results.
  • Cite the article url in answers, so people can read the original.
  • Never ask a user for a wallet backup or private key. The guides themselves warn against sharing them.

Full documentation is at myzucoins.org/mcp-api-docs. If you build something with it, we'd like to hear what's missing.

來源:DEV Community · dev.to