Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Model, measure and verify parametric parts and assemblies in a running SolidWorks (Windows).
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"solidworks": {
"command": "uvx",
"args": [
"solidworks-mcp"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add solidworks -- uvx solidworks-mcpวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"solidworks": {
"command": "uvx",
"args": [
"solidworks-mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"solidworks": {
"type": "stdio",
"command": "uvx",
"args": [
"solidworks-mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub hjbaard ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.19.0) เข้า registry 4 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Asset Notation
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Read and maintain an Asset Notation file on disk: net worth, holdings, valuations, CSV import.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Let an AI agent (Claude, or any other MCP client) model real parametric parts and assemblies in your own SolidWorks — and check its own work. Every modelling call returns the measured volume, mass and bounding box, so the agent can compare the result with the spec and correct itself instead of guessing that it "looks about right".
Built by the tools themselves: a mounting bracket (every step checked against a hand calculation), an M10 bolt with a real thread, a revolved + shelled vase, a swept pipe, a lofted + shelled horn.
width@Sketch1), so the part stays editable, in SolidWorks or through the agent.{ok: false, error} with the cause, never silently wrong geometry.Claude Code:
claude mcp add solidworks -- uvx solidworks-mcp
Claude Desktop (claude_desktop_config.json) or any other client:
{
"mcpServers": { "solidworks": { "command": "uvx", "args": ["solidworks-mcp"] } } }
It is also listed in the official MCP Registry as io.github.hjbaard/solidworks-mcp.
Design a 100 × 80 × 8 mm mounting plate with a Ø16 mm centre bore, four
counterbored M5 holes 12 mm from the corners and R5 corners. Check the
volume against your own calculation, then export a fine STL.
The server hands every MCP client short modelling guidelines when it connects (conventions, verify each step, known pitfalls). The full guide is the resource solidworks://guide: recipes for holes, ribs, threads and assemblies, 3D-print advice, and how to reverse-engineer a part from a mesh (STL/3MF). The same text is in src/solidworks_mcp/guide.md.
.prtdot, and set that file as the part template under Tools > Options > System Options > Default Templates. uvx solidworks-mcp --selftest
It builds a few small parts, compares each with a hand calculation and closes them unsaved. Please paste its output in a compatibility report, whether it worked or not.
Status: early (0.x). It works end-to-end, but tool names and conventions may still change. See CHANGELOG.md.
uvx solidworks-mcp --selftest shows your SolidWorks release, language and templates, and which tool areas work. Add its output to a bug report.GetActiveObject and does not launch one.gen_py folder. Let it finish; if it gets into a bad state, delete the gen_py cache and retry. Early binding is mandatory on this build (see Architecture).scripts/introspect_api.py to inspect your installed typelib.Clone the repository, then install it editable into a venv:
python -m venv .venv
.\.venv\Scripts\python.exe -m pip install -e .[dev]
To run the MCP server from this checkout instead of via uvx, point your client at the venv's Python:
{
"mcpServers": { "solidworks": { "command": "C:\\path\\to\\SolidWorks-MCP\\.venv\\Scripts\\python.exe", "args": ["-m", "solidworks_mcp.server"] } } }
With SolidWorks open:
.\.venv\Scripts\python.exe scripts\probe_connection.py # M0
.\.venv\Scripts\python.exe scripts\m1_block.py # M1 .\.venv\Scripts\python.exe scripts\m2_parametric.py # M2 .\.venv\Scripts\python.exe scripts\test_mcp_server.py # M3 (full MCP loop over stdio) .\.venv\Scripts\python.exe scripts\m5_demo_bracket.py # M5 (3D-print bracket, every step verified)
scripts/introspect_api.py regenerates/inspects the installed typelib and prints verified enum values — run it if SolidWorks is upgraded and signatures change.
.\.venv\Scripts\python.exe -m pytest # all tests
.\.venv\Scripts\python.exe -m pytest -m "not solidworks" # fast unit layer, no SolidWorks
Two layers: pure unit tests (units, selector/direction parsing, polygon cleaning, the component-placement maths, and that every MCP tool forwards its arguments to the right session method) run anywhere; integration tests (solidworks marker) drive a running SolidWorks and verify each feature's volume — or each component's placement — against a hand calc. They auto-skip if SolidWorks isn't reachable.
The server speaks MCP over stdio.
| Tool | Purpose |
|---|---|
get_status | Is SolidWorks reachable? revision, server version, active/current part |
new_part | Create a new empty part (becomes current) |
add_box(width_mm, height_mm, depth_mm, name) | Sketch rectangle + extrude; returns mass properties |
add_cylinder(diameter_mm, height_mm, name) | Cylinder by revolving a profile 360° about an axis (Y axis) |
add_disc(diameter_mm, thickness_mm, name, x_mm, y_mm) | Disc/puck/flange: circle extruded along +Z, centred at (x, y) (holes/patterns compose) |
add_cone(bottom_diameter_mm, top_diameter_mm, height_mm, name) | Cone/frustum by revolve (top Ø = 0 → full cone) |
add_revolved_profile(profile_mm, angle_deg, name, corner_radii_mm, axis_mm) | Revolve any closed (radius, height) profile about the Y axis (shafts, vases, rings), or [x, y] points about any line axis_mm on the Front plane; corner_radii_mm rounds its edges |
add_swept_pipe(path_mm, diameter_mm, bend_radius_mm, name, smooth) | Sweep a round profile along a 2D path with rounded bends (pipes, tubes, rods), or along a spline through the points with smooth=True |
add_swept_profile(profile_mm, path_mm, bend_radius_mm, name, corner_radii_mm) | Sweep any closed cross-section along a 2D path (rails, gaskets, trim, channels); corner_radii_mm rounds the cross-section |
add_lofted_solid(profiles_mm, heights_mm, name) | Loft/blend 2+ polygon or round profiles on stacked parallel planes (transitions, adapters, a leg thick at the knee) |
loft_sketches(sketches, name) | Loft through 2+ closed sketches on any planes, in order, so a loft runs in any direction |
add_rib(start_mm, end_mm, toward_mm, thickness_mm, z_mm, name) | Straight rib / gusset in a plane parallel to Front at z_mm, grown toward toward_mm until it meets the part (L-bracket gussets) |
add_extruded_profile(points_mm, depth_mm, name, corner_radii_mm, rotate_deg, about_mm, draft_deg, merge) | Extrude any closed polygon [[x,y],…] (brackets, sections); corner_radii_mm rounds its corners with real sketch fillets, each radius a dimension; rotate_deg turns it about a pivot; draft_deg tapers its walls; merge=False keeps a separate body |
add_plane(base, offset_mm, angle_deg, about, name) | A reference plane offset from a plane, or turned about a model axis; its offset or angle a dimension; gives its origin and axes |
add_extruded_profile_on_plane(points_mm, plane, depth_mm, reverse, name, corner_radii_mm, draft_deg, merge) | Extrude a polygon drawn on any plane (3D points on it), merged with the part |
list_bodies() | The part's solid bodies: name, volume, bounding box |
| combine_bodies(operation, main, tools, name) | Add, su
ตัดมาแค่ช่วงต้น อ่านต่อใน repo