
altendky/onshape-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Onshape CAD 문서에 대한 AI 보조 액세스
개요
Onshape CAD 문서에 대한 AI 보조 액세스. Onshape MCP는 Onshape에 AI 조수를 연결합니다. Onshape 측면에서 원하는 것을 설명합니다. 스케치를 만들고, 부분을 발굴하고, STL을 내보내고 AI는 API 통화를 처리합니다. 이것은 이미 Onshape를 알고있는 사람들을위한 헬퍼입니다. CAD 기술에 대한 대체가 아닙니다. 초기 개발. 이것은 그들이 관심이 있다면 시도하는 사람들을 위해 제공된다 - 것들은 항상 예상대로 작동하지 않을 수 있으며 피드백은 평가됩니다. 이 프로젝트는 공개 호스팅 MCP 서버 또는 공개 OAuth 프록시를 제공하지 않습니다. 로컬로 실행, 자체 호스팅, 또는 독립적으로 신뢰할 수있는 누군가가 운영하는 서버에 연결. 추천된 경로입니다. 로컬 서버는 직접 기계에 파일을 읽고 쓸 수 있습니다 - 스크린 샷, 내보내기 및 FeatureScript - 대화를 통해 콘텐츠 전달 대신. Onshape에서 자신의 OAuth 응용 프로그램을 http://localhost:18338/callback] 리디렉션 URL로 만듭니다.
개요(AI 번역)
Onshape CAD 문서에 대한 AI 보조 액세스.
이것은 무엇인가?
Onshape MCP는 Onshape에 AI 조수를 연결합니다. 당신이 원하는 것을 설명 Onshape 측면에서 - 스케치를 만들고, 부분을 압출, STL을 수출 - AI API 호출을 처리합니다. 이것은 이미 Onshape를 알고있는 사람들을 위한 도우미입니다, CAD 기술에 대한 대체가 아닙니다.
상태
초기 개발. 이것은 그들이 관심이 있다면 시도하는 사람들을 위해 제공된다 — 그들은 항상 예상대로 작동하지 않을 수 있으며 피드백은 평가됩니다.
이 프로젝트는 공개 호스팅 MCP 서버 또는 공개 OAuth를 제공하지 않습니다. 프록시. 로컬로 실행, 자체 호스팅, 또는 누군가가 운영하는 서버에 연결 당신은 독립적으로 신뢰합니다.
시작하기
Local Setup (Claude Desktop, OpenCode 또는 MCP 클라이언트)
추천된 경로입니다. 로컬 서버는 파일을 읽고 쓸 수 있습니다. 직접 기계 - 스크린 샷, 수출 및 FeatureScript - 대신 전달 대화를 통해 콘텐츠.
** 단계 1: Onshape OAuth 응용 프로그램**
Onshape에서 자신의 OAuth 응용 프로그램을 작성
http://localhost:18338/callback 리디렉션 URL로. 고객 ID를 유지하고
onshape-mcp auth login에 사용할 수 있는 클라이언트 비밀.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Onshape MCP
AI-assisted access to your Onshape CAD documents.
What This Is
Onshape MCP connects your AI assistant to Onshape. You describe what you want in Onshape terms — create a sketch, extrude a part, export an STL — and the AI handles the API calls. This is a helper for people who already know Onshape, not a replacement for CAD skills.
Status
Early development. This is offered for people to try if they’re interested — things may not always work as expected, and feedback is appreciated.
This project does not provide a public hosted MCP server or a public OAuth proxy. Run it locally, self-host it, or connect to a server operated by someone you independently trust.
Getting Started
Local Setup (Claude Desktop, OpenCode, or any MCP client)
This is the recommended path. A local server can read and write files on your machine directly — screenshots, exports, and FeatureScript — instead of passing content through the conversation.
Step 1: Create an Onshape OAuth application
Create your own OAuth application in Onshape with
http://localhost:18338/callback as a redirect URL. Keep its client ID and
client secret available for onshape-mcp auth login. Direct OAuth with these
user-owned credentials is the default. API access and secret keys are also
supported as an alternative; see
Authentication.
Step 2: Get the server binary
Pick whichever is easier for you:
- npx (requires Node.js): No separate install
needed — your MCP client runs
npx --yes onshape-mcpand it downloads automatically. - Pre-built binary: Download from GitHub Releases and save it somewhere convenient.
Step 3: Configure your MCP client
Tell your MCP client how to launch the server.
Claude Desktop
Add to your Claude Desktop config (claude_desktop_config.json):
Using npx:
{
"mcpServers": {
"onshape": {
"command": "npx",
"args": ["--yes", "onshape-mcp"]
}
}
}
Using the downloaded binary:
{
"mcpServers": {
"onshape": {
"command": "/path/to/onshape-mcp"
}
}
}
OpenCode
Add to your opencode.json:
Using npx:
{
"mcp": {
"onshape": {
"type": "local",
"command": ["npx", "--yes", "onshape-mcp"]
}
}
}
Using the downloaded binary:
{
"mcp": {
"onshape": {
"type": "local",
"command": ["/path/to/onshape-mcp"]
}
}
}
Other MCP clients
Any MCP client that supports stdio transport can launch this server. The command
is either npx --yes onshape-mcp or the path to the downloaded binary.
Step 4: Authenticate and try it
Configure your OAuth client ID and secret, then run
npx --yes onshape-mcp auth login when using the npm package, or
onshape-mcp auth login when using the downloaded binary.
Prefer configuration or ONSHAPE_MCP_AUTH__CLIENT_ID and
설치
npx --yes onshape-mcp설정
{
"mcpServers": {
"onshape": {
"command": "npx",
"args": ["--yes", "onshape-mcp"]
}
}
}