MCP 服务器

Bitbybit CAD MCP

dev.bitbybit/cad
开发者工具 科学与工程 公开且可连接 MCP 2025-11-25

此 MCP 可以做什么

Provides searchable, version-specific documentation, API contracts, integration guidance, and TypeScript examples for the Bitbybit parametric CAD API.

describe
Describe an API member
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. An unknown path is reported as not found together with the nearest existing paths; nothing is guessed.
只读 幂等
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['path'], 'properties': {'path': {'type': 'string', 'maxLength': 256, 'minLength': 1, 'description': 'The dotted path of the member, for example occt.shapes.solid.createBox'}, 'version': {'type': 'string', 'description': 'The API version to describe; omit for the version the server holds'}}}
fetch
Fetch
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', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['id'], 'properties': {'id': {'type': 'string', 'maxLength': 256, 'minLength': 1, 'description': 'A dotted API path returned by search'}}}
get_examples
Get code examples
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', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'path': {'type': 'string', 'maxLength': 256, 'description': 'A member or namespace path, for example occt.shapes.solid.createBox or occt.fillets'}, 'limit': {'type': 'integer', 'maximum': 20, 'minimum': 1, 'description': 'How many examples, 5 by default'}, 'topic': {'type': 'string', 'maxLength': 200, 'description': 'Keywords to find examples by, when no path is known'}, 'engine': {'enum': ['babylonjs', 'threejs', 'playcanvas'], 'type': 'string', 'description': 'Prefer members published for this engine when searching by topic'}, 'version': {'type': 'string', 'description': 'The API version; omit for the version the server holds'}}}
get_guide
Read the integration guide
Sections of the public guide on building with Bitbybit: what runs in the browser, on a server, on a lightweight backend, and what needs CAD Cloud. 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.
只读 幂等
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'topic': {'type': 'string', 'maxLength': 128, 'description': 'A section id or a short name such as integrate, browser, backend, server-side, pro, start; omit to list the sections'}}}
list_namespace
List a namespace
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. Use it to discover what exists before searching for details.
只读 幂等
输入模式
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'path': {'type': 'string', 'maxLength': 256, 'description': 'A namespace path such as occt or occt.shapes; omit for the top level'}, 'version': {'type': 'string', 'description': 'The API version to list; omit for the version the server holds'}}}
search
Search
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', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['query'], 'properties': {'query': {'type': 'string', 'maxLength': 200, 'minLength': 1, 'description': 'Search terms'}}}
search_api
Search the Bitbybit API
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', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['query'], 'properties': {'limit': {'type': 'integer', 'maximum': 50, 'minimum': 1, 'description': 'How many results, 10 by default'}, 'query': {'type': 'string', 'maxLength': 200, 'minLength': 1, 'description': 'Keywords, a phrase, or a partial dotted path'}, 'engine': {'enum': ['babylonjs', 'threejs', 'playcanvas'], 'type': 'string', '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'}, 'version': {'type': 'string', 'description': 'The API version to search; omit for the version the server holds'}}}
已添加
fetch
2026年9月21日 02:40
已添加
search
2026年9月21日 02:40
已添加
get_guide
2026年9月21日 02:40
已添加
get_examples
2026年9月21日 02:40
已添加
list_namespace
2026年9月21日 02:40
已添加
describe
2026年9月21日 02:40
已添加
search_api
2026年9月21日 02:40