AS

alisamsam/solidworks-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

199 stars 40 forks 品質 70 トレンド 20MIT

alisamsam/solidworks-mcpは、https://github.com/alisamsam/solidworks-mcp.からインポートされたMCPサーバー候補です。

概要

alisamsam/solidworks-mcpは、https://github.com/alisamsam/solidworks-mcp.からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

Claude AIとModel Context Protocol(MCP)を通じた自然言語によるSolidWorksの自動化


🎯 これは何?

SolidWorks MCP Serverは、Claude AIが自然言語を通じてSolidWorksを制御できる本番対応のModel Context Protocolサーバーです。メニューを手動でクリックする代わりに、Claudeに何を設計するか指示するだけで、自動的に構築してくれます。

使える例示プロンプト:

  • 「新しい部品を作成し、半径30mmの円を描いて15mm押し出する」
  • 「すべてのエッジに2mmのフィレットを加える」
  • 「六角形を描いて切断し、10mm押出する」
  • 「現在のパートのすべての特徴をリストアップ」

✨ 特徴

  • ✅ 22 ツール 部品、スケッチ、特徴、ユーティリティをカバー
  • ✅ SolidWorks 2023–2025 バージョン対応APIフォールバック対応
  • ✅ Windowsレジストリ経由でSolidWorksのインストールを自動検出
  • ✅ 多ユニットサポート — mm、cm、インチ、メートル、フィート
  • ✅ モジュールアーキテクチャ — クリーンで拡張可能なPythonパッケージ
  • ✅ 堅牢なエラー処理 — COMのAPIのためのカスケード式フォールバックチェーン
  • ✅ JSON 構成 — コードに触れずに簡単にカスタマイズできる
  • ✅ 包括的なログング — トラブルシューティングのための完全なデバッグ出力

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

SolidWorks MCP Server 🔧

Automate SolidWorks using natural language through Claude AI and the Model Context Protocol (MCP)


🎯 What is This?

SolidWorks MCP Server is a production-ready Model Context Protocol server that lets Claude AI control SolidWorks through natural language. Instead of manually clicking through menus, you simply tell Claude what to design — and it builds it for you.

Example prompts you can use:

  • “Create a new part, draw a circle with radius 30mm and extrude it 15mm”
  • “Add a fillet of 2mm to all edges”
  • “Draw a hexagon and cut extrude it 10mm”
  • “List all features in the current part”

✨ Features

  • ✅ 22 Tools covering parts, sketches, features, and utilities
  • ✅ SolidWorks 2023–2025 Compatible with version-aware API fallbacks
  • ✅ Auto-detects SolidWorks installation via Windows registry
  • ✅ Multi-unit support — mm, cm, inch, meter, foot
  • ✅ Modular architecture — clean, extensible Python package
  • ✅ Robust error handling — cascading fallback chains for COM API
  • ✅ JSON configuration — easy to customize without touching code
  • ✅ Comprehensive logging — full debug output for troubleshooting

🛠️ Available Tools

Category Tool Description
Connection connect_solidworks Connect to running SolidWorks instance
Connection get_solidworks_info Get version and installation info
Documents create_new_part Create a new part document
Documents create_new_assembly Create a new assembly document
Documents open_document Open an existing SolidWorks file
Documents close_document Close the active document
Documents save_document Save the active document
Documents list_open_documents List all open documents
Sketches create_sketch Create a sketch on a plane (Front/Top/Right)
Sketches close_sketch Exit the active sketch
Sketches draw_circle Draw a circle by center and radius
Sketches draw_rectangle Draw a rectangle by two corners
Sketches draw_line Draw a line between two points
Sketches draw_arc Draw an arc by center and angles
Sketches draw_polygon Draw a regular polygon (triangle, hex, etc.)
Features extrude_sketch Boss-extrude the active sketch
Features cut_extrude Cut-extrude to remove material
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "solidworks": { "command": "python", "args": ["C:\\path\\to\\solidworks-mcp\\solidworks_mcp_server.py"] } } }