cobble-mcp

cobble-mcp

Enables AI assistants to connect to Minecraft servers as a bot, allowing cooperative building, movement, combat, and chat in the same world.

Category
访问服务器

README

<pre align="center"> ┌─────────────────────────────────────────┐ │ <You> build a cabin next to me │ │ <Claude> On it — surveying the patch │ │ <Claude> Done — door south. What's next?│ │ <You> kill that creeper │ │ <Claude> Target locked. Coming. │ └─────────────────────────────────────────┘ </pre>

<h1 align="center">COBBLE</h1> <p align="center"><strong>Minecraft, for your AI.</strong><br/>Not RCON. Not a mod helper. A teammate in the world.</p>

<p align="center"> <a href="https://github.com/brian-mwirigi/cobble-mcp"><img alt="GitHub" src="https://img.shields.io/badge/github-brian--mwirigi%2Fcobble--mcp-55C57A?style=flat-square" /></a> <img alt="npm" src="https://img.shields.io/badge/npx-cobble--mcp-111?style=flat-square" /> <img alt="hooks" src="https://img.shields.io/badge/hooks-peak-ff2d55?style=flat-square" /> <img alt="mineflayer" src="https://img.shields.io/badge/bot-mineflayer-3E8E41?style=flat-square" /> </p>

npx -y cobble-mcp

Then in Cursor: “play with me” · “build a house next to me” · type in Minecraft chat and it answers.

<p align="center"> <a href="CONTRIBUTING.md"><img alt="contributions welcome" src="https://img.shields.io/badge/contributions-welcome-55C57A?style=flat-square" /></a> <a href="ROADMAP.md"><img alt="roadmap" src="https://img.shields.io/badge/roadmap-open-111?style=flat-square" /></a> <a href="examples/designs"><img alt="design packs" src="https://img.shields.io/badge/design%20packs-PRs%20open-ff2d55?style=flat-square" /></a> </p>


Film this (go viral)

Clip (30–60s) How
Cabin from nothing play with me → build me a witch hut → watch mc_design rise
Chat teammate Type in Minecraft: come · what should we build · kill that
Fix my grief Break a wall → fix it → mc_repair
Style flex Same prompt twice → two different designs (agent mind, not a stamp)

Post with #cobble + the repo link. Clips > screenshots.


Why this hits

Clips of Claude actually placing blocks spread. Admin panels don't.

COBBLE drops a Mineflayer bot into your server. Same chunk as you. Chat, path, dig, build, swing at creepers — directed co-op, not a silent autofill.

You say (Cursor or in-game) What happens
play with me mc_play loop — agent brain stays live
build a cabin here mc_design — YOU invent palette + ASCII floors (never the same box)
come / kill this creeper Instant reflexes in chat (no waiting on Cursor)
what should we do? Agent answers with pulse + memory + this chat
fix it / clear that mc_repair / mc_clear on the last site

Cookie-cutter mc_build_house is demoted — viral builds come from the agent's mind via mc_design / mc_sculpt.


60-second setup

  1. Java world — creative + online-mode=false for easy demos
  2. Wire Cursor (~/.cursor/mcp.json):
{
  "mcpServers": {
    "cobble": {
      "command": "npx",
      "args": ["-y", "cobble-mcp"],
      "env": {
        "MC_HOST": "localhost",
        "MC_PORT": "25565",
        "MC_USERNAME": "Claude",
        "MC_AUTH": "offline",
        "MC_FAST": "1",
        "MC_BRAIN": "agent"
      }
    }
  }
}

Local clone? Point command/args at node + dist/server.js instead.

  1. Reload MCP → in Cursor: play with me → talk in Minecraft.

How the brain works

You (the Cursor agent) are the brain. Not a side API that forgot the cabin you just built.

mc_connect → mc_come → loop: mc_play → think → mc_chat / build → mc_play
  • come / kill / stop — instant in-process reflexes
  • Plans, opinions, builds — agent via mc_play
  • Builds run in the background — tool returns now; poll mc_build_status

Peak tools

<details> <summary><strong>Live co-op</strong></summary>

mc_play · mc_pulse · mc_hang · mc_chat · mc_read_chat · mc_wait_chat · mc_note · mc_autotalk </details>

<details> <summary><strong>Move</strong></summary>

mc_come · mc_goto · mc_stop · mc_status · mc_connect · mc_disconnect </details>

<details> <summary><strong>Build smart</strong></summary>

mc_design · mc_sculpt · mc_build · mc_build_wall · mc_build_house (lazy) · mc_survey_site · mc_repair · mc_clear · mc_build_status · mc_stop_build · mc_scan · mc_inventory </details>

Creative + MC_FAST=1 → timed /setblock (no pathfind freeze mid-farm).


Env

Var Default
MC_HOST localhost Server host
MC_PORT 25565 Server port
MC_USERNAME Claude Bot name
MC_AUTH offline or microsoft
MC_FAST 1 Creative setblock path
MC_BRAIN agent Cursor is the brain

Dev

git clone https://github.com/brian-mwirigi/cobble-mcp
cd cobble-mcp
npm i && npm run build && npm run smoke
npm start   # MCP stdio

Contribute

Easiest win: add an ASCII design pack under examples/designs/ — no TypeScript.

Code / tools: see CONTRIBUTING.md · grab something from ROADMAP.md.

Open a PR that answers: what clip does this unlock?


<p align="center"> <strong>COBBLE</strong> — same world. Your call. Its hands.<br/> <sub>MIT · Mineflayer · Model Context Protocol</sub> </p>

推荐服务器

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 模型以安全和受控的方式获取实时的网络信息。

官方
精选