
Keystone
pro.keystone-corePublished by keystone-core.proOfficial publisherv1.0.0Updated Nov 11, 2026
C4 architecture model of your system, built from code by your AI and read back as focused context.
Overview
Keystone keeps a C4 architecture model of your software that an AI assistant builds from code and reads back as focused context.
- What you can do
- Search, read and traverse the architecture model: elements and tables by name, whole model or one module, dependencies and call paths
- Analyze impact of a change and fetch only what changed since a model version
- Find architecture antipatterns and report validation or antipattern findings against the code
- Propose model changes as branches for human review, and run prompts to build the architecture, describe containers or databases, trace scenarios, record decisions and sync with commits
- Export to PNG, SVG, Markdown with Mermaid, Structurizr DSL and Obsidian notes, and import Structurizr workspaces
- When to use it
- Useful when an assistant works on a codebase whose architecture is documented in Keystone and needs targeted context instead of the whole model, or when you want the diagram kept in step with code changes and reviewed as branches.
- Requirements
- Remote Streamable HTTP endpoint with a bearer token in the Authorization header, created in a project under AI assistant, Connection. Clients that only support local stdio servers need the mcp-remote bridge and Node.js. A Keystone account and project are required; the hosted service has a free plan with limits.
Installation
In SourceWeft
- Open Keystone in the dashboard and add it to a workspace.
- Connect Authorization token credentials. They are stored privately and never shown on public pages.
- Enable the server for the chats that should use its tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Use with an agent
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/pro.keystone-core%2Fkeystone/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Other MCP clients
Add this to your client's mcpServers config.
{
"mcpServers": {
"keystone": {
"type": "http",
"url": "https://keystone-core.pro/mcp",
"headers": {
"Authorization": "Bearer <YOUR_TOKEN>"
}
}
}
}README
Keystone
Understand your system before you change it.
Keystone keeps a C4 model of your software: systems, services, components with their public API, databases down to tables and columns, scenarios and architecture decisions. Your AI coding assistant builds the model from the code in your environment, keeps it in step with the code and reads it back over MCP as context for its next task. Every change arrives as a branch that your team reviews.
- Website: https://keystone-core.pro
- Live demo, no sign-up: https://keystone-core.pro/demo
- Guide: https://keystone-core.pro/docs
- MCP server:
https://keystone-core.pro/mcp(Streamable HTTP, bearer token)
This repository holds no source code: it is the public home of Keystone for its MCP server, docs links and feedback.
[The Keystone editor: a service with its components and labelled relationships]What it does
- Builds the architecture from code. Your AI reads the repository where it already works and proposes the model: context, containers, components, ER diagrams from migrations. Keystone never receives your source code.
- Gives the agent the part it needs. The agent asks for one module, what depends on an element, the path between two elements or only what changed since last time, instead of the whole model.
- Keeps the model current. After code changes the AI checks the diagram against the code and sends a proposal, by hand or from CI: the AI assistant generates the job for GitHub Actions or GitLab CI.
- You stay the reviewer. Every AI proposal arrives as a branch: open it, correct it, merge it or reject it. Merges are three-way, field by field.
- More than boxes. Scenarios, architecture decisions (ADR) bound to elements, impact analysis, antipattern review with remediation plans, comments, live co-editing, roles and access, system design interview practice.
- No lock-in. Export to PNG, SVG, Markdown with Mermaid, Structurizr DSL and Obsidian notes; import a Structurizr workspace (JSON or DSL).
On a question about one module, the module slice took 68–77% fewer input tokens than sending the whole model, with the same facts in the answer. This compares a slice with the whole model, not a whole coding task (method and limits).
Claude Code plugin
Install Keystone as a plugin; Claude Code asks for your token once and keeps it in secure storage:
Connect your AI
- Sign in at https://keystone-core.pro and open a project → AI assistant → Connection → Create token.
- Add the MCP server in the folder with the code of that project, or install the plugin above.
Claude Code
Cursor (.cursor/mcp.json)
VS Code with GitHub Copilot (.vscode/mcp.json)
Gemini CLI (.gemini/settings.json)
Windsurf (~/.codeium/windsurf/mcp_config.json)
Clients with local (stdio) servers only, through the mcp-remote bridge (needs Node.js):
A token follows the current role of its owner in the project: a viewer's token only reads. More in the guide.
Prompts
Ready commands the server offers to your client, for example in Claude Code /mcp__keystone__build_architecture <project link>:
Tools
Reading tools return the part of the model a task needs:
Changes go through propose_changes only: a proposal becomes a branch that a person reviews and merges.
Checks against the code and antipattern findings are reported with report_validation and report_antipatterns.
Plans and hosting
- keystone-core.pro has a free plan with limits.
- Self-hosted inside your own network for companies: contact us.
Feedback
Questions, ideas and bug reports are welcome as issues.
Source: README.md at commit 5a406f2
Tools
0Version history
1- v1.0.0LatestNov 11, 2026
Score
75% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 daysRequired25 pts
- Auth declaredRequired10 pts
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.