Herobrain
向 AI 助手描述一个 Minecraft 建筑。Herobrain 运行 WorldEdit 脚本,并在聊天中以实时 3D 查看器展示结果:旋转查看、调整滑块、导出 .schem。
托管 MCP 服务器
npx add-mcp 'https://herobrain.net/mcp'可安装到 Claude Code、Codex、Cursor 等客户端
文档
Connect your AI assistant
Herobrain is a remote MCP server. You add it to your assistant once, sign in with Google or GitHub, and its build tools show up in your chats. It takes about two minutes.
One click
Add to Claude Add to Cursor Add to VS Code
Claude opens its "Add custom connector" window with Herobrain already filled in: click Add (Claude will ask you to confirm: that's its standard check for connectors added from a link), sign in with Google or GitHub, then switch Herobrain on in a chat (+ → Connectors). Other assistants: steps below.
Server URL
https://herobrain.net/mcp
Streamable HTTP. For older clients that only speak SSE, use https://herobrain.net/sse. Sign-in is OAuth: you never paste a password or a key into your assistant.
Claude Claude Code ChatGPT Cursor VS Code Devin Desktop Other clients
Claude (web and desktop app)
Fastest: Add to Claude opens the window below already filled in (steps 1–3). By hand:
- Open Customize → Connectors.
- Click + → Add custom connector.
- Name it
Herobrain, paste the server URL and click Continue. - Leave the OAuth settings as they are and click Add.
- Sign in with Google or GitHub on the Herobrain page that opens, using your beta account.
- In a chat, click + → Connectors and switch Herobrain on.
It worked if Herobrain shows as Connected and its page lists the tools. The desktop app uses the same connectors as claude.ai. The free plan allows one custom connector. On Team and Enterprise plans an owner adds it once under Organization settings → Connectors.
Claude Code
Run this in your terminal:
claude mcp add --transport http herobrain https://herobrain.net/mcp
Then start Claude Code, type /mcp, pick herobrain and sign in in the browser. Add --scope user before the name to use it in every project.
ChatGPT
Only Business, Enterprise and Edu workspaces can use a custom MCP server that builds. Free, Go and Plus cannot add custom MCP servers, and Pro can only add read-only ones, so builds do not run there. On those plans, use Claude (its free plan allows one custom connector) or one of the editors below.
- Open Plugins and click + → Add custom MCP server.
- Enter the name
Herobrain, a short description and the server URL. - Set authentication to OAuth, accept the warning and create it.
- Sign in with Google or GitHub when asked.
- In a chat, type
@and pick Herobrain. ChatGPT asks you to confirm each build.
Cursor
Add this to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):
{
"mcpServers": {
"herobrain": {
"url": "https://herobrain.net/mcp"
}
}
}
Cursor opens the Herobrain sign-in page the first time it connects. Or let Cursor do it: Add to Cursor (opens the app).
VS Code (GitHub Copilot)
Run Chat: Open Customizations → MCP Servers → Add Server, choose HTTP, paste the URL and name it herobrain (or run MCP: Add Server). To write it by hand, add this to ~/.copilot/mcp-config.json (all workspaces) or .mcp.json at the workspace root:
{
"mcpServers": {
"herobrain": {
"type": "http",
"url": "https://herobrain.net/mcp"
}
}
}
VS Code opens a browser window to sign in on the first connection. Or: Add to VS Code (opens the app).
Devin Desktop (formerly Windsurf)
Open Customize → MCPs and open the config file, or edit ~/.config/devin/mcp_config.json (%APPDATA%\devin\mcp_config.json on Windows) and add:
{
"mcpServers": {
"herobrain": {
"url": "https://herobrain.net/mcp",
"transport": "http"
}
}
}
Save, then click Authenticate if the server shows Needs authentication.
Other MCP clients
Any client that supports remote MCP servers with OAuth works the same way: add a server, paste the URL and sign in when it asks.
Clients that only run local (stdio) servers can use the mcp-remote bridge, which needs Node.js:
{
"mcpServers": {
"herobrain": {
"command": "npx",
"args": ["mcp-remote",
"https://herobrain.net/mcp"
]
}
}
}
Scripts and agent frameworks without OAuth can use an API key instead: create one in your account and send it as Authorization: Bearer hb_… to the server URL.
Your first build
Once connected, paste this into a new chat:
Use Herobrain to build a small stone watchtower next to a river. Before you start, ask me about the block palette and the roof shape. Then show me the renders and tell me what you would improve.
More ideas to try:
- "Build a cozy two-storey cottage with a hip roof, and show me a section through the ground floor."
- "Make a fantasy lighthouse on a small rocky island, then render it from the back."
- "Read the script of my last build and make the walls deeper with stone trim."
You make the design calls: palette, gradient, floor plan. The assistant writes the WorldEdit script, gets renders back and corrects it. Saved builds get a page in the gallery with a 3D viewer and a .schem download.
Troubleshooting
Sign-in says I don't have access
New accounts may be queued for a few hours when many people sign up at once; you can leave your email and try again later.
The connector shows "Connect" or "Reconnect", or sign-in never finishes
Sign-in didn't complete. Allow the pop-up or new tab and sign in again. Removing the connector and adding it again also resets it.
A tool is missing, or the assistant uses an old version
Clients cache the tool list. After we update Herobrain, refresh it and start a new chat:
- Claude: remove the connector and add it again.
- Claude Code:
/mcp→ herobrain → Reconnect. - ChatGPT: open the plugin's settings and click Refresh.
- Cursor and Devin Desktop: switch the server off and on again.
- VS Code: run MCP: List Servers and restart the server.
The assistant doesn't use Herobrain
Check the connector is switched on for this chat and mention it by name, as in the prompt above.