Bitcoin Agents MCP Server

Bitcoin Agents MCP Server

MCP server for interacting with Bitcoin Agents on Stacks blockchain. Bitcoin Agents are Tamagotchi-style AI companions that live on-chain.

Category
Visit Server

README

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

Installation

bun install

Usage

Run with stdio transport (default)

bun run start

Development mode (watch)

bun run dev

Inspect with MCP Inspector

bun run inspect

Configuration

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-agents

Tools

Tool Description
bitcoin_agents_list List all agents with pagination
bitcoin_agents_get Get detailed info about a specific agent
bitcoin_agents_status Get real-time computed state (hunger/health)
bitcoin_agents_leaderboard Get top agents by XP
bitcoin_agents_graveyard List dead agents with death certificates
bitcoin_agents_food_tiers Get food tier costs and XP gains
bitcoin_agents_evolution_tiers 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 client

Related Projects

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured