
Mcp Gateway
io.github.titus-civic由 GitHub 账号 titus-civic 发布v1.0.0更新于 Oct 24, 2026
Identity, authorization, audit trails, and revocable permissions for AI agents accessing MCP tools.
发布方自己的服务:Nexus
概览
远程 MCP 网关,为 AI 工具调用提供代理身份、限定范围的工具权限、审计日志和可撤销访问。
- 可以做什么
- 让助手通过位于代理之外的权限层连接 MCP 工具
- 使用 Civic 签发的 bearer token 或 OAuth 验证代理身份,并将其限定到特定工具
- 记录每次工具调用及其代理身份和时间戳,形成审计轨迹
- 撤销 token 后代理立即失去访问权限
- 通过配置器施加速率限制、审批流程和拒绝列表等护栏
- 将端点锁定到指定 profile,以限定为某一套配置
- 适用场景
- 当助手需要调用邮件、日历或数据库等敏感工具,而你需要限制它能访问哪些工具、保留其操作记录并能快速切断访问时适用。也适合无法完成交互式 OAuth 流程、需要基于 token 认证的非交互式代理。
- 运行要求
- 使用 app.civic.com 上的远程 Streamable HTTP 端点,无需本地安装包。需要 Civic 账号登录并生成 bearer token,或由客户端在首次连接时完成 OAuth。使用 bearer token 的客户端通过 Authorization 请求头传递。需要能访问该网关的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Mcp Gateway,将其添加到工作区。
- 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/io.github.titus-civic%2Fmcp-gateway/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。
{
"mcpServers": {
"gateway": {
"type": "http",
"url": "https://app.civic.com/hub/mcp"
}
}
}README
Civic MCP Gateway
Connecting AI Agents to tools and data via the Civic MCP Gateway gives builders access to guardrails, scoped permissions, audit trails, and revocable access when calling MCP tools. Civic separates the permission layer from the AI agent so they can't get around restrictions.
This repository contains integration metadata, configuration files, and client examples. The gateway itself runs at app.civic.com.
What it does
Without an identity layer, any AI agent can call any MCP tool with no record of who authorized it, what it accessed, or how to revoke its access. Civic fixes that:
- Agent identity — agents authenticate with a Civic-issued bearer token
- Scoped permissions — grant agents access to specific tools only
- Audit trail — every tool call is logged with agent identity and timestamp
- Revocable access — revoke a token and the agent loses access immediately
- Guardrails — rate limits, approval workflows, and deny lists via the configurator
MCP Endpoint
Transport: Streamable HTTP Auth: Bearer token (generated at app.civic.com)
Quickstart
1. Get a token
Sign in at app.civic.com and generate a bearer token from the onboarding flow.
2. Configure your MCP client
Claude Desktop — native Streamable HTTP:
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
Claude Code — native HTTP transport (no bridge needed):
Or for stdio via Hub Bridge:
Cursor — native Streamable HTTP:
Add to your Cursor MCP config:
Cline (VS Code) — add to cline_mcp_settings.json:
Windsurf — native Streamable HTTP, no bridge required:
Add to ~/.codeium/windsurf/mcp_config.json:
Windsurf handles OAuth automatically on first connection.
3. Optional: lock to a profile
Append ?profile=your-toolkit to scope the gateway to a specific configuration:
Automated agents (token-based auth)
For non-interactive agents that can't complete an OAuth flow, generate a bearer token at app.civic.com and pass it directly:
Install from a registry
Example use cases
Documentation
Full documentation at docs.civic.com
Working example
See civicteam/nexus-demo for a full client integration using Next.js, federated auth, and MCP tool visualization.
License
MIT
来源:README.md,提交 2ec8eef
工具
0版本历史
1- v1.0.0最新Sep 16, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Civic 集成

Nexus
com.civic官方发布者
Nexus 是一个托管式 MCP 网关,通过一个带身份验证的端点把 AI 助手连接到你的工具,并内置工作流。

CivicBinder MCP
tech.thecompound
CivicBinder MCP 让助手获取美国地方政府网站的 ADA 第二章无障碍评级,以本地进程方式运行。

Civic
由 GitHub 账号 pipeworx-io 发布
Pipeworx 网关的 CIViC 数据包,提供经专家整理的癌症变异临床解读,并可通过路由器查询 1800 多个其他数据源。

PH Civic Data
由 GitHub 账号 xmpuspus 发布
本地 MCP 服务器,通过 41 个工具提供菲律宾公共数据:PSA 统计、PSGC 地区代码、灾害、天气、采购与选举结果。

Indonesia Civic Stack
由 GitHub 账号 suryast 发布
本地 MCP 服务器,提供约 45 个工具,用于查询印尼政府门户的产品、清真认证、企业、金融、选举、统计与气象数据。