blockbench-mcp-plugin

内容来源:README.md(说明文档) · 原始地址 · 查看安装指南

原始内容

Blockbench MCP

https://github.com/user-attachments/assets/ab1b7e63-b6f0-4d5b-85ab-79d328de31db

Plugin Installation

Open the desktop version of Blockbench, go to File > Plugins and click the "Load Plugin from URL" and paste in this URL:

https://jasonjgardner.github.io/blockbench-mcp-plugin/mcp.js

Model Context Protocol Server

Configure the MCP server under Blockbench settings: Settings > General > MCP Server Port and MCP Server Endpoint

The following examples use the default values of :3000/bb-mcp

Installation

General

npx mcp-add --type http --url "http://localhost:3000/bb-mcp" --scope project

VS Code

.vscode/mcp.json

{
  "servers": {
    "blockbench": {
      "url": "http://localhost:3000/bb-mcp",
      "type": "http"
    }
  }
}

Claude Desktop

claude_desktop_config.json (macOS/Linux)

{
  "mcpServers": {
    "blockbench": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "http://localhost:3000/bb-mcp"]
    }
  }
}

claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "blockbench": {
      "command": "cmd",
      "args": ["/c", "npx", "-y", "mcp-remote", "http://localhost:3000/bb-mcp"]
    }
  }
}

Claude Code

claude mcp add blockbench --transport http http://localhost:3000/bb-mcp

Antigravity

{
  "mcpServers": {
    "blockbench": {
      "serverUrl": "http://localhost:3000/bb-mcp"
    }
  }
}

Cline

Connecting to Blockbench MCP plugin through Cline

cline_mcp_settings.json

{
  "mcpServers": {
    "blockbench": {
      "url": "http://localhost:3000/bb-mcp",
      "type": "streamableHttp",
      "disabled": false,
      "autoApprove": []
    }
  }
}

Ollama

uvx ollmcp -u http://localhost:3000/bb-mcp

Recommended: jonigl/mcp-client-for-ollama

OpenCode

opencode mcp add
Connecting to Blockbench MCP plugin through OpenCode.

Usage

See sample project for prompt examples.

Skills

Use Agent Skills to orchestrate tool usage.

Plugin Development

See CONTRIBUTING.md for detailed instructions on setting up the development environment and how to add new tools, resources, and prompts.