# ContextGate

> ContextGate is a free MCP server for security. Free MCP gateway that applies tool policies, PII redaction and audit logs to agent calls. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** Web, API
- **Website:** https://www.contextgate.ai
- **MCP Registry name:** ai.contextgate/mcp
- **Categories:** security, AI models and LLM tooling
- **Listing updated:** 2026-11-15

## About

The gateway sits in the middle of every tool call. You add ContextGate once to Claude, ChatGPT, Claude Code, Cursor, VS Code, Codex or Gemini CLI, then connect other apps such as Gmail, GitHub, Salesforce or HubSpot, or any remote MCP server, through it. Each call is recorded and checked against your policies, and can be blocked or have personal data redacted.

Switching off a tool hides it from your AI apps and refuses it if called. The site frames the risks as leaking data (customer emails, bank details, keys pasted into arguments), reaching too far when a server exposes delete or merge tools, and having no record of what the AI did. It sees only calls that pass through it, not an app's built-in tools or your chats.

Auth is OAuth, or a workspace API key added to the URL for apps that cannot sign in. The service is free with no card.

## Features

- **Tool policies:** Apply rules to every tool call.
- **PII redaction:** Redact personal data in results.
- **Audit log:** Keep a record of each call's tool, arguments and result.
- **Tool switch-off:** Hide and refuse tools you do not want used.
- **App catalog:** Connect apps like Gmail and GitHub or any remote MCP server.
- **One connection:** Add one URL to each AI app.

## Good for

- Block risky delete or send tools
- Redact personal data in tool results
- Review what an agent did in your apps
- Give several AI apps one governed connection

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http mcp https://api.contextgate.ai/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://api.contextgate.ai/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://api.contextgate.ai/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://api.contextgate.ai/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "serverUrl": "https://api.contextgate.ai/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://api.contextgate.ai/mcp"
    }
  }
}
```

## FAQ

### Is it free?

The site calls it free with no card required.

### Does it see my chats?

No. It sees only tool calls that go through it.

### How do I sign in?

OAuth, or a workspace API key in the URL for apps that cannot sign in.

### Which apps are supported?

Claude, ChatGPT, Claude Code, Cursor, VS Code, Codex, Gemini CLI and other MCP clients.

### Is ContextGate free?

Yes. ContextGate is free to use.

### How do I add ContextGate to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp https://api.contextgate.ai/mcp

### What are the best alternatives to ContextGate?

The closest alternatives to ContextGate are REA, Claude Code Ultimate Guide, Agent Roast, Midplane and Leash.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Agent Roast](https://ai-powered.com/mcp/agent-roast): Agent Roast is an open-source MCP server for developer tools.
- [Midplane](https://ai-powered.com/mcp/midplane): Midplane is an open-source MCP server for databases.
- [Leash](https://ai-powered.com/mcp/leash): Leash is a free MCP server for security.
- [Tinplate Edge AI Safety, Security & EU Compliance](https://ai-powered.com/mcp/tinplate-edge-ai-safety-security-and-eu-compliance): Tinplate Edge AI Safety, Security & EU Compliance is a freemium MCP server for security.
- [SecureCloud](https://ai-powered.com/mcp/securecloud): SecureCloud is a free MCP server for security.
- [Eikino](https://ai-powered.com/mcp/eikino): Eikino is a freemium MCP server for security.

---
Source: https://ai-powered.com/mcp/contextgate
