Bitbybit CAD MCP

Bitbybit 3D parametric CAD API, version-exact, for coding agents: search, describe, examples, guide

我该使用它吗

质量与安全性

A
描述质量
96%
模式完整度
96%
命名质量
97%
投毒风险
100%
权限匹配度
90%
协议合规性
100%

发现(2)

  • LOWTool 'get_examples' description lacks action verb在 get_examples 中
  • LOWTool 'fetch' suggests web access but openWorldHint=false在 fetch 中

基于对工具定义和协议合规性的自动分析。

上下文开销

~1,582token 数(工具定义)
~1.2 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 1.24%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "cad": {
      "command": "npx",
      "args": [
        "@bitbybit-dev/mcp"
      ]
    }
  }
}

可运行的软件包

npm@bitbybit-dev/mcp1.8.1stdio

远程端点

https://mcp.bitbybit.dev/mcpstreamable-http

它能做什么

工具清单

工具(7)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢search_api(query, engine, limit, version)

Find Bitbybit API members (methods, namespaces, cloud operations) by keywords, for example "box solid" or "fillet edges". Returns dotted paths with a one-line summary, the tier (oss on npm, platform-pro only at bitbybit.dev, cloud-pro only on CAD Cloud) and the engines each is published for. Call describe with a path before writing code that uses it.

输入模式

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "Keywords, a phrase, or a partial dotted path"
    },
    "engine": {
      "description": "Only members published for this engine, plus the cloud operations, which run on CAD Cloud rather than in an engine; omit for every engine",
      "type": "string",
      "enum": [
        "babylonjs",
        "threejs",
        "playcanvas"
      ]
    },
    "limit": {
      "description": "How many results, 10 by default",
      "type": "integer",
      "minimum": 1,
      "maximum": 50
    },
    "version": {
      "description": "The API version to search; omit for the version the server holds",
      "type": "string"
    }
  },
  "required": [
    "query"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢describe(path, version)

The exact contract of one member by dotted path, for example occt.shapes.solid.createBox: signature, every parameter with its type, default and range, the return type, the documentation, examples and where it runs. Answers are for the API version the server holds. It also describes the types a member returns or takes by their name, for example Inputs.IFC.SpaceInfoDto, field by field, and a member's answer lists those types. An unknown path is reported as not found together with the nearest existing paths; nothing is guessed.

输入模式

{
  "type": "object",
  "properties": {
    "path": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256,
      "description": "The dotted path of the member, for example occt.shapes.solid.createBox, or the name of a type a member returns or takes, for example Inputs.IFC.SpaceInfoDto"
    },
    "version": {
      "description": "The API version to describe; omit for the version the server holds",
      "type": "string"
    }
  },
  "required": [
    "path"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢list_namespace(path, version)

The members one level below a namespace path, for example occt.shapes, each with its kind and summary. Without a path, the top-level namespaces and the methods of the bitbybit object itself, such as setConventions. Use it to discover what exists before searching for details.

输入模式

{
  "type": "object",
  "properties": {
    "path": {
      "description": "A namespace path such as occt or occt.shapes; omit for the top level",
      "type": "string",
      "maxLength": 256
    },
    "version": {
      "description": "The API version to list; omit for the version the server holds",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢get_examples(path, topic, engine, limit, version)

Working TypeScript examples for a member path, for a namespace, or for a topic given as keywords. Each example names the member it belongs to and links its reference page. Examples are written for the API version the server holds.

输入模式

{
  "type": "object",
  "properties": {
    "path": {
      "description": "A member or namespace path, for example occt.shapes.solid.createBox or occt.fillets",
      "type": "string",
      "maxLength": 256
    },
    "topic": {
      "description": "Keywords to find examples by, when no path is known",
      "type": "string",
      "maxLength": 200
    },
    "engine": {
      "description": "Prefer members published for this engine when searching by topic",
      "type": "string",
      "enum": [
        "babylonjs",
        "threejs",
        "playcanvas"
      ]
    },
    "limit": {
      "description": "How many examples, 5 by default",
      "type": "integer",
      "minimum": 1,
      "maximum": 20
    },
    "version": {
      "description": "The API version; omit for the version the server holds",
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢get_guide(topic)

Sections of the public guides: building with Bitbybit (what runs in the browser, on a server, on a lightweight backend, and what needs CAD Cloud), writing geometry with the kernels (which kernel to use, the order to build a part in, choosing edges, checking and exporting shapes), writing design documents (parametric models as JSON: parameters, sketches, features, references, parts and assemblies), and writing IFC building models (storeys, walls and their joins, doors, windows, slabs, roofs, rooms, properties and quantities). Without a topic it lists the sections. Read "integrate" before recommending where geometry should run: the npm packages are the default, and CAD Cloud is for algorithms that exist only there or compute the caller cannot provide. Read "geometry" before writing geometry code, "coordinates" before setting the library up or writing files, "design" before writing a design document, and "ifc" before writing an IFC model.

输入模式

{
  "type": "object",
  "properties": {
    "topic": {
      "description": "A section id or a short name such as integrate, browser, backend, server-side, pro, start, geometry, part-order, geometry-mistakes, coordinates, design, references, assembly, ifc, ifc-order, ifc-mistakes; omit to list the sections",
      "type": "string",
      "maxLength": 128
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢search(query)

Searches the Bitbybit API documentation and returns a list of results with id, title and url. Each id is a dotted API path that fetch accepts.

输入模式

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "Search terms"
    }
  },
  "required": [
    "query"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢fetch(id)

Fetches the full documentation of one Bitbybit API member by id (a dotted path returned by search) as text, with its title, url and metadata.

输入模式

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256,
      "description": "A dotted API path returned by search"
    }
  },
  "required": [
    "id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

推荐提示词

fetch_info
Fetch [information type] using Bitbybit CAD MCP
预期工具: get_examples
search_research
Search for information about [topic] using Bitbybit CAD MCP
预期工具: search_api
find_specific
Find [specific item] using Bitbybit CAD MCP
预期工具: search_api
retrieve_data
Get details about [item] from Bitbybit CAD MCP
预期工具: get_examples
list_items
List all [items] available in Bitbybit CAD MCP
预期工具: list_namespace

社区

评价此服务器

证据

最近观测

已验证未记录版本7 个工具
已验证未记录版本7 个工具
已验证未记录版本7 个工具
已验证未记录版本7 个工具
已验证未记录版本7 个工具
已验证未记录版本7 个工具
已验证未记录版本7 个工具
已验证未记录版本7 个工具