
Keystone
pro.keystone-core由 keystone-core.pro 发布官方发布者v1.0.0更新于 Nov 11, 2026
C4 architecture model of your system, built from code by your AI and read back as focused context.
概览
Keystone 维护软件的 C4 架构模型,由 AI 助手从代码中构建,并作为聚焦上下文读回给助手。
- 可以做什么
- 搜索、读取与遍历架构模型:按名称查找元素和数据表,获取整体模型或单个模块,查看依赖关系与调用路径
- 分析某个变更的影响范围,并只获取自某个模型版本以来的变化
- 查找架构反模式,并回报针对代码的校验结果与反模式发现
- 以分支形式提交模型变更供人工评审,并运行提示词来构建架构、描述容器或数据库、追踪场景、记录决策以及与提交同步
- 支持导出为 PNG、SVG、Mermaid Markdown、Structurizr DSL 和 Obsidian 笔记,并可导入 Structurizr 工作区
- 适用场景
- 当助手在架构已记录于 Keystone 的代码库上工作、需要针对性上下文而非整个模型时适用;也适合希望架构图随代码变更保持同步并以分支方式评审的场景。
- 运行要求
- 远程 Streamable HTTP 端点,需在 Authorization 请求头中提供 bearer 令牌,令牌在项目的 AI assistant → Connection 中创建。仅支持本地 stdio 服务器的客户端需借助 mcp-remote 桥接并安装 Node.js。需要 Keystone 账号与项目;托管服务提供有限额度的免费方案。
安装
在 SourceWeft 中
- 打开 控制台中的 Keystone,将其添加到工作区。
- 连接 Authorization token 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/pro.keystone-core%2Fkeystone/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"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.
来源:README.md,提交 5a406f2
工具
0版本历史
1- v1.0.0最新Nov 11, 2026
评分
已满足适用检查项的 75%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。