io.github.ChanMeng666/archlang-mcp
ArchLang: compile, describe, lint, validate, score, repair, fix, finish, suggest, complete, link.
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
@chanmeng666/archlang-mcpclaude mcp add archlang-mcp -- npx -y @chanmeng666/archlang-mcp@0.2.29
{
"mcpServers": {
"archlang-mcp": {
"command": "npx",
"args": [
"-y",
"@chanmeng666/archlang-mcp@0.2.29"
]
}
}
}
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
Floor plans as code.
Write a floor plan as text. Get a precise, dimensioned drawing back.
Send this to your agent
Paste this into any coding agent. The skills are listed on skills.sh: https://skills.sh/ChanMeng666/archlang
1. Run: npx -y skills add ChanMeng666/archlang --yes
2. Run: npx -y @chanmeng666/archlang spec (read it before writing anything)
3. Write my floor plan as plan.arch from this brief: <describe rooms, areas, adjacencies>
4. Run: npx -y @chanmeng666/archlang compile plan.arch -o plan.svg --json
then describe plan.arch --json, validate plan.arch --strict --json (same prefix); fix, recompile
5. Run: npx -y @chanmeng666/archlang finish plan.arch, then compile again to export.
For MCP clients: claude mcp add archlang -- npx -y @chanmeng666/archlang-mcp.
https://github.com/user-attachments/assets/a60f3174-6a8c-4a42-b24a-fac030d39627
Try it
npx skills add ChanMeng666/archlang
Then ask your coding agent:
Design a one-bedroom flat of about 54 m², with the front door on the north wall.
It writes the plan, compiles it and checks it. This one is 57 lines of text:
Click the drawing to open this exact plan in the playground. Change a number and it redraws.
Why text
- Change one number, and one thing moves. Nothing else is redrawn.
- The same source gives the same drawing, byte for byte.
- An agent can check its own plan without ever looking at an image.
flowchart LR
B([Brief]) --> W[Write .arch]
W --> C{Compiles?}
C -->|no| F[Apply the fix<br/>the error carries] --> C
C -->|yes| V{Matches<br/>the brief?}
V -->|no| W
V -->|yes| O([SVG · DXF · PDF · PNG])
For your agent
This page is all a person needs. Everything else is written for agents: clone the repo and point yours at AGENTS.md, or give it the whole language in one call:
npx -y @chanmeng666/archlang context
Full overview · Language reference · Release notes (installed: node_modules/@chanmeng666/archlang/CHANGELOG.md) · Contributing · MIT
ArchLang is the engine behind ArchCanvas. Built by Chan Meng.
الأسئلة الشائعة
ما هو io.github.ChanMeng666/archlang-mcp؟
ArchLang: compile, describe, lint, validate, score, repair, fix, finish, suggest, complete, link.
كيف أثبّت io.github.ChanMeng666/archlang-mcp؟
يعمل على جهازك. في Claude Code: claude mcp add archlang-mcp -- npx -y @chanmeng666/archlang-mcp@0.2.29. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج io.github.ChanMeng666/archlang-mcp إلى مفتاح API؟
لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.
هل io.github.ChanMeng666/archlang-mcp مفتوح المصدر؟
نعم. شيفرته متاحة على GitHub بترخيص MIT.
من يصون io.github.ChanMeng666/archlang-mcp؟
ينشره ChanMeng666. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.