MeshMend MCP Server
Check and repair STL and 3MF meshes on your own computer: holes, flipped faces, inside-out shells.
MeshMend scores 66 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 3 tools. Filed under Uncategorized. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade B
84/100 for listing completeness. Lost points: 1 of 3 tools barely described, short summary.
How quality is graded
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "keith-cy-meshmend-mcp": { "command": "npx", "args": [ "-y", "https://github.com/Keith-CY/meshmend-mcp/releases/download/v0.1.0/meshmend-mcp-0.1.0.mcpb" ] } }}
Environment variables
This server does not declare environment variables.
Tools3Tool docs quality grade C
All capabilitiescheck_meshtoolpath, unit? (mm/cm/in, STL only), item? (3MF build item)
path, item?, outputpath?, overwrite?
repair_meshtoolpath, fillholes? (default false), maxholespanmm? (default 20), outputpath?, unit?, item?, overwrite?
About
Check and repair 3D-printing meshes (STL and 3MF) from an AI assistant that can run tools on your computer: Claude Desktop, Claude Code, Cursor, VS Code, Windsurf, Codex CLI, Gemini CLI or any other MCP client that starts local servers.
Ask “is ~/prints/bracket.stl watertight?”, “why does my slicer say this model has holes?” or “把这个 3MF 转成 STL”: the assistant reads the file on your machine, tells you exactly what is wrong (holes, flipped faces, inside-out shells, non-manifold edges, duplicate triangles), says honestly whether an automatic repair will fix it, and writes a repaired copy next to the original.
Your files never leave your computer. The server runs locally, reads and writes only the files you name, makes no network requests and has no telemetry. The original file is never overwritten. It is the same mesh code as the free in-browser tool at mesh-mend.pages.dev.
npx -y github:Keith-CY/meshmend-mcp
Status: version 0.1.0, on npm as
meshmend-mcp:npx -y meshmend-mcp(needs Node.js 18+).npx -y github:Keith-CY/meshmend-mcp(also needs git) runs the same build, and Claude Desktop users can install the one-click bundle from Releases.
Tools
| Tool | Input | What it does |
|---|---|---|
check_mesh | path, unit? (mm/cm/in, STL only), item? (3MF build item) | Reports size in mm, triangles, shells and every problem with its count, plus a verdict from a trial repair in memory: ok, repairable, partly_repairable or needs_manual_review. Read-only. |
repair_mesh | path, fill_holes? (default false), max_hole_span_mm? (default 20), output_path?, unit?, item?, overwrite? | Removes duplicate and zero-area faces, makes face winding consistent, turns inside-out shells outward and, if asked, caps flat holes. Writes a binary STL in millimetres and reports before and after. |
convert_3mf_to_stl | path, item?, output_path?, overwrite? | 3MF to binary STL in millimetres, with build transforms and units applied and the geometry unchanged. |
Every result comes as readable text and as structured JSON (structuredContent, with an outputSchema). check_mesh is marked read-only; the other two only create new files (destructiveHint: false).
Where results go: next to the input, as <name>.repaired.stl (or <name>.stl for a conversion), then -2, -3, … rather than replacing anything. With output_path, an existing file is replaced only with overwrite: true, and the input file can never be the output.
Connect it
Claude Desktop
One click: download meshmend-mcp-0.1.0.mcpb from Releases and open it (or Settings → Extensions → Advanced settings → Install extension…). Claude Desktop runs it with its built-in Node.js.
Or by hand: Settings → Developer → Edit config and add to claude_desktop_config.json:
{
"mcpServers": {
"meshmend": {
"command": "npx",
"args": ["-y", "github:Keith-CY/meshmend-mcp"]
}
}
}
Claude Code
claude mcp add meshmend -- npx -y github:Keith-CY/meshmend-mcp
Cursor
~/.cursor/mcp.json (or .cursor/mcp.json in a project):
{
"mcpServers": {
"meshmend": { "command": "npx", "args": ["-y", "github:Keith-CY/meshmend-mcp"] }
}
}
VS Code (GitHub Copilot)
.vscode/mcp.json:
{
"servers": {
"meshmend": { "type": "stdio", "command": "npx", "args": ["-y", "github:Keith-CY/meshmend-mcp"] }
}
}
Windsurf
~/.codeium/windsurf/mcp_config.json: the same mcpServers block as Cursor.
Codex CLI
~/.codex/config.toml:
[mcp_servers.meshmend]
command = "npx"
args = ["-y", "github:Keith-CY/meshmend-mcp"]
Gemini CLI
~/.gemini/settings.json:
{ "mcpServers": { "meshmend": { "command": "npx", "args": ["-y", "github:Keith-CY/meshmend-mcp"] } } }
Any other client
Any MCP client that starts local (stdio) servers can run npx -y github:Keith-CY/meshmend-mcp, or node /path/to/meshmend-mcp/dist/meshmend-mcp.js from a checkout (the file has no dependencies). Ready-made files are in examples/clients/.
Give the assistant absolute paths (~ is expanded). Relative paths are resolved from the server’s working directory, which in desktop apps is often not your project folder.
Real files, before and after
From this repository’s tests and a local run (npm test repeats all but the bunny and the sphere):
| File | What check_mesh found | Verdict | After repair_mesh |
|---|---|---|---|
MeshMend’s sample block, 30 × 24 × 24 mm, 19 triangles (missing-patch.stl) | 1 hole (4 open edges), 3 winding conflicts, 1 duplicate face | repairable (with fill_holes) | Closed: duplicate removed, orientation fixed, the 10 × 8 mm hole capped with 2 triangles; 20 triangles |
multibody.stl from trimesh, 32 triangles | 2 inside-out shells, 12 winding conflicts | repairable | Closed and outward |
The Utah teapot (teapot.stl), 894 triangles | 6 open boundaries (64 open edges), 1 non-manifold vertex | needs manual review | Unchanged, and it says why: the holes are curved and the non-manifold vertex needs a decision |
A CAD export (featuretype.STL), 3,476 triangles | 16 open seams (576 open edges) | needs manual review | Unchanged: surfaces whose vertices don’t match exactly, and MeshMend never welds nearby vertices |
The Stanford bunny (bun_zipper.ply as STL, scaled to 156 mm; not included) | 5 open boundaries (223 open edges) in its base, 69,451 triangles | needs manual review | Unchanged even with a 200 mm span: the scan holes aren’t flat |
| A generated 100 mm sphere, 247,499 triangles, 3 holes and 249 flipped faces | 3 open boundaries (13 open edges), 744 winding conflicts | partly repairable | Orientation fixed and 1 flat hole capped; 2 curved holes left for review. About 10 s |
What it fixes, and what it doesn’t
It fixes:
- duplicate faces and zero-area (degenerate) faces;
- inconsistent face winding (flipped normals) across ordinary shared edges;
- closed shells that are inside out, when they don’t overlap other shells;
- with
fill_holes: true: simple flat holes (3–128 boundary vertices) whose bounding-box diagonal is withinmax_hole_span_mm.
It does not:
- weld nearby vertices (only exactly equal coordinates are joined), so it can’t close seams between surfaces;
- split non-manifold edges or vertices, remesh, or rebuild a solid;
- repair self-intersections, union overlapping parts, or check wall thickness, overhangs or supports;
- cap curved holes, nested openings or holes wider than the span;
- guarantee that a model prints. Open the result in your slicer.
Because some openings are intentional, hole filling is off unless asked for. check_mesh runs the repair in memory first, so its verdict says whether repair_mesh will actually help before anything is written.
Limits: 30 MiB per file and 250,000 triangles (the same as the website). 3MF: the primary build, components, transforms, production-extension part references and units; ZIP64, unsupported required extensions, mixed units across parts and G-code-only packages are refused with an explanation. Colours, materials and print settings are not carried into STL.
Privacy
MeshMend’s MCP server works only on your computer. It reads the files you or your assistant name and writes new STL files; it sends nothing anywhere, has no analytics or telemetry, and keeps no logs. Your AI assistant sees the tool results (counts, sizes, file paths and messages) like any other tool output, under that assistant’s own privacy terms.
Development
npm install
npm test # builds dist/ and runs the core, file and end-to-end tests (needs Bun)
npm run pack:mcpb # builds the Claude Desktop bundle into build/
node scripts/call.mjs check_mesh '{"path":"tests/fixtures/missing-patch.stl"}'
src/core/ is MeshMend’s mesh code, copied unchanged from the website so both give the same answers. dist/meshmend-mcp.js is a single bundled file (committed, so npx github: needs no build step); NOTICE lists the bundled packages and their licences.
Licence
MIT. The three trimesh test files are MIT-licensed by their authors (details).
The in-browser version, with a 3D preview and before/after comparison: mesh-mend.pages.dev.
Frequently asked questions
What is MeshMend MCP Server?
Check and repair STL and 3MF meshes on your own computer: holes, flipped faces, inside-out shells.
How do I install MeshMend MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. MeshMend MCP Server runs locally from the MCP bundle https://github.com/Keith-CY/meshmend-mcp/releases/download/v0.1.0/meshmend-mcp-0.1.0.mcpb with the command npx -y https://github.com/Keith-CY/meshmend-mcp/releases/download/v0.1.0/meshmend-mcp-0.1.0.mcpb.
Is MeshMend MCP Server free and open source?
Yes. MeshMend MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does MeshMend MCP Server support remote (HTTP) connections?
No remote endpoint is listed for MeshMend MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does MeshMend MCP Server provide?
MeshMend MCP Server provides 3 tools: check_mesh, convert_3mf_to_stl, and repair_mesh. See the full tool list for descriptions and parameters.
How is MeshMend MCP Server's trust score calculated?
MeshMend MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.