accueil / serveurs / Dev & Code / io.github.blackmoon87/autocad-site-mcp
io.github.blackmoon87/autocad-site-mcp
serveur MCP (Model Context Protocol) · autocad-site-mcp-remote 0.1.0
Référencé dans l'annuaire. Seul le pentest comportemental fait foi, et il n'a pas encore été exécuté sur ce serveur.
Est-ce que io.github.blackmoon87/autocad-site-mcp est sûr ?
Au dernier audit MCP Hub, le serveur MCP « io.github.blackmoon87/autocad-site-mcp » est classé « Non encore testé ». Référencé dans l'annuaire. Seul le pentest comportemental fait foi, et il n'a pas encore été exécuté sur ce serveur. Le verdict est réévalué en continu ; consultez la fiche pour l'état à jour.
Méthode : MCP Hub analyse la description de chaque outil (couche 1) et, pour le verdict fort, exécute le serveur dans une micro-VM isolée avec leurres et réseau bloqué (couche 2). On publie des noms et des compteurs, jamais le contenu brut renvoyé par un outil.
Les 19 outils
- cad_add_layers≈ 179 tokens
Creates or configures CAD layers with custom colors (hex), linetypes (Continuous, Hidden, Center, Phantom), and lineweights (0.18, 0.25, 0.35, 0.50, etc.).
Paramètres, retour & exemple (1)
Paramètreslayers· array · requis
List of layer definitions to create
Exemple d'appel{"name": "cad_add_layers", "arguments": {"layers": []}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - cad_batch_add_entities≈ 1453 tokens
Fast batch insertion of multiple CAD entities (LINE, LWPOLYLINE, CIRCLE, ARC, ELLIPSE, XLINE, RAY, DONUT, SOLID, TRACE, WIPEOUT, SPLINE, ARRAY (associative rect/polar/path), MLINE (multiline), TABLE (title, header and data cells), IMAGE (picture embedded in the drawing), TEXT, MTEXT, DIMENSION, TOLERANCE, LEADER, HATCH (pattern or gradient), POINT, INSERT, POLYLINE3D). LINE, POINT and POLYLINE3D points take z.
Paramètres, retour & exemple (1)
Paramètresentities· array · requis
Array of CAD entity definition objects
Exemple d'appel{"name": "cad_batch_add_entities", "arguments": {"entities": []}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - cad_create_block≈ 254 tokens
Defines a reusable Block containing geometric entities and optional attribute definitions (ATTDEF).
Paramètres, retour & exemple (4)
Paramètresname· string · requis
Block name, e.g. "DOOR_900", "TITLE_BLOCK"entities· array · requis
Array of entity definition objects comprising the blockbasePoint· object · optionnel
Insertion base pointattributes· array · optionnel
Optional block attribute definitions
Exemple d'appel{"name": "cad_create_block", "arguments": {"name": "texte", "entities": []}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - cad_execute_script≈ 174 tokens
Executes JavaScript to generate large or procedural geometry (loops, patterns, algorithms) without spending context tokens. Runs in a separate Node process that cannot write files, start programs or read anything outside the CAD sources; 30 s limit. Variables: CAD, M (CADMath), G (CADGeometry), E (CADEntities), S (CADState), D (CADDXF), L (CADLayouts), parametric, solid(recipe) (adds a 3D solid), console. Changes to the drawing are kept.
Paramètres, retour & exemple (1)
Paramètresscript· string · requis
JavaScript code to execute. Can call S.addEntity(), parametric.*, M.*, E.*, etc.
Exemple d'appel{"name": "cad_execute_script", "arguments": {"script": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - cad_export_dxf≈ 111 tokens
Exports the current drawing to a standard AutoCAD 2000 (AC1015) ASCII DXF file compatible with AutoCAD, Civil 3D, SolidWorks, and LibreCAD.
Paramètres, retour & exemple (1)
ParamètresfilePath· string · requis
Path of the .dxf file inside the output folder (CAD_MCP_OUTPUT_DIR, default: the server working directory), e.g. "plans/level1.dxf"
Exemple d'appel{"name": "cad_export_dxf", "arguments": {"filePath": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - cad_export_stl≈ 142 tokens
Exports the closed 3D solids to a binary or ASCII STL file for 3D printing.
Paramètres, retour & exemple (4)
Paramètresids· array · optionnel
Solid ids; default all solidsscale· number · optionnel
Multiplier on the drawing units (default 1)binary· boolean · optionnel
Default true; false writes ASCIIfilePath· string · requis
Path of the .stl file inside the output folder
Exemple d'appel{"name": "cad_export_stl", "arguments": {"filePath": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - cad_export_svg≈ 122 tokens
Renders the drawing or paper space layout to an SVG vector file for instant preview and inspection.
Paramètres, retour & exemple (2)
ParamètresfilePath· string · requis
Path of the .svg file inside the output folder (CAD_MCP_OUTPUT_DIR, default: the server working directory)background· string · optionnel
Background color, e.g. "#ffffff" (default) or "#1e1e1e"
Exemple d'appel{"name": "cad_export_svg", "arguments": {"filePath": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - cad_generate_parametric≈ 150 tokens
Generates complex parametric structures: "structural_grid", "truss", "mechanical_flange", "gear", or "architectural_floorplan".
Paramètres, retour & exemple (2)
Paramètrestype· string · requis · structural_grid | truss | mechanical_flange | gear | architectural_floorplan
Type of parametric structure to generateparams· object · optionnel
Parameters specific to the structure (e.g. baysX, baysY, spacingX, span, height, teeth, module, rooms, etc.)
Exemple d'appel{"name": "cad_generate_parametric", "arguments": {"type": "structural_grid"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - cad_get_stats≈ 59 tokens
Returns comprehensive statistics of the current drawing: entity count, breakdown by type, layers, bounding box extents, blocks, and layouts.
Paramètres, retour & exemple (0)
Exemple d'appel{"name": "cad_get_stats", "arguments": {}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - cad_insert_block≈ 179 tokens
Places an instance (INSERT) of a block into the drawing with transform scale, rotation, and attribute values.
Paramètres, retour & exemple (5)
Paramètresname· string · requis
Name of the block to insertscale· number · optionnel
Uniform scale factor (defaults to 1)position· object · requis
Insertion coordinateattributes· object · optionnel
Key-value map of attribute values for ATTDEF tagsrotationDeg· number · optionnel
Rotation in degrees CCW
Exemple d'appel{"name": "cad_insert_block", "arguments": {"name": "texte", "position": {}}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - cad_list_commands≈ 77 tokens
Lists every implemented AutoCAD command with its aliases and description. Optional filter matches the name, an alias or words in the description (for example "layer" or "dim").
Paramètres, retour & exemple (1)
Paramètresfilter· string · optionnel
Exemple d'appel{"name": "cad_list_commands", "arguments": {"filter": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - cad_new_drawing≈ 70 tokens
Initializes a fresh CAD drawing space, clearing existing entities and resetting layers.
Paramètres, retour & exemple (1)
Paramètresname· string · optionnel
Drawing filename, e.g. "Structural_Frame.dxf"
Exemple d'appel{"name": "cad_new_drawing", "arguments": {"name": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - cad_open_dxf≈ 148 tokens
Opens an existing ASCII DXF file (AutoCAD R12 to 2018+) in place of the current drawing, so it can be edited with cad_run_commands and saved with cad_export_dxf. Returns counts, what was converted, and a warning listing objects that cannot be read (they would be missing from a saved file).
Paramètres, retour & exemple (1)
ParamètresfilePath· string · requis
Path of the .dxf file inside the server folder (CAD_MCP_OUTPUT_DIR, default: the server working directory), e.g. "plans/level1.dxf"
Exemple d'appel{"name": "cad_open_dxf", "arguments": {"filePath": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - cad_open_shared≈ 140 tokens
Opens a shared drawing from Cloudflare D1 storage into the current CAD session by its share ID or URL.
Paramètres, retour & exemple (3)
Paramètresid· string · requis
Share ID (22 chars) or full URL, e.g. "https://autocad.site/?share=k7Qx..."apiUrl· string · optionnel
Optional sharing API endpoint (default: "https://autocad.site")editToken· string · optionnel
Optional edit token if not included in the URL fragment
Exemple d'appel{"name": "cad_open_shared", "arguments": {"id": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - cad_revoke_shared≈ 116 tokens
Revokes and deletes a shared drawing from Cloudflare D1 storage using its ownerToken.
Paramètres, retour & exemple (3)
Paramètresid· string · requis
Share ID or full share URLapiUrl· string · optionnel
Optional sharing API endpointownerToken· string · requis
Owner token received when creating the share
Exemple d'appel{"name": "cad_revoke_shared", "arguments": {"id": "texte", "ownerToken": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - cad_run_commands≈ 411 tokens
Runs AutoCAD command-line input in the current drawing, exactly as typed in the app. Statements are separated by ";" or newlines; inside a statement tokens are separated by spaces and the statement ends with Enter. Example: "LINE 0,0 100,0 100,50; CIRCLE 50,25 10; CHPROP ALL; C red; LAYMRG N DOORS; N WALLS Y; DRAWORDER ALL; F". Every statement ends with Enter, so keep the follow-up answers of one command step in the same statement ("CHPROP ALL; LA WALLS C red"; a question asked after Enter goes in the next statement: "LAYDEL N TEMP; Y"). Objects are selected with ALL or P (previous). Returns the command log and any problems. 3D: points x,y,z; 3DPOLY, ELEV, VIEW (Top, Front, SWiso ...), UCS. 3D solids: BOX, CYL, SPHERE, EXTRUDE, REVOLVE, UNION, SUBTRACT, INTERSECT, MASSPROP. Use cad_list_commands to see every command.
Paramètres, retour & exemple (2)
Paramètresselect· object · optionnel
Optional Quick Select filter applied before the script; the commands then act on it (pre-selection, or P for previous). Example: { "type": "CIRCLE", "property": "radius", "op": "<", "value": 5 }. Properties: color, layer, linetype, lineweight, length, radius, area, text, height, blockname, measurement. Operators: =, <>, >, <, * (any). Text values accept * and ? wildcards. exclude: true inverts the filter.commands· string · requis
Command script
Exemple d'appel{"name": "cad_run_commands", "arguments": {"commands": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - cad_share_drawing≈ 144 tokens
Shares the current drawing online via Cloudflare D1 storage (autocad.site). Returns view and edit URLs that can be shared with users or other agents.
Paramètres, retour & exemple (3)
Paramètresname· string · optionnel
Optional drawing name (defaults to current drawing name)apiUrl· string · optionnel
Optional sharing API endpoint (default: "https://autocad.site")expiresDays· number · optionnel
Expiration in days (e.g. 1, 7, 30; omit or 0 for never)
Exemple d'appel{"name": "cad_share_drawing", "arguments": {"name": "texte", "apiUrl": "texte", "expiresDays": 1}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - cad_solids≈ 151 tokens
Inspects 3D solids: list (id, op, volume, bounds), measure (volume, area, centroid) or check (closed, curve error).
Paramètres, retour & exemple (4)
Paramètresids· array · optionnel
Solid ids; default allfrom· integer · optionnel
Start index; use the reply's next to pagelimit· integer · optionnel
Solids per reply, 1 to 50 (default: as many as fit in 900 bytes)action· string · optionnel · list | measure | check
Default list
Exemple d'appel{"name": "cad_solids", "arguments": {"ids": [], "from": 1, "limit": 1, "action": "list"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]} - cad_update_shared≈ 111 tokens
Uploads and updates the current CAD session drawing to an existing shared drawing using its editToken.
Paramètres, retour & exemple (3)
Paramètresid· string · requis
Share ID or full share URLapiUrl· string · optionnel
Optional sharing API endpointeditToken· string · requis
Edit token
Exemple d'appel{"name": "cad_update_shared", "arguments": {"id": "texte", "editToken": "texte"}}Exemple de retour{"content": [{"type": "text", "text": "…"}]}
C'est votre serveur ?
Revendiquez-le sur l'espace créateur (preuve GitHub, domaine ou npm) pour afficher le badge « propriétaire vérifié » et lancer un pentest comportemental à la demande afin d'obtenir le badge « Vérifié ».