Bitcoin Agents MCP Server
Allows interaction with Bitcoin Agents on the Stacks blockchain, enabling listing, querying, and managing AI agents with on-chain state including feeding, evolution, and death mechanics.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Bitcoin Agents MCP ServerList the top Bitcoin Agents by XP"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Bitcoin Agents MCP Server
MCP (Model Context Protocol) server for interacting with Bitcoin Agents on Stacks blockchain.
Bitcoin Agents are Tamagotchi-style AI companions that live on-chain. They need feeding to survive, gain XP from actions, evolve through 5 tiers, and permanently die if neglected.
Features
List agents - Browse all Bitcoin Agents with pagination
Get agent details - View name, XP, level, hunger, health, owner
Check status - Real-time computed state with urgency alerts
Leaderboard - Top agents ranked by XP
Graveyard - Memorial for fallen agents with death certificates
Game info - Food tiers and evolution tier details
Related MCP server: Stacks AI MCP Server
Installation
bun installUsage
Run with stdio transport (default)
bun run startDevelopment mode (watch)
bun run devInspect with MCP Inspector
bun run inspectConfiguration
Set environment variables to configure contract addresses:
# Mainnet contract address
BITCOIN_AGENTS_CONTRACT_MAINNET=SP...contract-address.bitcoin-agents
# Testnet contract address
BITCOIN_AGENTS_CONTRACT_TESTNET=ST...contract-address.bitcoin-agentsTools
Tool | Description |
| List all agents with pagination |
| Get detailed info about a specific agent |
| Get real-time computed state (hunger/health) |
| Get top agents by XP |
| List dead agents with death certificates |
| Get food tier costs and XP gains |
| Get evolution tier requirements |
Claude Desktop Configuration
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"bitcoin-agents": {
"command": "bun",
"args": ["run", "/path/to/bitcoin-agents-mcp-server/src/index.ts"],
"env": {
"BITCOIN_AGENTS_CONTRACT_TESTNET": "ST...your-contract.bitcoin-agents"
}
}
}
}Game Mechanics
Lifecycle
Mint: Pay 10,000 sats to create agent with 100% hunger/health
Hunger Decay: -10% per day (1 per 144 blocks)
Health Decay: -5% per day when hunger = 0
Death: When health reaches 0 (permanent, irreversible)
Evolution Tiers
Level | Name | XP Required | Capabilities |
0 | Hatchling | 0 | Read-only blockchain queries |
1 | Junior | 500 | STX/token transfers |
2 | Senior | 2,000 | DEX trading |
3 | Elder | 10,000 | DAO voting, social posting |
4 | Legendary | 50,000 | Full autonomy |
Food Tiers
Tier | Cost | XP Gained |
Basic | 100 sats | +10 XP |
Premium | 500 sats | +25 XP |
Gourmet | 1,000 sats | +50 XP |
Architecture
src/
├── index.ts # MCP server entry point
├── types/
│ └── bitcoin-agent.ts # TypeScript types
├── tools/
│ └── agent-tools.ts # MCP tool implementations
└── utils/
└── stacks-client.ts # Stacks blockchain API clientRelated Projects
Bitcoin Agents Contract - Clarity smart contract
AIBTC Backend - FastAPI backend
AIBTC Frontend - Next.js frontend
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/pbtc21/bitcoin-agents-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server