Token导航 LogoToken导航TokenDH.com
Blockbench MCP Plugin logo
设计创作未说明官方级别未说明来源级核验

Blockbench MCP Plugin

MCP Server

Adds MCP server to Blockbench

工具数

0

提示词数

0

GitHub Stars

117

资源数

0
3D建模TypeScript设计

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

jasonjgardner

提供方

jasonjgardner

最后核验

2026/5/18 04:04

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

详细介绍

Blockbench MCP

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

插件安装

打开Blockbench,转到文件>插件,单击“从URL加载插件”并粘贴到此URL:

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

模型上下文协议服务器

在Blockbench设置下配置实验MCP服务器: __设置__ > __将军__ > __MCP服务器端口__ 和 __MCP服务器端点__

以下示例使用默认值 :3000/mcp

安装

克劳德桌面

__claude_desktop_config.json__

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

VS代码

__.vscode/mcp.json__

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

插件开发

贡献

欢迎添加或修改工具、提示和资源。对于Blockbench贡献者/插件作者来说,这应该是一个相对熟悉的过程;然而,它确实需要TypeScript编译。 建议使用Bun来完成这项任务。

开发人员设置

bunx @modelcontextprotocol/inspector

流式HTTP传输URL默认为 __http://localhost:3000/mcp__

cd ./src/mcp
bun install
bun run build

添加工具

// ./src/mcp/server/tools.ts
import { z } from "zod";
import { createTool } from "@/lib/factories";

createTool({
    name: "tool_name",
    description: "Tool description for the AI agent"
    parameters: z.object({
        // Parameters required to execute your tool:
        examples: z.array({
            // Zod schema to collect arguments.
            // Does not have to be 1:1 with Blockbench
        })
    }),
    async execute({ examples }, { reportProgress }) {
        return JSON.stringify(examples.map((example, idx) => {
            reportProgress({
                progress: idx,
                total: examples.length
            });

            // Do something with parameters within current context.
            // Has access to Blockbench, electron, FastMCP, and other API
            // Return stringified results to report to AI agent context.

            return myExampleTransformFunction(example);
        }));
    }
});

添加资源

尚未创建工厂函数。参见 FactMCP的资源示例文档.

将资源相关代码添加到 ./src/mcp/server/resources.ts

添加提示

尚未创建工厂函数。参见 FactMCP的Prompts示例文档.

添加提示相关代码 ./src/mcp/server/prompts.ts

目录标签

目录标签

3D建模TypeScript设计developer-toolsblockbenchmcp-server本地部署插件开发MCP协议Blockbench扩展

接入字段

传输方式(transport,传输协议)

未说明

鉴权方式(authType,认证方式)

none

工具数量(toolCount,工具数)

0

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

未说明none部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

仍需确认:installCommand

来源信息

继续浏览同类 MCP