Infraveil MCP server
A hardened, self-hosted MCP server that lets AI agents query and govern an Infraveil control plane in-loop, reading state and filing deploy/remediation requests that require human approval.
README
<!-- mcp-name: io.github.infraveilhq/control-plane -->
Infraveil MCP server
A hardened, self-hosted Model Context Protocol server that lets your own AI agent query and govern your Infraveil control plane in-loop — read the governed state of your backend, and file deploy and remediation requests that always pass through human approval.
It is built on the same principle as the rest of Infraveil: trust by inspection, not assertion. This server adds no new authority and no new auth surface. It signs every request with the token your agent already holds, and it verifies the control plane's signed responses in return — so neither side can be forged on the wire. You can read every line here and diff the signing code against the published agent source; they are the same scheme.
Why this exists
The MCP ecosystem's security is, bluntly, bad — most public MCP servers require no auth at all. An MCP server that hands an AI agent operational reach into your backend is exactly the thing that should not be unauthenticated. This one:
- Signs both directions (HMAC-SHA256 over a canonical request/response, keyed by your per-agent token; nonce + timestamp replay protection).
- Cannot apply a change by itself.
request_deployandremediateenqueue a request into the control plane's human-approval queue and return the approval URL. There is no code path here that mutates your infrastructure. - Is least-privilege. The token is scoped to one client/agent; tenancy is enforced by the control plane. This process holds no more authority than the agent already running on the host.
Install
pip install infraveil-mcp
Configure
The server reuses your existing Infraveil agent identity — it never mints credentials. Either set the environment variables:
export INFRAVEIL_BASE_URL=https://api.infraveil.com
export INFRAVEIL_CLIENT_ID=...
export INFRAVEIL_AGENT_ID=...
export INFRAVEIL_AGENT_TOKEN=... # your agent's existing token
…or point it at your rendered agent source and let it read the ids and token straight out of the file you can already inspect:
export INFRAVEIL_AGENT_FILE=/opt/infraveil/agent.py
Claude Desktop / Claude Code
{
"mcpServers": {
"infraveil": {
"command": "infraveil-mcp",
"env": {
"INFRAVEIL_BASE_URL": "https://api.infraveil.com",
"INFRAVEIL_CLIENT_ID": "...",
"INFRAVEIL_AGENT_ID": "...",
"INFRAVEIL_AGENT_TOKEN": "..."
}
}
}
}
Tools
Read (no side effects):
| Tool | What it returns |
|---|---|
get_agent_status |
Fleet/agent state: online/offline, heartbeats, CPU/mem/disk, deploy state |
get_security_findings |
Active security policy + recent security events |
get_request_trace |
Recent request/operation traces and outcomes |
query_runtime_truth_graph |
Authoritative host ↔ agent ↔ service ↔ policy snapshot |
Governed (enqueue for human approval — never auto-applied):
| Tool | What it does |
|---|---|
evaluate_deploy_gate |
Reports whether a proposed change would pass policy. Read-only. |
request_deploy |
Files a deploy request into the approval queue; returns request id + approval URL |
remediate |
Files a remediation proposal (respects your blocked categories); returns id + approval URL |
Verify it yourself
- Read
infraveil_mcp/client.py. The request-signing and response-verification code is plain stdlibhmac/hashlib. - Diff it against the published Infraveil agent source (
_signed_headers,verify_response_signature). They implement the same protocol. - Run the test suite:
pytest tests/. It transcribes the server's verifier and asserts this client's signatures are accepted and tampering is rejected.
License
AGPL-3.0-or-later. The control plane (central authority graph, multi-tenant policy, audit/evidence store) is the commercial product; the code that runs on your machine is open because you should never have to trust code you can't read.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。