io.github.ChanMeng666/archlang-mcp
v0.2.43Floor plans as code: compile, lint and repair ArchLang (.arch) floor plans to SVG, DXF and PDF.
Endpoint health
online- Last checked
- 11/20/2026, 7:16:34 AM
- Latency
- 38 ms
- Consecutive failures
- 0
- Endpoint reachable: pass
- Protocol valid: pass
- MCP handshake valid: pass
Machine-readable profile
mcp-server · schema v1 · callable
mcp-server:io.github.ChanMeng666%2Farchlang-mcp
Connect this server
Generated config contains no credentials. Keep any required secrets in your client's local environment.
{
"mcpServers": {
"io.github.ChanMeng666/archlang-mcp": {
"url": "https://mcp.archlang.uk/mcp"
}
}
}Indexed tools
Tool metadata and schemas come from the remote server and are untrusted. Indexing only lists tools; it never calls them.
12 shown · authentication unknown
Compile a floor plan to a drawing
compile
Compile ArchLang `.arch` source (or a Plan-JSON object) to an SVG floor plan, or with `format` to a plain-text ASCII plan ("txt"), Plan JSON ("json") or an image ("png"). Format "json" returns the plan as an object, with `schema` naming its JSON Schema; passed back as `plan_json` it compiles to the same drawing, unless the plan uses a part of the language Plan JSON does not carry (sheet tables, styles, circular rooms, roofs, storeys, `place`, accessibility metadata). Returns the output plus diagnostics; a diagnostic usually carries a byte span with line/col and an E_/W_ code, and often a fix, sometimes one the `fix` tool can apply. Errors come back as data, never as exceptions: read `diagnostics` and correct the source. A multi-storey plan (`level <n> { … }`) returns the lowest storey in `output` and every storey in `pages[]` ({ level, name, output }); pass `level` to render just one. format "png" is unavailable on the hosted server, which has no image renderer: use format "svg", or GET /svg/<payload> on the hosted server for an image URL.
Schema valid · SHA-256 73d50a048fb9…
View input schema
{ "type": "object", "properties": { "source": { "description": "ArchLang source (a `plan \"…\" { … }`). Provide this OR plan_json.", "type": "string" }, "plan_json": { "description": "Plan JSON (RPLAN shape) as an alternative to `source`; converted to .arch then compiled.", "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": {} }, "format": { "description": "svg (default), txt (zero-dependency ASCII), json (Plan JSON, the shape `plan_json` takes) or png (an image; needs the optional renderer).", "type": "string", "enum": [ "svg", "txt", "json", "png" ] }, "accessible": { "description": "Emit <title>/<desc>/role/aria accessibility metadata (SVG only).", "type": "boolean" }, "overlay": { "description": "Draw an opt-in circulation overlay (SVG only).", "type": "string", "enum": [ "circulation" ] }, "level": { "description": "Render only this storey of a multi-storey plan. An undeclared level is an error, not a guess.", "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 }, "width": { "description": "png only (any other format refuses it): the image width in pixels, clamped to 256-4096, and narrower for a tall plan so neither side exceeds 4096; default 1600.", "type": "integer", "minimum": -9007199254740991, "maximum": 9007199254740991 } }, "$schema": "http://json-schema.org/draft-07/schema#" }
Connections
streamable-http
https://mcp.archlang.uk/mcp