BittensorMCP
Hosted MCP server for live Bittensor chain reads and self-custodial on-chain writes.
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
claude mcp add --transport http bittensormcp 'https://bittensormcp.com/api/mcp'
{
"mcpServers": {
"bittensormcp": {
"type": "http",
"url": "https://bittensormcp.com/api/mcp"
}
}
}
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
BittensorMCP
Live, self-custodial Bittensor chain access for AI agents via MCP.
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/mcpwith 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
npm install @bittensormcp/sign
2. Authenticate (self-custody)
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:
claude mcp add --transport http bittensormcp \
https://bittensormcp.com/api/mcp \
--header "Authorization: Bearer YOUR_JWT"
Claude Desktop / Cursor / VS Code:
{
"mcpServers": {
"bittensormcp": {
"url": "https://bittensormcp.com/api/mcp",
"headers": { "Authorization": "Bearer YOUR_JWT" }
}
}
}
Clients without native Streamable HTTP:
{
"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
| Category | Count | Examples |
|---|---|---|
| Free reads | 17 | bittensor_balance, bittensor_account, bittensor_subnet_list, bittensor_subnet_metagraph, bittensor_validators, bittensor_dynamic, bittensor_swap_sim, bittensor_block |
| Premium writes | 17 | bittensor_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
الأسئلة الشائعة
ما هو BittensorMCP؟
Hosted MCP server for live Bittensor chain reads and self-custodial on-chain writes.
كيف أثبّت BittensorMCP؟
يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http bittensormcp 'https://bittensormcp.com/api/mcp'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج BittensorMCP إلى مفتاح API؟
لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.
هل BittensorMCP مفتوح المصدر؟
شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.
من يصون BittensorMCP؟
ينشره btmcp. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.