{"data":{"name":"io.github.ChanMeng666/archlang-mcp","title":null,"description":"Floor plans as code: compile, lint and repair ArchLang (.arch) floor plans to SVG, DXF and PDF.","version":"0.2.43","websiteUrl":"https://archlang.uk","repositoryUrl":"https://github.com/ChanMeng666/archlang","remotes":[{"type":"streamable-http","url":"https://mcp.archlang.uk/mcp"}],"packages":[{"registryType":"npm","identifier":"@chanmeng666/archlang-mcp","version":"0.2.43","runtimeHint":"stdio","runtimeArguments":null,"environmentVariables":null}],"status":"active","isLatest":true,"publishedAt":"2026-11-12T07:16:37.254Z","updatedAt":"2026-11-12T07:16:37.254Z","source":"official-registry","verification":"official","confidence":100,"stars":null,"sources":[{"source":"official-registry","sourceId":"io.github.ChanMeng666/archlang-mcp","verification":"official","confidence":100,"stars":null,"updatedAt":"2026-11-12T07:16:37.254Z","title":null,"description":"Floor plans as code: compile, lint and repair ArchLang (.arch) floor plans to SVG, DXF and PDF.","websiteUrl":"https://archlang.uk","repositoryUrl":"https://github.com/ChanMeng666/archlang"}],"toolIndex":{"tools":[{"serverName":"io.github.ChanMeng666/archlang-mcp","endpointFingerprint":"ed726d548ebcbd36a471e4eb0c0fbd204899d418d4835cc1045319dd568e1d20","name":"compile","title":"Compile a floor plan to a drawing","description":"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.","inputSchema":{"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#"},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"definitionHash":"73d50a048fb97744dedbe8e71da89af8ebc2abd40bbdb98b6a7b0d15c7238e8d","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-17T12:48:50.150Z","metadataTrust":"untrusted"},{"serverName":"io.github.ChanMeng666/archlang-mcp","endpointFingerprint":"ed726d548ebcbd36a471e4eb0c0fbd204899d418d4835cc1045319dd568e1d20","name":"complete","title":"Completions at a source offset","description":"List the completion items in scope at a source byte offset: keywords, element names, ids and enum values, the same items an editor's language server offers. For structured or assisted authoring.","inputSchema":{"type":"object","properties":{"source":{"type":"string","description":"ArchLang source."},"at":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Source byte offset to complete at."}},"required":["source","at"],"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"definitionHash":"c2143e68df7d0418b97b527f8f3b056aebcd3898dba3a1e194fdfbe7b3777461","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-17T12:48:50.150Z","metadataTrust":"untrusted"},{"serverName":"io.github.ChanMeng666/archlang-mcp","endpointFingerprint":"ed726d548ebcbd36a471e4eb0c0fbd204899d418d4835cc1045319dd568e1d20","name":"describe","title":"Describe a plan (facts, no render)","description":"Report a plan's facts without rendering, so you can check it against the brief without looking at an image. Returns rooms (`area_m2`, measured on the wall centrelines; `net_area_m2`, the floor no wall stands on, absent when it cannot be computed exactly; bbox, adjacency, use, and the exact shape: `floor_polygon` for a `room polygon`, `floor_circle` for a `room circle`, whose area is exactly πR²), doors (what each connects), windows, circulation (walk distance, bottleneck width, detour), zones, storeys (`levels[i]` carries the same facts per floor) with the shafts that join them and which storeys stay reachable (`vertical`), the drawing extent (`bbox`, `bbox_outer`), `freedom` (which positions are hand-authored and which are derived), and totals (`floor_area_m2` on centrelines, `net_floor_area_m2` beside it, absent when any room's net area is).","inputSchema":{"type":"object","properties":{"source":{"type":"string","description":"ArchLang source."}},"required":["source"],"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"definitionHash":"5c5f5cc12ee34092b90fa723810249a984bbf9c317d3ebbb92a4107a87b1ea08","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-17T12:48:50.150Z","metadataTrust":"untrusted"},{"serverName":"io.github.ChanMeng666/archlang-mcp","endpointFingerprint":"ed726d548ebcbd36a471e4eb0c0fbd204899d418d4835cc1045319dd568e1d20","name":"finish","title":"Finish the drawing","description":"Complete a plan for export by adding what it lacks; run it once `lint` is clean. Two stages. `furnish` puts furniture, by room use, in each rectangular room that holds none, on every storey (a furnished room is never touched, and one that lacks a piece its use requires is named in `unresolved` with the missing pieces, not filled; placement is `against wall` / `in <room> anchor`, never absolute). `sheet` adds the sheet statements the plan lacks (`paper`, `scale`, `dims auto`, `title`, `schedule rooms`, `legend`), choosing the finest standard scale on the smallest sheet that holds the drawing. It fills only what is missing and deletes nothing; `only` runs one stage; `reissue:true` may replace `paper`/`scale` (only those) when the drawing does not fit them. Returns { ok, changed, changes, unresolved, source }; a plan that does not compile comes back untouched with `ok:false`, and every room left empty (its use has no furniture row or is unknown, or furnishing it would raise a new diagnostic) and every sheet statement left out is named in `unresolved` with the reason; a note with `scope` set (`outside-table`) asks nothing of you unless that room should hold furniture.","inputSchema":{"type":"object","properties":{"source":{"type":"string","description":"ArchLang source to finish."},"only":{"description":"Run only this stage. Default: `furnish`, then `sheet`.","type":"string","enum":["sheet","furnish"]},"reissue":{"description":"Allow `paper` and `scale` to be replaced when the drawing does not fit the authored sheet.","type":"boolean"}},"required":["source"],"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"definitionHash":"77e4e58a4f18ee5c15b445e7022529b032c1f981b51198c78b92f29b5253f62b","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-17T12:48:50.150Z","metadataTrust":"untrusted"},{"serverName":"io.github.ChanMeng666/archlang-mcp","endpointFingerprint":"ed726d548ebcbd36a471e4eb0c0fbd204899d418d4835cc1045319dd568e1d20","name":"fix","title":"Apply machine-applicable diagnostic fixes","description":"Apply the machine-applicable fixes attached to a plan's compile diagnostics and return the edited source. It corrects source-level faults (an opening off its wall becomes the attachment form, an out-of-range position is clamped, …); furniture geometry is `repair`'s job. It runs at most 4 passes and rolls back a pass that raises the error count. `unsafe:true` also applies `maybe-incorrect` fixes. Returns { ok, passes, applied, skipped, source }.","inputSchema":{"type":"object","properties":{"source":{"type":"string","description":"ArchLang source to fix."},"unsafe":{"description":"Also apply `maybe-incorrect` fixes (default: machine-applicable only).","type":"boolean"}},"required":["source"],"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"definitionHash":"fa2bd4f957f56b71c04bfb552cd5c5b24d553110fc1cd68ecda28a9cfe458d02","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-17T12:48:50.150Z","metadataTrust":"untrusted"},{"serverName":"io.github.ChanMeng666/archlang-mcp","endpointFingerprint":"ed726d548ebcbd36a471e4eb0c0fbd204899d418d4835cc1045319dd568e1d20","name":"link","title":"Share link to the rendered plan","description":"Make two URLs that show a plan in the browser with nothing to install, for handing to a person. `playground` opens it in the hosted editor, rendered; `embed` draws it alone, for an iframe. The plan travels inside the URL, after the `#`, so it is never sent to a server and the URL carries nothing else. A plan that does not compile still gets links, and the page shows its diagnostics; `ok` says whether it compiles, and `errors` counts the errors when it does not. `bytes` is the size of the compressed plan in the URL.","inputSchema":{"type":"object","properties":{"source":{"type":"string","description":"ArchLang source."}},"required":["source"],"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"definitionHash":"3a404dcfa266a84bed1625449273b398424d1bc283a7dda357873d07efc44afd","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-17T12:48:50.150Z","metadataTrust":"untrusted"},{"serverName":"io.github.ChanMeng666/archlang-mcp","endpointFingerprint":"ed726d548ebcbd36a471e4eb0c0fbd204899d418d4835cc1045319dd568e1d20","name":"lint","title":"Lint architectural soundness","description":"List advisory architectural-soundness warnings (`W_*` codes) as data: unreachable room, windowless bedroom, too-narrow door, blocked doorway, furniture through a wall, circuitous path, and more. `profile` selects a ruleset (\"residential-basic\", \"accessibility-advisory\", …).","inputSchema":{"type":"object","properties":{"source":{"type":"string","description":"ArchLang source."},"profile":{"description":"Advisory ruleset name (default: the built-in ruleset).","type":"string"}},"required":["source"],"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"definitionHash":"d7c15d19c68541d28d9cb13f5f0ac2f5d99241ec5664b86166432a3a6a5a134a","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-17T12:48:50.150Z","metadataTrust":"untrusted"},{"serverName":"io.github.ChanMeng666/archlang-mcp","endpointFingerprint":"ed726d548ebcbd36a471e4eb0c0fbd204899d418d4835cc1045319dd568e1d20","name":"read_me","title":"How to use this server","description":"Explain this hosted ArchLang server in one short page: the authoring loop, the size cap, what is unavailable here, how to get an image URL for a plan, and what the server keeps (nothing). Call it first when unsure.","inputSchema":{"type":"object","properties":{},"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"definitionHash":"a1e77be5be4eabb4eaa0dfe50986f4f712926a8cda205c9fb206df481c0af51e","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-17T12:48:50.150Z","metadataTrust":"untrusted"},{"serverName":"io.github.ChanMeng666/archlang-mcp","endpointFingerprint":"ed726d548ebcbd36a471e4eb0c0fbd204899d418d4835cc1045319dd568e1d20","name":"repair","title":"Repair furniture placement","description":"Correct furniture placement and return the corrected `.arch` source with a change log. It pushes furniture out of walls, doorways and door swings, separates overlapping pieces, moves fixtures that sit in the wrong room, and snaps floating pieces to walls. A piece it may not rewrite is listed in `unresolved` with the reason. It never adds doors or windows (that is a design choice); use `suggest` for those.","inputSchema":{"type":"object","properties":{"source":{"type":"string","description":"ArchLang source to correct."}},"required":["source"],"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"definitionHash":"f87f5f52670e149b6625f384edefa0821811a585861a628ec8760cf9d94a3a0c","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-17T12:48:50.150Z","metadataTrust":"untrusted"},{"serverName":"io.github.ChanMeng666/archlang-mcp","endpointFingerprint":"ed726d548ebcbd36a471e4eb0c0fbd204899d418d4835cc1045319dd568e1d20","name":"score","title":"Score a plan against a brief (intent meter)","description":"Measure how much of a brief's intent JSON a plan satisfies, without gating. Returns { ok, satisfied, total, score, subscores, violations }, where `score` is satisfied/total in [0,1] (an empty intent scores 1); call it across edits to watch a plan approach the brief. The intent's shape is the `archlang://intent-schema` resource. A malformed intent returns `{ ok:false, intentErrors }` as data, never an exception.","inputSchema":{"type":"object","properties":{"source":{"type":"string","description":"ArchLang source."},"brief":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{},"description":"A brief's intent JSON (shape: the archlang://intent-schema resource) to measure against."}},"required":["source","brief"],"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"definitionHash":"fd21453411fd4946c27f9e366fcd7fee604e9556a7d35facc00862727516948f","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-17T12:48:50.150Z","metadataTrust":"untrusted"},{"serverName":"io.github.ChanMeng666/archlang-mcp","endpointFingerprint":"ed726d548ebcbd36a471e4eb0c0fbd204899d418d4835cc1045319dd568e1d20","name":"suggest","title":"Suggest topology fixes (advisory)","description":"Suggest the doors and windows a plan's room graph needs, as data; nothing is applied. For a room with no path back, a building with no entrance, a bath reachable only through a bedroom, or a windowless bedroom, it returns ready-to-paste `door`/`window` statements with a rationale, for you to choose among and insert. Each names its wall by an authored id or a unique wall category, else by absolute `at (x, y)` coordinates. Door candidates avoid furniture in the door's approach; window candidates do not consider furniture.","inputSchema":{"type":"object","properties":{"source":{"type":"string","description":"ArchLang source."}},"required":["source"],"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"definitionHash":"1c68195c4b5345181593269efa05f26aaef3b29848c92a18058b9bff5571cd89","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-17T12:48:50.150Z","metadataTrust":"untrusted"},{"serverName":"io.github.ChanMeng666/archlang-mcp","endpointFingerprint":"ed726d548ebcbd36a471e4eb0c0fbd204899d418d4835cc1045319dd568e1d20","name":"validate","title":"Validate (parse + resolve + lint)","description":"Check a plan in one pass without returning a drawing (parse, resolve and lint): the gate a plan passes before it ships. `strict:true` makes advisory warnings fail too. Optional `graph` checks the plan's interior-door adjacency against an intended room graph (`{ room: [neighbours] }`); a mismatch fails. Optional `intent` (a brief's expectations, shaped as the `archlang://intent-schema` resource describes) is checked against the plan: a missed gating assertion (room count, existence, area, total area, windows) fails, while adjacency and reachability are advisory and only score. `profile` lints under a named ruleset as well, and its warnings are the ones reported; `taste` scores the plan under a taste profile, which never fails it. `next` is the one item to fix first, chosen in a fixed order (an error, a compile warning, a validity warning, a drafting warning, the brief and the graph, a profile-only warning, then the lowest taste score), or null when nothing is left; a broken `soft` keep is not weighed here yet, so where the CLI's `validate` names it this returns a later item, or null. A malformed intent returns `{ ok:false, intentErrors }` and an unknown profile `{ ok:false, error }` as data, never an exception. Returns { ok, diagnostics, graph?, intent?, next }.","inputSchema":{"type":"object","properties":{"source":{"type":"string","description":"ArchLang source."},"strict":{"description":"Advisory warnings fail too.","type":"boolean"},"graph":{"description":"Intended interior-door adjacency: { room: [neighbour rooms] }.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"array","items":{"type":"string"}}},"intent":{"description":"A brief's intent JSON (shape: the archlang://intent-schema resource); gating assertions fail.","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"profile":{"description":"Advisory lint ruleset to report under (\"residential-basic\", \"accessibility-advisory\", …); default: the built-in ruleset.","type":"string"},"taste":{"description":"Taste profile that ranks `next`'s taste tier (for example \"generic\"); it never fails the plan.","type":"string"}},"required":["source"],"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"readOnlyHint":true,"destructiveHint":false,"idempotentHint":true,"openWorldHint":false},"definitionHash":"c99347dcd4cbce486f8124fc0a783eac85618c65c076e7e8eda0fac5cf0e5dd8","schemaStatus":"valid","origin":"official-registry","observedAt":"2026-11-17T12:48:50.150Z","metadataTrust":"untrusted"}],"endpoints":[{"endpointFingerprint":"ed726d548ebcbd36a471e4eb0c0fbd204899d418d4835cc1045319dd568e1d20","protocol":"streamable-http","status":"indexed","toolCount":12,"observedAt":"2026-11-17T12:48:50.150Z"}],"authentication":"unknown"},"connectionConfigurations":{"status":"ready","authentication":"not embedded","clients":{"Claude Desktop":{"mcpServers":{"io.github.ChanMeng666/archlang-mcp":{"url":"https://mcp.archlang.uk/mcp"}}},"Cursor":{"mcpServers":{"io.github.ChanMeng666/archlang-mcp":{"url":"https://mcp.archlang.uk/mcp"}}},"VS Code":{"servers":{"io.github.ChanMeng666/archlang-mcp":{"type":"http","url":"https://mcp.archlang.uk/mcp"}}}}},"resourceType":"mcp-server","callable":true,"runtime":{"callable":true,"protocols":["mcp"]},"interfaces":[{"protocol":"mcp","transport":"streamable-http","url":"https://mcp.archlang.uk/mcp"},{"protocol":"mcp","package":"@chanmeng666/archlang-mcp","registryType":"npm","version":"0.2.43"}],"profile":{"apiVersion":"1","schemaVersion":"1","id":"mcp-server:io.github.ChanMeng666%2Farchlang-mcp","resourceType":"mcp-server","canonicalUrl":"https://www.agentsjunction.com/api/v1/servers/io.github.ChanMeng666%2Farchlang-mcp","name":"io.github.ChanMeng666/archlang-mcp","description":"Floor plans as code: compile, lint and repair ArchLang (.arch) floor plans to SVG, DXF and PDF.","interfaces":[{"protocol":"mcp","transport":"streamable-http","url":"https://mcp.archlang.uk/mcp"},{"protocol":"mcp","package":"@chanmeng666/archlang-mcp","registryType":"npm","version":"0.2.43"}],"capabilities":[],"identity":{"source":"official-registry","websiteUrl":"https://archlang.uk","repositoryUrl":"https://github.com/ChanMeng666/archlang","version":"0.2.43"},"verification":{"state":"official","confidence":100},"operations":{"resourceType":"mcp-server","name":"io.github.ChanMeng666/archlang-mcp","status":"online","lastCheckedAt":"2026-11-20T07:16:34.266Z","lastSuccessfulCheck":"2026-11-20T07:16:34.266Z","latencyMs":38,"consecutiveFailures":0,"isStale":false,"checks":{"endpointReachable":true,"protocolValid":true,"agentCardValid":null,"mcpHandshakeValid":true},"lastSeen":null,"lastSuccessfulInteraction":null,"lastHealthCheck":"2026-11-20T07:16:34.266Z","source":{"type":"health-check","url":null},"observedAt":"2026-11-20T07:16:34.266Z"},"security":null,"timestamps":{"createdAt":"2026-11-12T07:16:37.254Z","updatedAt":"2026-11-12T07:16:37.254Z","observedAt":"2026-11-20T07:16:34.266Z"},"compatibility":{"serverVersion":"0.2.43","protocolVersions":[{"protocol":"mcp","version":null}]}}}}