MCP-Server

DrapeCut

com.drapecut/drapecut
Design & Kreativ Wissenschaft & Engineering Öffentlich und erreichbar MCP 2025-11-25

Was dieses MCP kann

Simulates composite-fabric draping on CAD surfaces, compares fibre angles, creates multi-piece layouts, and exports DXF or PDF patterns.

compare_drapes
Compare up to 12 warp angles, sequentially, at one fixed seed and cloth configuration. When omitted, seed is suggested once for the first angle. Results rank by coverage descending, then percentage above lock ascending, then maximum shear ascending. This is a stated comparison rule, not a global optimum. Runs use the requested/preset pitch, never a hidden coarse approximation. Export the chosen result promptly: backend result IDs are temporary.
Eingabeschema
{'type': 'object', 'title': 'compare_drapesArguments', 'required': ['workspace_id', 'mesh_id', 'angles'], 'properties': {'seed': {'anyOf': [{'type': 'array', 'items': {'type': 'number'}, 'maxItems': 3, 'minItems': 3}, {'type': 'null'}], 'title': 'Seed', 'default': None}, 'pitch': {'anyOf': [{'type': 'number', 'exclusiveMinimum': 0}, {'type': 'null'}], 'title': 'Pitch', 'default': None}, 'angles': {'type': 'array', 'items': {'type': 'number'}, 'title': 'Angles', 'maxItems': 12, 'minItems': 1}, 'offset': {'type': 'number', 'title': 'Offset', 'default': 0, 'maximum': 50, 'minimum': -50}, 'mesh_id': {'type': 'string', 'title': 'Mesh Id', 'pattern': '^[A-Za-z0-9_-]{1,80}$'}, 'fabric_id': {'type': 'string', 'title': 'Fabric Id', 'default': 'carbon-twill-3k'}, 'hole_area': {'anyOf': [{'type': 'number', 'minimum': 0}, {'type': 'null'}], 'title': 'Hole Area', 'default': None}, 'lock_angle': {'anyOf': [{'type': 'number', 'exclusiveMaximum': 90, 'exclusiveMinimum': 0}, {'type': 'null'}], 'title': 'Lock Angle', 'default': None}, 'workspace_id': {'type': 'string', 'title': 'Workspace Id', 'pattern': '^[0-9a-f]{48}$'}}}
Ausgabeschema
{'type': 'object', 'title': 'compare_drapesDictOutput', 'additionalProperties': True}
create_layout
Start covering one surface with multiple pieces of the same ply/fabric. This is not a laminate stack. overlap is mm; supplied seeds are laid first and additional pieces fill remaining ground, up to max_pieces. Poll the returned job_id with get_job(kind='layout'); export with layout=true.
Eingabeschema
{'type': 'object', 'title': 'create_layoutArguments', 'required': ['workspace_id', 'mesh_id'], 'properties': {'angle': {'type': 'number', 'title': 'Angle', 'default': 0}, 'pitch': {'anyOf': [{'type': 'number', 'exclusiveMinimum': 0}, {'type': 'null'}], 'title': 'Pitch', 'default': None}, 'seeds': {'anyOf': [{'type': 'array', 'items': {'type': 'array', 'items': {'type': 'number'}, 'maxItems': 3, 'minItems': 3}, 'maxItems': 12, 'minItems': 1}, {'type': 'null'}], 'title': 'Seeds', 'default': None}, 'offset': {'type': 'number', 'title': 'Offset', 'default': 0, 'maximum': 50, 'minimum': -50}, 'mesh_id': {'type': 'string', 'title': 'Mesh Id', 'pattern': '^[A-Za-z0-9_-]{1,80}$'}, 'overlap': {'type': 'number', 'title': 'Overlap', 'default': 20, 'minimum': 0}, 'fabric_id': {'type': 'string', 'title': 'Fabric Id', 'default': 'carbon-twill-3k'}, 'hole_area': {'anyOf': [{'type': 'number', 'minimum': 0}, {'type': 'null'}], 'title': 'Hole Area', 'default': None}, 'lock_angle': {'anyOf': [{'type': 'number', 'exclusiveMaximum': 90, 'exclusiveMinimum': 0}, {'type': 'null'}], 'title': 'Lock Angle', 'default': None}, 'max_pieces': {'type': 'integer', 'title': 'Max Pieces', 'default': 6, 'maximum': 12, 'minimum': 1}, 'workspace_id': {'type': 'string', 'title': 'Workspace Id', 'pattern': '^[0-9a-f]{48}$'}}}
Ausgabeschema
{'type': 'object', 'title': 'create_layoutDictOutput', 'additionalProperties': True}
create_workspace
Create a private two-hour workspace and return its ID and CAD upload page. Start here before loading a sample or importing a user's CAD part. The ID and upload/download links grant access; do not publish them.
Eingabeschema
{'type': 'object', 'title': 'create_workspaceArguments', 'properties': {}}
Ausgabeschema
{'type': 'object', 'title': 'create_workspaceDictOutput', 'additionalProperties': True}
export_pattern
Export a result as DXF or tiled 1:1 PDF and return a temporary download_url for the user. Use layout=true with a layout_id to export all pieces. Download before workspace expiry.
Eingabeschema
{'type': 'object', 'title': 'export_patternArguments', 'required': ['workspace_id', 'result_id'], 'properties': {'grid': {'type': 'integer', 'title': 'Grid', 'default': 0, 'maximum': 50, 'minimum': 0}, 'paper': {'enum': ['a4', 'letter', 'a3'], 'type': 'string', 'title': 'Paper', 'default': 'a4'}, 'format': {'enum': ['dxf', 'pdf'], 'type': 'string', 'title': 'Format', 'default': 'dxf'}, 'layout': {'type': 'boolean', 'title': 'Layout', 'default': False}, 'result_id': {'type': 'string', 'title': 'Result Id', 'pattern': '^[A-Za-z0-9_-]{1,80}$'}, 'workspace_id': {'type': 'string', 'title': 'Workspace Id', 'pattern': '^[0-9a-f]{48}$'}}}
Ausgabeschema
{'type': 'object', 'title': 'export_patternDictOutput', 'additionalProperties': True}
get_job
Poll STEP import or multi-piece layout; retry after a short delay while done=false. STEP completion returns a step_id and at most 20 basic face descriptions; use list_faces for geometric descriptions and pagination. Layout completion returns compact per-piece statistics and a layout_id for export_pattern.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'title': 'get_jobArguments', 'required': ['workspace_id', 'kind', 'job_id'], 'properties': {'kind': {'enum': ['step', 'layout'], 'type': 'string', 'title': 'Kind'}, 'job_id': {'type': 'string', 'title': 'Job Id', 'pattern': '^[A-Za-z0-9_-]{1,80}$'}, 'workspace_id': {'type': 'string', 'title': 'Workspace Id', 'pattern': '^[0-9a-f]{48}$'}}}
Ausgabeschema
{'type': 'object', 'title': 'get_jobDictOutput', 'additionalProperties': True}
import_part
Import a file already uploaded to this workspace. Get upload_id from list_uploads. STEP/STP returns a job to poll with get_job(kind='step'), then inspect and select faces.
Eingabeschema
{'type': 'object', 'title': 'import_partArguments', 'required': ['workspace_id', 'upload_id'], 'properties': {'upload_id': {'type': 'string', 'title': 'Upload Id', 'pattern': '^[0-9a-f]{32}$'}, 'workspace_id': {'type': 'string', 'title': 'Workspace Id', 'pattern': '^[0-9a-f]{48}$'}}}
Ausgabeschema
{'type': 'object', 'title': 'import_partDictOutput', 'additionalProperties': True}
list_fabrics
List fabric IDs, nominal locking angles, tow pitch (mm), thickness and UD settings.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'title': 'list_fabricsArguments', 'properties': {}}
Ausgabeschema
{'type': 'object', 'title': 'list_fabricsDictOutput', 'additionalProperties': True}
list_faces
Inspect STEP face IDs, areas, bounds, centroids, neighbours and planar mesh normals. This requires the MCP face-metadata endpoint in the configured backend. Centroids/bounds describe the tessellation; do not assume a closed solid's entire skin is the intended draping surface. Ask for explicit face IDs when the intended surface cannot be identified from this information.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'title': 'list_facesArguments', 'required': ['workspace_id', 'step_id'], 'properties': {'limit': {'type': 'integer', 'title': 'Limit', 'default': 50, 'maximum': 100, 'minimum': 1}, 'offset': {'type': 'integer', 'title': 'Offset', 'default': 0, 'minimum': 0}, 'step_id': {'type': 'string', 'title': 'Step Id', 'pattern': '^[A-Za-z0-9_-]{1,80}$'}, 'workspace_id': {'type': 'string', 'title': 'Workspace Id', 'pattern': '^[0-9a-f]{48}$'}}}
Ausgabeschema
{'type': 'object', 'title': 'list_facesDictOutput', 'additionalProperties': True}
list_samples
List built-in example parts that can be loaded without uploading a file.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'title': 'list_samplesArguments', 'properties': {}}
Ausgabeschema
{'type': 'object', 'title': 'list_samplesDictOutput', 'additionalProperties': True}
list_uploads
List files uploaded through this workspace's upload_url; pass an upload_id to import_part.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'title': 'list_uploadsArguments', 'required': ['workspace_id'], 'properties': {'workspace_id': {'type': 'string', 'title': 'Workspace Id', 'pattern': '^[0-9a-f]{48}$'}}}
Ausgabeschema
{'type': 'object', 'title': 'list_uploadsDictOutput', 'additionalProperties': True}
load_sample
Register a built-in sample and return a mesh_id for draping.
Eingabeschema
{'type': 'object', 'title': 'load_sampleArguments', 'required': ['workspace_id', 'name'], 'properties': {'name': {'type': 'string', 'title': 'Name', 'pattern': '^[A-Za-z0-9_-]{1,80}$'}, 'workspace_id': {'type': 'string', 'title': 'Workspace Id', 'pattern': '^[0-9a-f]{48}$'}}}
Ausgabeschema
{'type': 'object', 'title': 'load_sampleDictOutput', 'additionalProperties': True}
mesh_landmarks
Inspect seed landmarks in mm, paged within each category (max 100 per category). Returns centre, corners, edge midpoints and origin intersections. Full section polylines are omitted. Follow next_offset for more points.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'title': 'mesh_landmarksArguments', 'required': ['workspace_id', 'mesh_id'], 'properties': {'limit': {'type': 'integer', 'title': 'Limit', 'default': 50, 'maximum': 100, 'minimum': 1}, 'offset': {'type': 'integer', 'title': 'Offset', 'default': 0, 'minimum': 0}, 'mesh_id': {'type': 'string', 'title': 'Mesh Id', 'pattern': '^[A-Za-z0-9_-]{1,80}$'}, 'workspace_id': {'type': 'string', 'title': 'Workspace Id', 'pattern': '^[0-9a-f]{48}$'}}}
Ausgabeschema
{'type': 'object', 'title': 'mesh_landmarksDictOutput', 'additionalProperties': True}
run_drape
Drape one fabric at one warp angle (degrees); return statistics and an exportable result_id. Omitted seed is suggested on the surface. Omitted pitch/lock_angle use the fabric preset, including its UD spread/compression settings. pitch/offset are mm; hole_area is mm² (null bridges holes). The API may increase pitch to bound the grid; pitch_used reports the actual resolution. Kinematic shear/locking statistics are not a structural strength calculation.
Eingabeschema
{'type': 'object', 'title': 'run_drapeArguments', 'required': ['workspace_id', 'mesh_id'], 'properties': {'seed': {'anyOf': [{'type': 'array', 'items': {'type': 'number'}, 'maxItems': 3, 'minItems': 3}, {'type': 'null'}], 'title': 'Seed', 'default': None}, 'angle': {'type': 'number', 'title': 'Angle', 'default': 0}, 'pitch': {'anyOf': [{'type': 'number', 'exclusiveMinimum': 0}, {'type': 'null'}], 'title': 'Pitch', 'default': None}, 'offset': {'type': 'number', 'title': 'Offset', 'default': 0, 'maximum': 50, 'minimum': -50}, 'mesh_id': {'type': 'string', 'title': 'Mesh Id', 'pattern': '^[A-Za-z0-9_-]{1,80}$'}, 'fabric_id': {'type': 'string', 'title': 'Fabric Id', 'default': 'carbon-twill-3k'}, 'hole_area': {'anyOf': [{'type': 'number', 'minimum': 0}, {'type': 'null'}], 'title': 'Hole Area', 'default': None}, 'lock_angle': {'anyOf': [{'type': 'number', 'exclusiveMaximum': 90, 'exclusiveMinimum': 0}, {'type': 'null'}], 'title': 'Lock Angle', 'default': None}, 'workspace_id': {'type': 'string', 'title': 'Workspace Id', 'pattern': '^[0-9a-f]{48}$'}}}
Ausgabeschema
{'type': 'object', 'title': 'run_drapeDictOutput', 'additionalProperties': True}
select_faces
Create a drapable mesh from explicitly chosen STEP face IDs; reports connectedness.
Eingabeschema
{'type': 'object', 'title': 'select_facesArguments', 'required': ['workspace_id', 'step_id', 'face_ids'], 'properties': {'step_id': {'type': 'string', 'title': 'Step Id', 'pattern': '^[A-Za-z0-9_-]{1,80}$'}, 'face_ids': {'type': 'array', 'items': {'type': 'integer'}, 'title': 'Face Ids', 'minItems': 1}, 'workspace_id': {'type': 'string', 'title': 'Workspace Id', 'pattern': '^[0-9a-f]{48}$'}}}
Ausgabeschema
{'type': 'object', 'title': 'select_facesDictOutput', 'additionalProperties': True}
server_status
Check the hosted DrapeCut solver and read connection/workspace limits.
Nur Lesen Idempotent
Eingabeschema
{'type': 'object', 'title': 'server_statusArguments', 'properties': {}}
Ausgabeschema
{'type': 'object', 'title': 'server_statusDictOutput', 'additionalProperties': True}
suggest_seed
Suggest a starting point on a mesh. Validate its coverage with an actual drape.
Eingabeschema
{'type': 'object', 'title': 'suggest_seedArguments', 'required': ['workspace_id', 'mesh_id'], 'properties': {'angle': {'type': 'number', 'title': 'Angle', 'default': 0}, 'mesh_id': {'type': 'string', 'title': 'Mesh Id', 'pattern': '^[A-Za-z0-9_-]{1,80}$'}, 'lock_angle': {'type': 'number', 'title': 'Lock Angle', 'default': 45, 'exclusiveMaximum': 90, 'exclusiveMinimum': 0}, 'workspace_id': {'type': 'string', 'title': 'Workspace Id', 'pattern': '^[0-9a-f]{48}$'}}}
Ausgabeschema
{'type': 'object', 'title': 'suggest_seedDictOutput', 'additionalProperties': True}
Hinzugefügt
suggest_seed
3. October 2026 02:40
Hinzugefügt
server_status
3. October 2026 02:40
Hinzugefügt
select_faces
3. October 2026 02:40
Hinzugefügt
run_drape
3. October 2026 02:40
Hinzugefügt
mesh_landmarks
3. October 2026 02:40
Hinzugefügt
load_sample
3. October 2026 02:40
Hinzugefügt
list_samples
3. October 2026 02:40
Hinzugefügt
list_faces
3. October 2026 02:40
Hinzugefügt
list_fabrics
3. October 2026 02:40
Hinzugefügt
import_part
3. October 2026 02:40
Hinzugefügt
get_job
3. October 2026 02:40
Hinzugefügt
export_pattern
3. October 2026 02:40
Hinzugefügt
create_layout
3. October 2026 02:40
Hinzugefügt
compare_drapes
3. October 2026 02:40
Hinzugefügt
list_uploads
3. October 2026 02:40
Hinzugefügt
create_workspace
3. October 2026 02:40