ArchScript MCP Server
Plan and review software architecture as code — Claude edits the live diagram in ArchScript for Mac.
ArchScript scores 64 (Good), licensed MIT and written in JavaScript. It installs as a local process. It does not declare tools yet. Filed under Developer tools. GitHub shows 1 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
64 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
65/100 for listing completeness. Lost points: no listed tools, short summary.
How quality is graded
Where the 64 comes from
22 + 20 + 1 + 10 + 4 + 7 = 64. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 1 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "schlummer13-archscript-mcp": { "command": "npx", "args": [ "-y", "https://github.com/schlummer13/archscript-mcp/releases/download/v1.0.0/archscript.mcpb" ], "env": { "ARCHSCRIPT_TOKEN": "YOUR_ARCHSCRIPT_TOKEN" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
ARCHSCRIPT_TOKENSecret | Required | Access token from ArchScript → Settings → AI |
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About

ArchScript is an architecture-as-code tool. You describe a system — domains, services, databases, queues, and deployments as cluster → server → Docker container — in a small language. ArchScript draws the diagram, checks the model against architecture rules and exports documentation, a PDF report, Mermaid, PlantUML and Terraform.
ArchScript for Mac includes an MCP server. Claude Desktop, Claude Code and other MCP clients can read the architectures you have open, change them with precise, structured edits, validate them and look at the rendered diagram. Every change appears live in the window and can be undone.
This repository contains the documentation, configuration examples, example models and a small open-source stdio bridge (
server/) for the ArchScript MCP server. ArchScript itself is a closed-source app, available on the Mac App Store. The browser Playground is free.
What Claude can do
| Tool | What it does |
|---|---|
archscript_guide | Learns the language, element types and rules |
list_documents | Lists the open documents (id, name, validity) |
get_document | Reads a document with line numbers and a structure outline |
create_document | Creates a new architecture from ArchScript source |
set_document_source | Replaces a document's source |
edit_document | Structured edits: add, rename, move and delete elements, relations and containers, and set properties, tags and colours |
validate | Returns diagnostics |
review | Returns the review score, grade and rule findings |
render_diagram | Returns the diagram as an image, so the assistant can see the result |
export | Exports Mermaid, PlantUML, Markdown, JSON or Terraform |
The assistant doesn't rewrite your file. It sends small operations (for example
add_element into cluster:Production/server:app-01/container:api). The
ArchScript core turns those into minimal text edits, so comments and formatting
stay intact. After each change the assistant gets the validation result and
review score back, the same feedback loop a human architect uses.
Example prompts
- "Read my architecture and tell me which rules it violates."
- "Add a background worker that sends order emails. Put it in its own container on app-01 and connect the Order API to it."
- "Create an event-driven architecture for a ticket shop with a payment provider and a read model."
- "Export the current model as Terraform for AWS and list what wasn't mapped."
Setup
Requirements: ArchScript for Mac (macOS 14+) with ArchScript Pro (14-day free trial).
- Open ArchScript → Settings → AI and turn on Allow AI assistants (MCP).
- Copy the snippet for your client from that screen. It already contains your personal access token.
Claude Desktop: one-click install (recommended)
- Download archscript.mcpb from the latest release.
- Double-click it, or drag it into Claude Desktop → Settings → Extensions.
- Paste the access token from ArchScript → Settings → AI.
The extension contains no ArchScript code. It holds a manifest and a small
launcher script (mcpb/server/archscript-mcp)
that finds ArchScript for Mac and starts its bundled helper.
Claude Code
claude mcp add --transport http archscript http://127.0.0.1:47621/mcp \
--header "Authorization: Bearer <token from Settings → AI>"
Claude Desktop (manual)
Add the snippet to claude_desktop_config.json, then restart Claude:
{
"mcpServers": {
"archscript": {
"command": "/Applications/ArchScript.app/Contents/MacOS/archscript-mcp",
"args": ["--token", "<token from Settings → AI>", "--port", "47621"]
}
}
}
The bundled archscript-mcp helper bridges stdio to the app and starts
ArchScript when Claude needs it.
Other MCP clients
Any client that supports Streamable HTTP can connect to
http://127.0.0.1:47621/mcp with the header Authorization: Bearer <token>.
Clients that only support stdio can use the helper as shown above, or the
open-source Node bridge in server/ (Node 18+, no dependencies):
{
"mcpServers": {
"archscript": {
"command": "node",
"args": ["/path/to/archscript-mcp/server/index.js"],
"env": { "ARCHSCRIPT_TOKEN": "<token from Settings → AI>" }
}
}
}
Privacy and security
- Local only. The server listens on
127.0.0.1and is never reachable from the network. - Token required. Every request needs your access token. You can regenerate it at any time in Settings → AI.
- Off by default. Nothing runs until you turn it on.
- No telemetry. ArchScript collects no data and sends nothing anywhere. Your AI client only sees what it reads through the tools.
- The helper is sandboxed and only forwards stdio to the local server.
Screenshots
| Visual editing | Review and rules |
|---|---|
![]() | ![]() |
| Inspector | Element library |
![]() | ![]() |
A Docker deployment as code: cluster → servers → containers → services.

Example models
The examples/ folder contains ready-to-use architectures. Open one
in ArchScript for Mac, or paste it into the
Playground:
| File | Architecture |
|---|---|
basic.archs | The smallest useful model |
customer-management.archs | One domain with web app, API and database |
webapp.archs | Classic web application with boundaries |
microservices.archs | Services with their own databases and an event bus |
ddd.archs | Bounded contexts (domain-driven design) |
event.archs | Event-driven, CQRS-style flow |
saas.archs | Production SaaS with gateway and identity provider |
docker.archs | Docker Swarm cluster, servers and containers |
A taste of the language:
project DockerShop
cluster Production {
platform "Docker Swarm"
server "app-01" {
container api {
image "shop/api:1.4"
element service "Order API" as orders { tech "Rust"; owner "Orders Team" }
}
}
}
element frontend "Web Shop" as shop
relation shop -> orders : HTTPS
The full language reference is at archscript.dev/docs.
Feedback
Found a bug in the MCP integration or have an idea for a tool? Please open an issue. Feature requests for ArchScript itself are welcome too.
License
The documentation, configuration snippets, example models and the bridge in
server/ are available under the MIT License. ArchScript for Mac and the
ArchScript core are proprietary software.
Frequently asked questions
What is ArchScript MCP Server?
Plan and review software architecture as code — Claude edits the live diagram in ArchScript for Mac.
How do I install ArchScript MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. ArchScript MCP Server runs locally from the MCP bundle https://github.com/schlummer13/archscript-mcp/releases/download/v1.0.0/archscript.mcpb with the command npx -y https://github.com/schlummer13/archscript-mcp/releases/download/v1.0.0/archscript.mcpb.
Is ArchScript MCP Server free and open source?
Yes. ArchScript MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does ArchScript MCP Server support remote (HTTP) connections?
No remote endpoint is listed for ArchScript MCP Server. It runs locally on your machine over stdio, started by your MCP client.
How is ArchScript MCP Server's trust score calculated?
ArchScript MCP Server scores 64 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.



