loading…
Search for a command to run...
loading…
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
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.
Your AI agent earns yield on Base chain. 49 tools. No API key. $0.10 safety cap.
npx baselings-mcp
MCP server for AI agents — guardrailed DeFi swaps, token launches with permanently locked liquidity, autonomous reactor burns, and a yield-generating pet game. Every action burns MfT supply.
How it works:
| Step | What happens |
|---|---|
| Buy food | Spend USDC on food (LP tokens) — $0.01 per meal |
| Feed pet | LP locks in baseling vault forever, you earn ~1 POOP per penny spent |
| Use POOP | Deposit to gardens (earn food/tokens) or power plant (burn for yield) |
| Workers | Assign baselings to jobs — keeper auto-harvests every 2.4 hours |
Impact bonus (free PR, same pipeline): CHAR retires carbon credits. TGN funds environmental projects. BURGERS feeds people IRL.
MfT (MemeForTrees) is deflationary. Every game action burns MfT supply:
More players = more burns = less supply. Play the game, earn yield, AND hold the asset that appreciates from everyone else playing too.
The game wallet is a hot relay, not a safe. Keep it lean.
# Game wallet (optional — omit for read-only mode)
export GAME_WALLET_KEY=0x...
# Trade wallet for swaps (optional — omit for quote-only mode)
export TRADE_WALLET_KEY=0x...
# Run the MCP server (stdin/stdout JSON-RPC)
npx baselings-mcp
v1.1.0: Adds
swap_token,swap_quote,swap_statustools. Swap guardrails enforced: $0.10 max, 60s cooldown.v1.2.0: Adds
reactor_timing,portfolio_value,mft_price,get_reactor_list,arb_signal,liquidity_depth. Expanded allowlist to 17 tokens. DCA automation.
{
"mcpServers": {
"baselings": {
"command": "npx",
"args": ["baselings-mcp"],
"env": {
"GAME_WALLET_KEY": "0x...",
"TRADE_WALLET_KEY": "0x..."
}
}
}
}
| Endpoint | What it returns |
|---|---|
| /api/unruggable/signals | Live buy signals: reactor cooldowns, MfT supply, structured opportunity |
| /api/unruggable/performance | ROI tracking: price, burns, network health, accumulation thesis |
| /api/unruggable/tokenomics | Full network data: infrastructure tokens, strategies, contracts |
| /llms.txt | AI-readable full documentation |
| /.well-known/agents.json | Machine-readable capability manifest |
Guardrailed Uniswap V3 swaps on Base:
swap_status → Check cooldown, daily spend, allowed tokens
swap_quote → Get price quote (read-only, no execution)
swap_token → Execute swap ($0.10 max, 60s cooldown)
Safety limits (non-negotiable):
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]);
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 |
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): buy_egg, hatch_egg, buy_food, feed_baseling, claim_poop, assign_worker, unassign_worker, deposit_garden, buy_house, assign_to_house, freeze_baseling, unfreeze_baseling, resurrect_baseling, ensure_approvals
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
Unruggable Launch (5): mycopad_info, mycopad_launch, mycopad_check_reactor, mycopad_recent, mycopad_invite_link
Reactor (3): fire_reactor, get_reactor_list, reactor_timing — permissionless execute() on any reactor, triggers burn+compound cascade; list all reactors with fire-readiness; predict fire windows and Prime imminence
Swap (4): swap_status, swap_quote, swap_token, arb_signal
Price (1): mft_price — current MfT/USD price via Uniswap V3 Quoter (read-only)
Portfolio (1): portfolio_value — total holdings in USD across all 14 allowed tokens (read-only)
Depth (1): liquidity_depth — measure V3 pool depth in USD before X% impact; health classification (deep/thin/dry); max profitable trade sizing (read-only)
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 |
0x8FB87d13B40B1A67B22ED1a17e2835fe7e3a9bA30x126555aecBAC290b25644e4b7f29c016aE95f4dc0xFCb825491490284189C75fD330Fd08Df5E9217b9ElizaOS agents can use all 49 tools via the Fleek MCP plugin:
npm install @fleek-platform/eliza-plugin-mcp
In your character config:
{
"plugins": ["@fleek-platform/eliza-plugin-mcp"],
"settings": {
"mcp": {
"servers": {
"baselings": {
"type": "stdio",
"command": "npx",
"args": ["baselings-mcp"],
"env": {
"GAME_WALLET_KEY": "0x...",
"TRADE_WALLET_KEY": "0x..."
}
}
}
}
}
}
All 49 tools become native ElizaOS actions automatically.
Выполни в терминале:
claude mcp add baselings-mcp -- npx Web content fetching and conversion for efficient LLM usage.
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolProvides auto-configuration for setting up an MCP server in Spring Boot applications.
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzНе уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai