Identity, authorization, audit trails, and revocable permissions for AI agents accessing MCP tools.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
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.
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:
Transport: Streamable HTTP Auth: Bearer token (generated at app.civic.com)
Sign in at app.civic.com and generate a bearer token from the onboarding flow.
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.
Append ?profile=your-toolkit to scope the gateway to a specific configuration:
For non-interactive agents that can't complete an OAuth flow, generate a bearer token at app.civic.com and pass it directly:
| Registry | Link |
|---|---|
| Smithery | smithery.ai/servers/@civic/civic-mcp-gateway |
| ClawHub | clawhub.ai/civictechuser/openclaw-civic-skill |
| Use case | What Civic adds |
|---|---|
| Gmail guardrails & audit | Block outbound sends with secrets, redact PII from email content, log every send |
| Google Calendar guardrails & audit | Prevent event deletion, restrict to business hours, block external attendees |
| PostgreSQL guardrails & audit | Block destructive queries, enforce read-only access, redact sensitive columns |
Full documentation at docs.civic.com
See civicteam/nexus-demo for a full client integration using Next.js, federated auth, and MCP tool visualization.
MIT
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mcp-gateway-5)<a href="https://allmcps.com/mcp/mcp-gateway-5"><img src="https://allmcps.com/api/badge/mcp-gateway-5?style=directory" alt="MCP Gateway on AllMCPs" /></a>