{"id":49349205,"url":"https://github.com/daedalus/mcp-stl","last_synced_at":"2026-04-27T09:04:28.980Z","repository":{"id":350111397,"uuid":"1201008027","full_name":"daedalus/mcp-stl","owner":"daedalus","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-22T14:51:51.000Z","size":167,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-22T16:33:23.257Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/daedalus.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-04T04:57:19.000Z","updated_at":"2026-04-22T14:51:55.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/daedalus/mcp-stl","commit_stats":null,"previous_names":["daedalus/mcp-stl"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/daedalus/mcp-stl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daedalus%2Fmcp-stl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daedalus%2Fmcp-stl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daedalus%2Fmcp-stl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daedalus%2Fmcp-stl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daedalus","download_url":"https://codeload.github.com/daedalus/mcp-stl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daedalus%2Fmcp-stl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32329484,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-27T09:04:28.305Z","updated_at":"2026-04-27T09:04:28.964Z","avatar_url":"https://github.com/daedalus.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mcp-stl\n\n[![PyPI](https://img.shields.io/pypi/v/mcp-stl.svg)](https://pypi.org/project/mcp-stl/)\n[![Python](https://img.shields.io/pypi/pyversions/mcp-stl.svg)](https://pypi.org/project/mcp-stl/)\n[![Coverage](https://codecov.io/gh/daedalus/mcp-stl/branch/main/graph/badge.svg)](https://codecov.io/gh/daedalus/mcp-stl)\n[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n\nMCP server for editing STL 3D model files. Provides tools for parsing, viewing, and manipulating STL files through the Model Context Protocol.\n\n## Install\n\n```bash\npip install mcp-stl\n```\n\n## MCP Server\n\nmcp-name: io.github.daedalus/mcp-stl\n\n## Tools\n\n### Reading \u0026 Writing\n\n- **read_stl_file**: Read an STL file and return mesh data (vertices, normals, bounding box)\n- **get_mesh_info**: Get summary information about an STL file without loading full geometry\n- **write_stl**: Write mesh data to an STL file (ASCII or binary format)\n\n### Transformations\n\n- **translate_stl**: Translate (move) the mesh by specified X, Y, Z offsets\n- **rotate_stl**: Rotate the mesh around X, Y, or Z axis by a given angle in degrees\n- **scale_stl**: Scale the mesh by specified X, Y, Z factors\n- **shear_stl**: Apply a shear transformation (shift one axis per unit along another)\n- **mirror_stl**: Mirror (reflect) the mesh across the plane perpendicular to a given axis\n- **rotate_stl_axis**: Rotate the mesh around an arbitrary axis vector (Rodrigues' formula)\n- **combine_stl**: Merge multiple STL files into one\n- **array_linear**: Create N copies of the mesh spaced by a fixed X/Y/Z offset\n- **array_circular**: Create N copies of the mesh at equal angular intervals around an axis\n\n### Primitives\n\n- **create_cube**: Create a cube mesh\n- **create_box**: Create a rectangular box (cuboid) with independent width/height/depth\n- **create_sphere**: Create a sphere mesh\n- **create_cylinder**: Create a cylinder mesh\n- **create_cone**: Create a cone mesh\n- **create_torus**: Create a torus (donut) mesh\n- **create_plane**: Create a flat plane mesh\n- **create_capsule**: Create a capsule (cylinder with hemispherical end caps)\n- **create_ellipsoid**: Create an ellipsoid with independent radii on each axis\n- **create_frustum**: Create a frustum (truncated cone)\n- **create_tube**: Create a hollow cylinder (tube/pipe)\n- **create_pyramid**: Create a regular n-sided pyramid\n- **create_prism**: Create a regular n-sided prism (e.g. hexagonal prism)\n- **create_hemisphere**: Create a hemisphere (dome with flat circular base)\n- **create_wedge**: Create a right-triangular wedge (triangular prism)\n\n### Engine-Design Shapes\n\n- **create_gear**: Create a spur gear mesh (configurable module, teeth, pressure angle)\n- **create_spring**: Create a helical coil spring\n- **create_connecting_rod**: Create a connecting rod with big/small-end bores\n- **create_crankshaft**: Create an N-throw crankshaft\n- **create_valve**: Create a poppet valve (stem + head disc)\n- **create_camshaft_lobe**: Create an eccentric cam lobe with cosine nose profile\n\n## Usage\n\n### Python API\n\n```python\nfrom mcp_stl import read_stl_file, create_cube, translate_stl\n\n# Read an existing STL file\nmesh = read_stl_file(\"model.stl\")\nprint(f\"Faces: {mesh.face_count}\")\n\n# Create a primitive\ncreate_cube(\"cube.stl\", size=2.0)\n\n# Transform a mesh\ntranslate_stl(\"input.stl\", \"output.stl\", x=10.0, y=0.0, z=5.0)\n```\n\n### MCP Server\n\nConfigure in your MCP client:\n\n```json\n{\n  \"mcpServers\": {\n    \"mcp-stl\": {\n      \"command\": \"mcp-stl\"\n    }\n  }\n}\n```\n\n## Development\n\n```bash\ngit clone https://github.com/daedalus/mcp-stl.git\ncd mcp-stl\npip install -e \".[test]\"\n\n# run tests\npytest\n\n# format\nruff format src/ tests/\n\n# lint\nruff check src/ tests/\n\n# type check\nmypy src/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaedalus%2Fmcp-stl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaedalus%2Fmcp-stl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaedalus%2Fmcp-stl/lists"}