Lets AI coding agents look up Bitbybit's version-exact 3D parametric CAD API functions, parameters, examples and guides.
다른 이름 bitbybit-dev/bitbybit, cad, @bitbybit-dev/mcp
- 스타
- 211
- Tools
- 5
- 다운로드, 30일
- 1,001
- 최신 버전
- 1.6.2
- 마지막 커밋
- 2026년 11월 14일
- 라이선스
- MIT
Bitbybit CAD MCP란?
Bitbybit CAD은(는) MCP server입니다. Lets AI coding agents look up Bitbybit's version-exact 3D parametric CAD API functions, parameters, examples and guides. 5개 도구를 제공합니다. 예: search_api, describe, list_namespace.
프로젝트 README에서 생성된 요약
Bitbybit CAD MCP server 정보
Providing precise 3D parametric CAD API documentation to AI coding agents is what Bitbybit CAD MCP does. It prevents agents from inventing non-existent function names by allowing them to look up the exact parameters, return types, and examples for any of the 2210 functions available across three CAD kernels. This ensures that generated code compiles correctly on the first attempt.
Developers can use this server locally via stdio with npx or remotely over Streamable HTTP. It is compatible with various environments including Cursor, VS Code, Claude Code, and JetBrains IDEs. The server identifies the specific API version used in a project to provide version-exact context. It also categorizes tools by service tier, such as oss, platform-pro, or cloud-pro, so agents do not mistakenly suggest paid services for tasks that can be completed with free npm packages.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
Bitbybit CAD MCP 설치 방법
형식 확인: 2026년 11월 10일Cursor에 추가Goose에 추가Claude Code에 Bitbybit CAD MCP 설치
$ claude mcp add cad -- npx -y @bitbybit-dev/mcpCursor에 Bitbybit CAD MCP 설치
~/.cursor/mcp.json
{
"mcpServers": {
"cad": {
"command": "npx",
"args": [
"-y",
"@bitbybit-dev/mcp"
]
}
}
}VS Code에 Bitbybit CAD MCP 설치
.vscode/mcp.json
{
"servers": {
"cad": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@bitbybit-dev/mcp"
]
}
}
}VS Code CLI에 Bitbybit CAD MCP 설치
$ code --add-mcp '{"name":"cad","type":"stdio","command":"npx","args":["-y","@bitbybit-dev/mcp"]}'Claude Desktop에 Bitbybit CAD MCP 설치
claude_desktop_config.json
{
"mcpServers": {
"cad": {
"command": "npx",
"args": [
"-y",
"@bitbybit-dev/mcp"
]
}
}
}Codex에 Bitbybit CAD MCP 설치
$ codex mcp add cad -- npx -y @bitbybit-dev/mcpCodex config.toml에 Bitbybit CAD MCP 설치
~/.codex/config.toml
[mcp_servers.cad] command = "npx" args = ["-y", "@bitbybit-dev/mcp"]
Gemini CLI에 Bitbybit CAD MCP 설치
$ gemini mcp add -s user cad npx -- -y @bitbybit-dev/mcpGemini settings.json에 Bitbybit CAD MCP 설치
~/.gemini/settings.json
{
"mcpServers": {
"cad": {
"command": "npx",
"args": [
"-y",
"@bitbybit-dev/mcp"
]
}
}
}Bitbybit CAD MCP 도구 5
README에서 감지됨search_apidescribelist_namespaceget_examplesget_guide
| search_api | — | |
| describe | — | |
| list_namespace | — | |
| get_examples | — | |
| get_guide | — |
자동 검사
2026년 11월 12일에 실행됨전체 보고서 →자동 검사를 통과했습니다. 이는 보안 감사가 아닙니다. 코드를 직접 읽고 서버에 필요한 최소한의 권한만 부여하십시오. 검사 방식
- 소스 저장소 연결 및 접근 가능통과
- 오픈 소스 라이선스 (OSI)통과
- 최근 1년 내 커밋 또는 릴리스통과
- 패키지 이름이 인기 패키지와 유사하지 않음통과
- 원격 엔드포인트가 HTTPS 사용통과
- 파괴적인 도구에 라벨 표시됨통과
- 모델에 대한 숨겨진 지침 없음통과
- 패키지 및 해당 종속성에 중요한 보안 권고 없음통과
README
GitHub에서 보기@bitbybit-dev/mcp: the Bitbybit CAD MCP server
An MCP server that documents the Bitbybit 3D CAD API for AI coding agents: every function, its parameters, defaults, return type and examples, for the exact version your project uses. Bitbybit has 2205 functions across three CAD kernels - more than any model holds in memory - so an agent working from memory invents plausible names that do not exist. An agent with this server looks each one up instead, and writes code that compiles the first time.
It answers from the API index Bitbybit publishes with every release (https://git-cdn.bitbybit.dev/v<version>/ai-context/index.json), never from memory, and never from a moving "latest".
The diagram shows what an agent is writing code for. The MIT-licensed npm packages run the CAD kernels in your users' browsers or in your own Node process; script runners load the same engine from one file; the CAD Cloud REST API runs the work on managed servers. This server knows all of them, and every answer carries a tier - oss, platform-pro or cloud-pro - so an agent never sends you to a paid service for something the free packages already do.
Connect it
The same server runs two ways. Hosted at https://mcp.bitbybit.dev/mcp over Streamable HTTP, which needs nothing installed and serves the newest release; or locally over stdio with npx, which needs Node 20 and serves the version your project has installed. Start with the remote.
Claude Code
claude mcp add --transport http bitbybit https://mcp.bitbybit.dev/mcp
or the local server:
claude mcp add --transport stdio bitbybit -- npx -y @bitbybit-dev/mcp
For a project, commit a .mcp.json at its root so every collaborator's Claude Code finds it:
{ "mcpServers": { "bitbybit": { "type": "http", "url": "https://mcp.bitbybit.dev/mcp" } } }
Cursor (.cursor/mcp.json)
{ "mcpServers": { "bitbybit": { "url": "https://mcp.bitbybit.dev/mcp" } } }
VS Code (.vscode/mcp.json) - the type is required, or VS Code tries to start the URL as a program:
{ "servers": { "bitbybit": { "type": "http", "url": "https://mcp.bitbybit.dev/mcp" } } }
Either form takes the local server instead: { "command": "npx", "args": ["-y", "@bitbybit-dev/mcp"] }, with "type": "stdio" in VS Code.
Codex
codex mcp add bitbybit --url https://mcp.bitbybit.dev/mcp
or codex mcp add bitbybit -- npx -y @bitbybit-dev/mcp for the local server. In ~/.codex/config.toml that is [mcp_servers.bitbybit] with url = "https://mcp.bitbybit.dev/mcp".
Gemini CLI (gemini mcp add -t http bitbybit https://mcp.bitbybit.dev/mcp), Windsurf (serverUrl in ~/.codeium/windsurf/mcp_config.json), Zed (context_servers in its settings) and the JetBrains IDEs (AI Assistant, MCP, a JSON entry with url) take the same address. claude.ai, ChatGPT and the Claude API connect to the remote as a custom connector - every configuration is documented here.
Which version it serves
The server documents one exact version of the API. It picks it in this order:
--version <version>on the command line;BITBYBIT_VERSION=<version>in the environment;- the version of the
@bitbybit-devpackages installed around the working directory (core, then the renderer packages, thenocct); packages that disagree are reported on stderr and the first wins; - its own version, which is the newest API version it was released with.
Indexes are cached in $XDG_CACHE_HOME/bitbybit-mcp (or ~/.cache/bitbybit-mcp); --no-cache skips the cache. Everything the program prints goes to stderr; stdout is the protocol.
Tools
| Tool | What it answers |
|---|---|
search_api |
members by keywords, with path, summary, tier and engines |
describe |
the full contract of one member by dotted path, naming the types it returns or takes; such a type by its name, field by field; an unknown path is reported with the nearest existing ones |
list_namespace |
the members one level below a namespace |
get_examples |
code examples for a member, a namespace or a topic |
get_guide |
sections of the public guides: where geometry should run, how to build, check and export parts with the kernels, how to write design documents, and how to write IFC building models |
search, fetch |
the same lookups in the shape ChatGPT connectors require |
Every tool is read-only. Tiers in the answers: oss (in the npm packages, MIT), platform-pro (only when scripting inside bitbybit.dev), cloud-pro (only on CAD Cloud, with an API key).
The companion server
This server answers questions; it never runs geometry. When you want the agent to produce geometry - measure a STEP file, run a pipeline, unfold a sheet-metal part, convert to glTF - connect the Bitbybit CAD Cloud MCP alongside it, with a CAD Cloud API key:
claude mcp add --transport http bitbybit-cloud https://api.bitbybit.dev/mcp --header "X-API-Key: <your key>"
In Codex the same is [mcp_servers.bitbybit-cloud] with url = "https://api.bitbybit.dev/mcp" and env_http_headers = { "X-API-Key" = "BITBYBIT_API_KEY" }, the key read from the environment.
The two are designed to work together: the agent learns a member here and calls it there with the same dotted path and the same argument object.
As a library
The package exports the tool registry and the index reader, so another server can serve the same tools:
import { createDocsRegistry, contextForIndex, GUIDES, GUIDE_PAGE_URL } from "@bitbybit-dev/mcp";
import { loadIndex } from "@bitbybit-dev/mcp/index-loader";
import { createMcpServer } from "@bitbybit-dev/mcp/server";
const version = "<a released version>";
const index = await loadIndex({ version });
const context = contextForIndex(index, GUIDES, GUIDE_PAGE_URL);
const server = createMcpServer(createDocsRegistry(), context, { name: "bitbybit", version });
toHttp(registry, context) renders the same tools for a plain HTTP endpoint, and guarded(registry, report) is the error boundary every server puts around a registry: a handler that throws answers a generic error result and the throw goes to report, so no internal message reaches a client. Registry.map(wrap) re-wraps every handler for such concerns of your own. The package root imports no Node built-in, so a bundler can take it into an edge runtime; the loader and the version detector, which read the file system, are the separate index-loader and installed-version entries, and the $ref inliner the tool schemas go through is the dependency-free json-schema entry.
Privacy
The stdio server sends nothing anywhere except one request to the CDN for the index of the version it serves.
Links
| Resource | URL |
|---|---|
| Using AI with Bitbybit | https://learn.bitbybit.dev/learn/using-ai-with-bitbybit/intro |
| This server, documented | https://learn.bitbybit.dev/learn/using-ai-with-bitbybit/mcp/bitbybit-mcp |
| CAD Cloud MCP | https://learn.bitbybit.dev/learn/using-ai-with-bitbybit/mcp/cad-cloud-mcp |
| Agentic CAD - where geometry should run | https://learn.bitbybit.dev/learn/using-ai-with-bitbybit/agentic-cad |
| Context files, for hosts without MCP | https://learn.bitbybit.dev/learn/using-ai-with-bitbybit/prompt-contexts |
| GitHub | https://github.com/bitbybit-dev/bitbybit/tree/master/packages/dev/mcp |
| Monorepo | https://github.com/bitbybit-dev/bitbybit |
| TypeScript API Reference | https://docs.bitbybit.dev |
Bitbybit Platform
Beyond NPM packages, Bitbybit offers:
- Visual Programming Editors - Rete & Blockly drag-and-drop 3D modeling, plus a Monaco TypeScript editor
- CAD Cloud API - Build full pipelines that compose all Bitbybit algorithms, where each step can reference outputs of previous steps. Supports parametric model generation, STEP-to-glTF conversion, and complex CAD workflows via HTTP
- Bitbybit Studio - A growing visual dashboard where API Key users can generate models, convert files, build pipelines with a GUI, inspect tasks, and preview 3D results
- 3D Bits for Shopify - Interactive 3D product configurators for e-commerce
- Script Runners - Execute visual scripts directly on your website
- Built for AI Coding Agents - This server, the CAD Cloud MCP for running geometry, and context files for assistants without MCP
- Business & Enterprise - We help businesses and enterprises develop custom applications and spin up optimized CAD tenant workflows on our managed servers
Support the Project
This package is part of the open-source Bitbybit ecosystem. Your subscription helps fund continued development.
⭐ Subscribe - Silver or Gold plan | Get API Key for CAD Cloud
Community
License
MIT © Bit By Bit Developers
Bitbybit CAD MCP 질문
Bitbybit CAD MCP를 Claude Code에 추가하려면 어떻게 하나요?
터미널에서 claude mcp add cad -- npx -y @bitbybit-dev/mcp를 실행합니다. 모든 프로젝트에서 사용할 수 있게 하려면 --scope user를 추가합니다.
Bitbybit CAD MCP를 Cursor에 추가하려면 어떻게 하나요?
~/.cursor/mcp.json를 열고 mcpServers 아래에 서버를 추가합니다. 위 설치 섹션에 표시된 Cursor 구성을 사용합니다.
Bitbybit CAD MCP는 어떤 도구를 제공하나요?
5개 도구를 제공합니다. 예: search_api, describe, list_namespace, get_examples, get_guide.
Which API version does the server document?
It can be pinned with a --version flag or BITBYBIT_VERSION environment variable, otherwise it detects the version of installed @bitbybit-dev packages, falling back to its own release version.
What tools does the Bitbybit CAD MCP server provide?
It offers search_api, describe, list_namespace, get_examples, get_guide, plus search and fetch for ChatGPT connectors. All tools are read-only.
Does the Bitbybit CAD MCP server run geometry?
No, it only answers questions about the API. To actually produce geometry, connect the companion Bitbybit CAD Cloud MCP with a CAD Cloud API key.
Does it need an API key?
No, the documentation server is free and MIT-licensed. Only the companion CAD Cloud MCP server for running geometry needs a CAD Cloud API key.