Skopia
com.datatreehaus由 datatreehaus.com 发布官方发布者v0.3.0更新于 Nov 2, 2026
Floor plans in real mm: doors, windows, fixtures; validate, render, elevations, sections, storeys.
概览
Skopia 把设计简述或实测数据转成以真实毫米为单位、彼此一致的建筑平面图、剖面图和立面图,并提供 SVG 渲染与 DXF 导出。
- 可以做什么
- 用 57 种操作的词汇表构建和修改布局,只需指定门窗与家具构件,而不用自己绘制
- 校验布局并按你提供的间距规则检查,错误会指明是哪个对象出了问题
- 把平面图渲染为确定性 SVG,并从同一文档投影出剖面图和立面图
- 跨楼层拼接剖面与立面,并把平面和剖面按真实比例排到图纸上
- 把同样的图纸导出为一个分层 DXF,供 AutoCAD、Revit 或 Vectorworks 使用
- 列出门窗与家具构件库,建议剖切位置、拼接与朝向,并报告测绘中缺失的尺寸
- 适用场景
- 当多张图纸必须彼此吻合、有人会拿图去量尺寸,或智能体无人值守地出图、静默错误无人发现时使用。若只是一次性的草图,直接写 SVG 更省。
- 运行要求
- 远程 MCP 端点,使用 Streamable HTTP。除 initialize 和 ping 外每次调用都需要密钥:提交标签和邮箱即可免费即时获取,然后通过 Authorization Bearer 请求头或 SKOPIA_KEY 环境变量发送。ChatGPT、Claude Desktop 等支持 OAuth 的客户端可通过授权页自动签发密钥。另有 /v1/core、/v1/elevation、/v1/advisory 等更精简的工具集。
安装
在 SourceWeft 中
- 打开 控制台中的 Skopia,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/com.datatreehaus%2Fskopia-floor-plan-layout/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"skopia": {
"type": "http",
"url": "https://skopia.datatreehaus.com/v1"
}
}
}README
Skopia
Describe a building; Skopia draws it — plan, section and elevation, from one document. You give it a brief or a measured survey. It draws the floor plan in a CAD register, in real millimetres, and then projects the section and the elevation of that same building from the same document, so the three drawings cannot disagree with each other. One floor or a whole house. Then a true-to-scale sheet, or a DXF to refine in AutoCAD, Revit or Vectorworks.
Every drawing draws itself, whole and at its own scale: the plan, each section and each elevation come back as an SVG to look at and check. A sheet is where drawings go once they are right, not where you start.
[Ground floor plan of a contemporary house, drawn by the engine]
A contemporary house, ground floor: built and furnished through the operations an agent calls, every fixture from the stock and turned by the wall it names, both cut lines placed by rule. The engine's own render of the document, not a drawing of it.
[Section A-A through the same house, projected from the plan]
Section A–A, cut on the line marked in the plan above and projected from the same document. Nothing here was drawn twice: the window is the plan's window and the kitchen is the plan's kitchen.
[MCP Registry] [Add to Cursor] [Add to VS Code]
Every call needs a key. Getting one is free, instant, and needs no approval.
The one-click installs above carry no key: Cursor reads SKOPIA_KEY from
your environment, VS Code asks for it as it installs.
Quick start
Cursor, VS Code, Codex, .mcp.json and raw HTTP are covered at
/setup.
ChatGPT, Claude Desktop and claude.ai need no key at all. Their
connector dialogs take an MCP server that speaks OAuth, and this one does:
paste https://skopia.datatreehaus.com/v1, and the consent page mints a key
for that connection which you never see. No account is created; the key is
the whole of it, and it is revocable like any other. In a client that can
show one (ChatGPT, or anything on the MCP Apps extension), a plan or a sheet
arrives as a picture rather than as SVG text.
Protocol: MCP over Streamable HTTP. The server is built on revision
2026-07-28 (server/discover, no initialize) and also speaks the
initialize-era revisions — 2025-11-25, 2025-06-18, 2025-03-26,
2024-11-05 — so an ordinary client just connects: open with initialize,
name your revision in MCP-Protocol-Version, and none of the newer
revision's mirrored headers or _meta fields are asked of you. initialize
and ping are the only calls that need no key.
What it does that a model cannot do for itself
A model asked to draw a floor plan will emit SVG, and it will look entirely fine. The walls will not quite close, the elevation will not agree with the plan, and the door will swing out of its hinge. Nothing will fail. That is the problem this exists to remove.
An agent cannot draw a door wrong here, because it does not draw the door. It names one — panelled, part-glazed, three rows — and the same component answers in the plan, the elevation and the section. The swing is derived once and reviewed once, and cannot come out of the hinge on a Tuesday.
- Elevations cannot disagree with the plan. Not through care. A
horizontal position in an elevation is a reference to a plan feature
(
opening:3.jamb.left), so there is no field anywhere that could hold a wrong number. - It asks instead of guessing. Give it a survey and
missing_dimensionstells you which measurements were never actually taken, rather than picking a plausible number that closes the ring. From the moment software invents that number it is indistinguishable from a measured one. - Components are asked for, not drawn.
{"type": "sash", "panes": [3, 2]}is a six-over-six sash. The same window as SVG path data is around fifty times the tokens, and a model can get path data subtly wrong in ways nothing checks. - Refusals name the problem. Typed, permanent error codes saying which object offended, because an agent cannot act on "invalid layout".
- Advisory reads never decide.
suggest_joinsreports which tables could be pushed together and changes nothing. Adjacency may suggest; a person decides. - No regulatory figures ship here. Gangway widths, egress distances and wheelchair ratios are yours to supply and yours to stand behind. Wrong numbers inside software a fire officer reads are a liability, not a bug.
We wrote the alternative, and it was wrong three times
The case for this had to be tested rather than asserted, so the competitor is a real file in our repository: a hand-written script that draws the same house. It was written with the engine's source open — its palette, its wall conventions, its house data — and corrected three times against renders with a person reviewing. It is not a cold run and we will not present it as one.
Which makes the failures sharper rather than softer. Given every one of those advantages, it was still wrong three times.
- The door's swing arc sprang from the hinge instead of the leaf's tip, so it floated into the room ending nowhere near the far jamb.
- Windows were bare white gaps — no frame, no glass line. A hole in a wall, not a window.
- The internal walls had no doors in them at all. Three rooms, no way into any of them.
Every version rendered cleanly. Two of the three faults were invisible at the size the drawing was reviewed at, and the third survived two rounds of review looking perfectly reasonable. An agent running unattended ships it.
Tokens are not the argument. On raw count, a script an agent writes once still beats calling this — the drawing goes to a file, where a tool result comes back into the context — and our own benchmark says so plainly rather than burying it. The argument is that the cheap path's failures are silent, plausible, and found by a human or not at all.
The cheap version is the wrong one, every time.
We have not measured tokens-to-completion for a cold agent. That needs a real run against a brief, with no sight of this engine's source, recorded to the point where the drawings are actually right. We have not done it, and nothing above is quoted as though we had.
And then we ran it ourselves, and it was wrong too
One agent, one brief, this engine, September 2026. It cost about 269,000 tokens and the drawings came out wrong: a section facing the wrong way, a blank section B–B, a two-over-two sash that was not one, 1:50 too small for the sheet, and eight dimension queries too small to read.
- Looking is the job. About 100,000 of those tokens — 37% — were rendering a drawing and looking at it, roughly 8,000 a picture. An agent writing its own SVG has the identical loop at the identical price, so the biggest cost in the job is common to both sides and cancels out of the comparison entirely. Our own benchmark never counted it.
- Reading the engine cost ~65,000 tokens before any work started. Over MCP that is a tool list instead — which is the honest argument for the server, and one we had backwards.
- The refusals did their job. A spot level the schema could not hold and two unused wall thicknesses were reported rather than silently dropped.
So: naming a component removes a class of error, not the category. An agent can still ask for the wrong one, point a section the wrong way, or produce a drawing that comes out blank. We have done all three.
And then the ENGINE was wrong, four times in two days, with its suite green
The most useful evidence we have, because this is code written for nothing else, under 680 tests, and every one of these still shipped and was caught by a person looking at a drawing at a size they could read:
- A section that stopped at the wall head, so a house came back as a box with nothing on top while the elevation beside it drew the roof correctly.
- Then that roof, drawn right, floating above gable walls that stopped at the eaves — a wall stops at the head only where the roof comes down to it.
- One bowed segment refusing every section and every elevation, because the guard sat where both projections shared it.
- Ordinates reaching callers as
-85.66329565734681, because every axis-aligned corner projects to a whole millimetre unaided and nothing showed it until a curve.
If code with a test suite and exactly one job gets those wrong, SVG written in one pass will not get them right. What it will do is render.
The arithmetic, with the numbers. None of it is exotic; it is what an elevation is:
Every one of those renders cleanly, and not one is the sort of thing a reader spots.
We have not run the other side cold. There is no A/B here and we will not imply one.
A house is storeys
[First floor plan of the same house]
The first floor, a second document against the same datum. The stair arrives where the ground floor's leaves; a section through both is one drawing, joined by the engine and checked at the junction.
A storey is not a new kind of thing. Each floor is an ordinary document with
its own heights against one shared datum, and a section or an elevation is
projected from every floor and joined into one drawing: the same wall
stated by two floors is one band from the slab to the eaves, an elevation
face runs through the floor line with no seam, and the junction is drawn as
one outline because every floor's cut is in one region. Alignment comes from
two fixed points you name on every plan (vertex:0.outer — the outer corner,
which stays put when a wall thins upstairs), and it is checked, never
fitted: a rotated survey, a floor that stops short of the one above, or a
ceiling that does not meet the floor construction over it is refused with
the millimetres. The basis is reported in numbers and, on request, drawn on
every plan and joined drawing, so nobody has to take the join on trust.
draw_sheet takes storeys instead of document and does all of this on the
way to the paper.
Furniture that draws itself in section
A bath, a base unit, a WC, a stair: { "op": "add_fixture", "type": "bath", "at": {x, y} } places one at a typical trade size, by the corner that goes
into the room's corner. The plan shows it as what it is; a section sees it
beyond the plane as the face it is looking at, and cuts it as its own
profile — the tub, the worktop over the carcass, the flight's sawtooth —
with which face and which profile derived from how it is turned. Its extent
on the section is a reference to the plan, so it lands where the plan put it.
Twenty-two types, kitchen, bathroom and bedroom, and none of them carries a
regulation: sizes are trade sizes, and clearances are yours to state.
A fixture knows which way it goes
Every type in the stock carries its placement rules: whether its back
belongs against a wall, and how much a person needs clear off each edge to
use it. Place one with against: {wall} and the engine turns it to face
into the room; validation reads the rules back and names a WC facing its
wall, a basin floating, a sofa with its seat to the wall, and what is in the
way. Findings, not refusals.
Roof windows
{ "op": "add_rooflight", "x", "y", "w", "d" } puts a window in the roof.
Which slope it sits in and how far up it are derived from the roof the plan
already carries: it shows on the elevation that faces that slope, at the
height the pitch gives it, and on no other. Through a flat roof a section
opens the ceiling where the plane crosses it, with the kerb and the glass.
A section cuts a PITCHED roof too, when heights.construction.roof gives
its thickness — rafter lines mitred at the ridge, the underside offset
perpendicular to the slope rather than vertically, exact at any cut angle.
The thickness is given, never derived, and absent means not drawn. A wall
stops at wall_head only where the roof comes down to it, so a gable end and
a lean-to's high wall carry on up to the roof's underside rather than leaving
it resting on nothing.
One style, in the engine
Every drawing comes out the same way: solid black poché for what the plane cuts, a white ground inside and out, furniture and fittings as fine outline with no fills, three line weights, one light tone for a roof or a cill seen against a face, one tint for glass. It is how the leading practices present plans, and it lives in the drawing functions rather than in anything you pass — a plan, a section and an elevation of the same house cannot come out in three styles.
Section marks, by rule
A cut line wears a head from a small family, the bubble by default: a
filled triangle pointing the way you look, a circle over it, the reference in
the pointed half. Place it as a point and a direction (add_section with
through and along) and the engine runs the line evenly a metre and a half
past the outer face of the building at both ends. A line given as two points
is measured against that rule, and one that stops short or runs long at one
end is reported with both distances rather than left to be noticed on paper.
The order the work goes in
- The plan.
edit_layout— corners in walking order,close_room, then openings, partitions, fixtures, a roof. You name a door; you never draw one. - Check it.
validate_layoutafter every batch, and act on the findings. A WC facing the tiles or a sofa with nowhere to sit is named. - Look at it.
render_layout. - The section and the elevation.
project_sectionandproject_elevation. Each draws itself — a whole SVG, true to scale — so look at each one.scale: 20to read a junction. This is the step that catches things. - Then paper or CAD.
draw_sheet,export_dxf, or both.
Step 5 is deliberately last. A section in a cell on an A3 at 1:50 is 200mm wide, and a wrong cill or a missing jamb is invisible at that size — a sheet is where drawings go once they are right, not how you find out whether they are.
On to CAD
A drawing produced here is a base drawing somebody refines, not a finished issue — which is exactly what the DXF is for.
export_dxf takes what draw_sheet takes and answers with one DXF: model
space, millimetres, y up, the plan at the document's own coordinates so a
wall measured in AutoCAD is the wall the document stores. Walls are their two
faces and the jambs at every opening, doors have their swings, fixtures and
components are the same primitives the sheet draws, and what a section cuts
is one outlined region with a solid hatch. Layers are named by role — WALL,
DOOR-SWING, CUT-POCHE, EVIDENCE — and carry the engine's three line
weights, so a plot from CAD matches the sheet. Layer names are permanent, so
a practice's own template maps onto them. Sections and elevations go in the
same file, laid out on one datum. The sheet, the title block and the scale
bar stay on the sheet: a DXF is model space.
Open it in AutoCAD, Revit or Vectorworks and take the drawing further. Walls arrive as faces and jambs rather than as a filled band, which is what makes them editable on the other side.
When not to use it
If you want one sketch, once, and nobody is going to build from it, emit the SVG yourself. It is free, it needs no key, and it will be fine.
Reach for this when the drawings have to agree with each other, when somebody is going to measure one, or when nobody is going to be looking over the agent's shoulder.
Tools
Eighteen tools is standing context on every turn, so narrower surfaces exist:
/v1/core, /v1/elevation, /v1/advisory, and they compose
(/v1/core+elevation). A key can carry a profile instead.
Every tool is a pure function and says so over the wire (readOnlyHint,
idempotentHint): nothing is stored, so a client that auto-approves
read-only tools can approve all of these.
Prompts
Four workflows, served as MCP prompts, so a client that lists them shows the order to do things in rather than a vocabulary. In Claude Code they arrive as slash commands.
Each names the tools it uses and is listed only where every one is mounted, so a prompt cannot walk a model into a tool the endpoint does not serve.
Status, honestly
Free, and a demand probe rather than a product. It exists to find out whether anyone wants this. It will be priced eventually and there will be notice first. It is not promised free for ever, and it is not for production you cannot afford to have change under you.
The engine's source is not public. This endpoint is the interface, not the implementation, so this repository contains clients, examples and docs, and no engine code.
Examples
See examples/. They call the hosted endpoint over HTTP and
need nothing installed but curl or node.
来源:README.md,提交 6a13e61
工具
0版本历史
1- v0.3.0最新Sep 16, 2026
评分
已满足适用检查项的 75%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具必需15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。