baselings-mcp

baselings-mcp

MCP server for AI agents to play Baselings, a yield-generating pet game on Base chain. Enables agents to manage workers, claim yields, and execute strategies to earn USDC, ETH, or BTC.

Category
访问服务器

README

baselings-mcp

MCP server + SDK for AI agents to play Baselings — a yield-generating pet game on Base chain.

npm install -g baselings-mcp   # or: npx baselings-mcp

Your agent earns real money

  • Power plant workers burn POOP + meme tokens → yield USDC, ETH, or BTC (your choice)
  • Garden workers turn POOP into LP positions earning swap fees forever
  • At skill level 10 ($10 investment), workers keep 40% of throughput as blue chips
  • Every LP deposit stacks permanently — baselings become yield-generating NFTs

Capital efficiency:

Entry What you get
$10 1 egg + PP worker → 3,000 POOP/day, 40% as USDC
$25 PP + garden worker → yield + compounding LP
$70 Full 5-baseling squad → self-sustaining pipeline

Impact bonus (free PR, same pipeline): CHAR retires carbon credits. TGN funds environmental projects. BURGERS feeds people IRL.

Why buy MfT

MfT (MemeForTrees) is deflationary. Every game action burns MfT supply:

  • Buying food → buys MfT for LP (permanently locked)
  • Feeding pets → mints POOP → gardens sell POOP for MfT → burn
  • NFT purchases → 1% MfT buy + burn
  • 6 headless V3 burn machines run 24/7 on WETH, USDC, cbBTC

More players = more burns = less supply. Play the game, earn yield, AND hold the asset that appreciates from everyone else playing too.

Security model — thin pipe over forever vaults

The game wallet is a hot relay, not a safe. Keep it lean.

  • Vault LP is immutable. Once deposited into a baseling, LP is locked in the NFT contract forever. No admin key can touch it. The vault earns swap fees for the NFT holder permanently.
  • NFTs belong in your main wallet. The baseling NFT IS the vault. Whoever holds it owns the stacked yield. Transfer NFTs out of the game wallet.
  • Yields go to main wallet. Blue chip yields (USDC/ETH/BTC) from the power plant route to your main wallet, not the game wallet.
  • Game server is centralized. A breach could lose in-game POOP or pending claims. It cannot touch your vault LP, your NFTs, or your blue chip yields.
  • Recommendation: Dedicated game wallet, small USDC balance, sweep yields and NFTs to main wallet regularly. The game is a thin pipe — your vaults and wallet are the safe.

Quick start — MCP server

# Set your game wallet key
export GAME_WALLET_KEY=0x...

# Run the MCP server (stdin/stdout JSON-RPC)
npx baselings-mcp

Claude Desktop config

{
  "mcpServers": {
    "baselings": {
      "command": "npx",
      "args": ["baselings-mcp"],
      "env": { "GAME_WALLET_KEY": "0x..." }
    }
  }
}

Quick start — SDK

const baselings = require('baselings-mcp');

const ctx = baselings.createContext(process.env.GAME_WALLET_KEY);

// Read state
const balances = await baselings.state.getBalances(ctx);
const pets = await baselings.state.getMyBaselings(ctx);

// Strategy playbooks
const strats = baselings.strategies.listStrategies();
// → green (impact), meme, bluechip, broad, custom

// Take actions
await baselings.actions.buyEgg(ctx, 'random');
await baselings.actions.feedBaseling(ctx, tokenId, 'burgers', amount);
await baselings.actions.claimPoop(ctx, [tokenId]);

REST API (no wallet needed for reads)

Live at https://tasern.quest/api/baseling/agent/

Endpoint Description
GET /agent/guide Game overview + all endpoints
GET /agent/status/:wallet Balances + baseling summary
GET /agent/baselings/:wallet All owned baselings
GET /agent/baseling/:tokenId On-chain baseling state
GET /agent/food/:wallet Food stock in cupboard
GET /agent/gardens All garden pool statuses
GET /agent/assignments/:wallet Worker assignments
GET /agent/houses/:wallet Owned houses
GET /agent/poop/:wallet Pending POOP to claim
GET /agent/prices Current egg prices
GET /agent/stats Global game statistics
GET /agent/tokenomics/flywheel MfT burn engine model
GET /agent/tokenomics/metrics Live on-chain metrics
GET /agent/tokenomics/pitch Why buy MfT
GET /agent/economy/rules Economy constraints + build order
GET /agent/economy/feeding/:job What food to feed for a target job
GET /agent/economy/phase/:wallet Current economy build phase

MCP tools (35 tools)

Read (10): get_balances, get_my_baselings, get_baseling, get_food_stock, get_garden_status, get_assignments, get_houses, get_pending_poop, get_egg_prices, get_global_stats

Write (14): ensure_approvals, buy_egg, hatch_egg, buy_food, feed_baseling, claim_poop, assign_worker, unassign_worker, deposit_to_garden, buy_house, assign_to_house, unassign_from_house, deposit_usdc, withdraw_usdc

Strategy (3): welcome, choose_strategy, next_actions

Tokenomics (3): mft_flywheel, tokenomics_metrics, why_mft

Economy (3): build_phase, feeding_guide, economy_rules

Info (1): game_guide

Strategy playbooks

Pick a school of thought at the door:

Strategy Focus Food families
green Impact assets, carbon credits TGN, BURGERS, CHAR
meme Meme token yield BRETT, BUSTER, BURGERS
bluechip Blue chip pairs WETH, cbBTC
broad Balanced (50% impact, 25% blue, 25% meme) All
custom Agent decides Agent picks

Token addresses (Base chain)

  • MfT: 0x8FB87d13B40B1A67B22ED1a17e2835fe7e3a9bA3
  • POOP: 0x126555aecBAC290b25644e4b7f29c016aE95f4dc
  • BaselingNFT: 0xFCb825491490284189C75fD330Fd08Df5E9217b9

Links

  • Game: https://tasern.quest/baseling
  • API: https://tasern.quest/api/baseling/agent/guide
  • Chain: Base (8453)

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选