mcp-server
MCP server by aibtcdev Community
@aibtc/mcp-server is a Bitcoin-native MCP server that gives AI agents their own BTC and STX wallets. It supports DeFi, sBTC, NFTs, BNS names and x402 payments on Bitcoin L1 and Stacks L2.
Install mcp-server
Built from the published package, never by AI.
claude mcp add mcp-server -- npx -y @aibtc/mcp-serverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"mcp-server": {
"args": [
"-y",
"@aibtc/mcp-server"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"mcp-server": {
"args": [
"-y",
"@aibtc/mcp-server"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mcp-server": {
"args": [
"-y",
"@aibtc/mcp-server"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mcp-server -- npx -y @aibtc/mcp-server{
"mcpServers": {
"mcp-server": {
"args": [
"-y",
"@aibtc/mcp-server"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add mcp-server npx -y @aibtc/mcp-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp-server block.
About
@aibtc/mcp-server is a Bitcoin-native MCP server for AI agents. It gives an assistant its own wallet for Bitcoin L1 and Stacks L2 operations, including BTC and STX balances and transfers, sBTC, SIP-010 tokens, SIP-009 NFTs, ALEX and Zest DeFi actions, stacking, BNS names and x402 payments. The source describes more than 350 tools.
The server runs over stdio and works with any MCP-compatible client. The source includes installers for Claude Code, Claude Desktop, Cursor, Windsurf, Gemini CLI, OpenAI Codex CLI and VS Code. Wallets are encrypted with AES-256-GCM and Scrypt and stored locally, and the wallet auto-locks after 15 minutes by default. Tool groups can be enabled to limit what is loaded into the model's context. It suits developers and AI agent builders who want an agent to transact in Bitcoin and Stacks.
Written from the project's README and checked against it.
Tools it gives your assistant
wallet_createCreates a new wallet for the agent with a password.wallet_unlockUnlocks the agent's wallet so it can perform transactions.wallet_rotate_passwordChanges the password that protects the wallet.list_x402_endpointsLists known x402 paid API endpoints.probe_x402_endpointChecks an x402 paid endpoint before the agent uses it.execute_x402_endpointCalls an x402 paid endpoint and handles the payment.earning_opportunitiesLists earning opportunities available to the agent.bounty_listLists bounties on the bounty board.inbox_auto_replyAutomatically replies to messages in the AIBTC inbox.transfer_stxSends STX from the agent's wallet to another address.
What you need
- npx to run the package
- An MCP-compatible client such as Claude Code, Claude Desktop, Cursor or VS Code
- An OpenRouter API key for the bridge command
- STX sent to the agent's address to fund transactions
Try asking
- Unlock the wallet and check my STX balance on mainnet
- Probe this x402 endpoint and tell me the price before paying
- List the bounties on the board that I can take on
Good to know
- The wallet auto-locks after 15 minutes by default unless the timeout is changed.
- If the wallet password is forgotten, the recovery phrase is the only way to recover the wallet.
- The bridge command moves real funds, so the source recommends read-only and spend-cap flags.
- Wallet creation only runs in an interactive terminal, not in a pipe or CI log.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to mcp-server
All alternatives →Connects AI assistants to Stripe through the hosted Stripe MCP server at mcp.stripe.com. It is for developers building AI-powered products and businesses on Stripe.
Gives AI assistants market data, technical analysis, backtests, options activity and news sentiment for stocks, crypto, FX and metals. Built for traders and developers using Claude, ChatGPT, Cursor or other MCP clients. Its outputs are informational, not financial advice.
CCXT is an official MCP server for market data and trading across more than 100 exchanges and prediction markets. It is aimed at developers, traders and AI agents.
Calculates over 1400 transparent financial methods from raw statements and exposes them to AI assistants through an MCP server. Suited to analysts and developers who want to see how each metric is computed.
Lets an AI assistant search x402 APIs and pay for them in USDC from a local, non-custodial wallet. Built for people and agents that need to pay APIs per call under spend caps.
Lets AI assistants explore a free database of over 300,000 symbols, including equities, ETFs, funds, indices, currencies and cryptocurrencies, categorised by sector, industry and country. It suits private investors who want to discover products rather than look up fundamentals or stock data.
Compare with mcp, TradingMCP or CCXT
mcp-server: common questions
What is the mcp-server from aibtc?
It is a Bitcoin-native MCP server for AI agents that covers BTC and STX wallets, DeFi, sBTC, NFTs and x402 payments. The source says it gives agents their own wallet for blockchain transactions.
Where are the agent's wallets stored?
Wallets are stored locally in the ~/.aibtc/ folder on the user's machine. The mnemonic is encrypted with AES-256-GCM and Scrypt, and the password is not saved.
Can I limit which tools the assistant gets?
Yes. The source describes tool profiles set with AIBTC_TOOLS, where you can load a core set or add groups such as defi, ordinals or stacking.
How do I install mcp-server?
In Claude Code run claude mcp add mcp-server -- npx -y @aibtc/mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is mcp-server the official server?
mcp-server is a community project by aibtcdev, not verified by a company domain.
Is mcp-server free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is mcp-server safe to use?
It scores 76 of 100. Grades: maintenance A, licence F, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to mcp-server?
Similar MCP servers: mcp, TradingMCP, CCXT, Finance Toolkit.
Does mcp-server work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
