
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 個工具,用來查詢印尼政府入口網站的產品、清真認證、企業、金融、選舉、統計與氣象資料。