BittensorMCP

io.github.btmcp由 GitHub 账号 btmcp 发布v1.0.0更新于 Oct 24, 2026

Hosted MCP server for live Bittensor chain reads and self-custodial on-chain writes.

已验证Streamable HTTP可网页运行数据库金融

概览

AI 生成的概览

托管的 MCP 服务器,为助手提供 Bittensor 链上实时读取(余额、子网、元图、验证者)以及自托管的链上写入。

可以做什么
  • 读取链上数据:余额、账户、区块、子网列表与元图、验证者、动态信息及兑换模拟
  • 执行链上操作:质押与解除质押、转账 TAO、注册子网或根网络、设置权重
  • 通过两步流程在本地签名:服务器返回未签名载荷与 intent ID,本地签名后仅回传签名并由服务器广播
  • 查询高级版状态与开通条件
适用场景
当助手需要获取 Bittensor 网络的最新数据,或希望由助手准备并广播质押、转账、注册等交易,同时私钥保留在本地设备时使用。
运行要求
远程 Streamable HTTP 端点;声明使用 OAuth 认证,README 显示需通过其签名 SDK(npm 包)获取 bearer JWT 并配置 Authorization 请求头。读取据称免费且无需注册;高级写入功能需向金库地址发送 TAO 开通。
安装前请注意
写入工具会转移资金并改变链上状态(质押、转账、注册、设置权重),且不可撤销。开通高级功能需支付 TAO 至金库地址。服务器会接收并广播已签名交易;请自行保管私钥与 JWT,并在签名前核对载荷内容。

安装

在 SourceWeft 中

  1. 打开 控制台中的 BittensorMCP,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.btmcp%2Fbittensormcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "bittensormcp": {
      "type": "http",
      "url": "https://bittensormcp.com/api/mcp"
    }
  }
}

README

BittensorMCP

Live, self-custodial Bittensor chain access for AI agents via MCP.

[Endpoint] [SDK]

What is BittensorMCP?

BittensorMCP is a hosted Model Context Protocol (MCP) server that gives AI agents live access to the Bittensor blockchain. Connect any MCP client — Claude, Cursor, ChatGPT, VS Code, Windsurf, Zed, Codex — and query balances, subnets, metagraphs, validators, and Alpha prices in real time.

  • Free reads: 17 tools, no signup, no API key
  • Premium writes: 17 on-chain actions (stake, transfer, register, weights) via self-custodial signing
  • One endpoint: https://bittensormcp.com/api/mcp with Streamable HTTP transport

Why self-custodial?

Your private key never leaves your device.

BittensorMCP uses an A2 two-step signing protocol: the server returns an UNSIGNED_PAYLOAD plus intent_id, you sign it locally with your sr25519 key, and only the signature goes back. The server broadcasts the signed extrinsic — it never sees, stores, or handles your private key.

┌─────────────┐      unsigned payload       ┌─────────────┐│   Your Key  │  <───────────────────────   │  Bittensor  ││  (local)    │      sign locally           │    MCP      ││             │  ───────────────────────>   │   Server    │└─────────────┘      signature only         └──────┬──────┘                                                   │                                            broadcast to                                                   ▼                                            ┌─────────────┐                                            │  Bittensor  │                                            │   Finney    │                                            └─────────────┘

Quick start

1. Install the SDK

bash
npm install @bittensormcp/sign

2. Authenticate (self-custody)

javascript
import { generateWallet, authenticate } from '@bittensormcp/sign';
const wallet = await generateWallet();const { token } = await authenticate({  endpoint: 'https://bittensormcp.com',  ss58: wallet.ss58,  signer: wallet.sign});

3. Connect your MCP client

Claude Code:

bash
claude mcp add --transport http bittensormcp \  https://bittensormcp.com/api/mcp \  --header "Authorization: Bearer YOUR_JWT"

Claude Desktop / Cursor / VS Code:

json
{  "mcpServers": {    "bittensormcp": {      "url": "https://bittensormcp.com/api/mcp",      "headers": { "Authorization": "Bearer YOUR_JWT" }    }  }}

Clients without native Streamable HTTP:

json
{  "mcpServers": {    "bittensormcp": {      "command": "npx",      "args": [        "mcp-remote",        "https://bittensormcp.com/api/mcp",        "--header", "Authorization:${AUTH_HEADER}"      ],      "env": { "AUTH_HEADER": "Bearer YOUR_JWT" }    }  }}

For step-by-step connection instructions for every client, see the Connect Guide.

Tools at a glance

CategoryCountExamples
Free reads17bittensor_balance, bittensor_account, bittensor_subnet_list, bittensor_subnet_metagraph, bittensor_validators, bittensor_dynamic, bittensor_swap_sim, bittensor_block
Premium writes17bittensor_stake_add, bittensor_stake_remove, bittensor_transfer, bittensor_register, bittensor_weights_set, bittensor_subnet_register, bittensor_root_register

All write tools use the A2 self-custody signing flow. Premium activation requires sending TAO to the treasury address (check bittensor_premium_status for the current rate).

License

MIT

来源:README.md,提交 b95199b

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

1
  1. v1.0.0最新Sep 16, 2026

评分

已满足适用检查项的 75%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。