Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Runtime governance enforcement for AI agents. Zero token overhead.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"aegis": {
"command": "npx",
"args": [
"-y",
"aegis-mcp-server"
]
}
}
}在终端中运行这条命令
claude mcp add aegis -- npx -y aegis-mcp-server粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"aegis": {
"command": "npx",
"args": [
"-y",
"aegis-mcp-server"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"aegis": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"aegis-mcp-server"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 cleburn 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.15)于8个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, arr-mcp
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
One server, 40 tools, the whole media stack: *arrs, Jellyfin, Plex, Seerr, Cleanuparr, downloaders
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
MCP enforcement layer for the [Aegis](https://github.com/cleburn/aegis-spec) agent governance specification.
Policy at the root. Enforcement at runtime. Accountability on every action.
aegis-mcp-server is an MCP server that validates every agent action against your .agentpolicy/ files before it happens. Path permissions, content scanning, role boundaries, quality gates — all enforced at runtime with zero token overhead to the agent.
The agent never loads your governance files. The MCP server reads them into its own process memory and validates silently. The agent calls governed tools and gets back either a success or a blocked response with the specific reason.
# Install globally
npm install -g aegis-mcp-server
If you generated your policy with aegis-cli, the .mcp.json connection config is already in your project root. Just install the MCP and open your agent — it connects automatically.
When starting a new agent session in a governed project, use this as your first prompt:
Call aegis_policy_summary now. This is your governance contract — it defines your
role, your boundaries, and which tools to use. Do not take any action until you have called this tool and received confirmation from the user to proceed.
For initial builds, the Aegis CLI generates a custom handoff prompt tailored to your project — use that instead.
The MCP starts without a pre-assigned role. When the agent calls aegis_policy_summary, it receives the list of available roles — including the built-in construction role and all specialist roles from .agentpolicy/roles/. The agent presents them to the user, the user picks, and the agent calls aegis_select_role to lock in. All enforcement uses the selected role for the rest of the session.
This is the default behavior — no configuration needed beyond the .mcp.json that aegis init creates automatically.
The construction role is always available for initial builds and major restructuring. When selected:
.agentpolicy/ files serve as the blueprint — the agent reads constitution, governance, and role files to understand the project's architecture, conventions, and quality standardsstate/overrides.jsonl with a timestamp and human_confirmed: trueaegis_complete_task to run quality gates and close construction mode — the closing timestamp is logged alongside the opening entryConstruction mode is not a bypass — the agent still follows the governance files as its blueprint. It's a speed optimization for greenfield builds where enforcing write restrictions on every file would be counterproductive.
If you know which role to assign at startup:
{
"mcpServers": { "aegis": { "command": "aegis-mcp", "args": ["--project", ".", "--role", "backend"] } } }
The MCP locks to that role immediately. aegis_policy_summary returns the role's boundaries directly, skipping role selection.
| Tool | What it does | Token cost |
|---|---|---|
aegis_policy_summary | Role boundaries and governance summary (or available roles in universal mode) | ~200 tokens |
aegis_select_role | Select a role (including construction) in universal mode | Tiny |
aegis_check_permissions | Pre-check if an operation is allowed | Tiny |
aegis_write_file | Governed write with path + content validation | Same as a normal write |
aegis_read_file | Governed read with path validation | Same as a normal read |
aegis_delete_file | Governed delete with path validation | Tiny |
aegis_execute | Governed command execution | Command output only |
aegis_complete_task | Run quality gates and close construction mode if active | Gate results only |
aegis_request_override | Execute a blocked action after human confirmation | Tiny |
Traditional approach: load governance files into the agent's context window. Token cost scales with policy complexity.
Aegis MCP approach: the server loads policy into its own process memory. The agent calls tools and gets structured results. A project with 200 lines of governance has the same token cost as one with 20 lines. The complexity is absorbed by the server, not the agent.
writable, read_only, forbidden path listspre_commit flags mapped to build_commands and executedoverrides.jsonlWhen an action is blocked and the governance override behavior is warn_confirm_and_log:
override_token and the specific policy violatedaegis_request_override with the token and the user's rationalehuman_confirmed: trueImmutable policies (e.g., HIPAA compliance, ITAR data sovereignty, audit completeness) return override_available: false and cannot be overridden. The user must modify the governance through aegis init.
The Aegis MCP does not override the agent's native directives. It introduces itself through tool descriptions, explains why governance is active, and asks the agent to seek user permission to route write operations through Aegis tools. The user's authority is the enforcement mechanism.
Native tools for reading, searching, and exploring the codebase work fine without governance gating. Only write, delete, and execute operations benefit from routing through Aegis.
Agent ──→ aegis-mcp-server ──→ File System
│ ├── Loads .agentpolicy/ into process memory (once) ├── Watches for policy changes (auto-reload) ├── Validates every tool call against policy ├── Returns success or blocked with override option └── Logs all enforcement decisions to overrides.jsonl
Three artifacts, one governance framework:
MIT