tools/call request against your policies before forwarding to the upstream server. Works with Claude Desktop, Cline, and any MCP client.
Quick Setup
Update MCP client config
Point your MCP client to launch servers through Rampart’s proxy:Claude Desktop (Cline (VS Code settings):
~/Library/Application Support/Claude/claude_desktop_config.json):How It Works
The proxy is transparent fortools/list but intercepts tools/call to check policies.
What Gets Protected
All MCP tool invocations:Policy Configuration
Write policies for MCP tools:~/.rampart/policies/custom.yaml
Auto-Generate Policies
Scan an MCP server and generate a deny-by-default policy:Example Configurations
Claude Desktop
Full config with multiple protected servers:~/Library/Application Support/Claude/claude_desktop_config.json
Cline (VS Code)
.vscode/settings.json
Proxy Modes
- Enforce (Default)
- Monitor
- Filter Tools
Behavior: Block denied tool callsDenied calls return JSON-RPC error:
Monitoring
Live Dashboard
View MCP tool calls in real time:Audit Trail
MCP events are logged to the same audit file as hook events:Example Session
Terminal output when running with MCP proxy:Troubleshooting
MCP client not connecting
-
Check rampart is in PATH:
-
Test MCP server directly:
-
Test with rampart:
Tools not being blocked
-
Check mode:
-
Test policy:
-
Check audit logs:
Service connection errors
-
Check service is running:
-
Check token:
-
Restart service:
Advanced: Approval Workflow
Useask action for human-in-the-loop approval:
- MCP proxy blocks the call
- Creates approval request in dashboard
- User approves via:
- Web dashboard: http://localhost:9090/dashboard/
- CLI:
rampart approve <id>
- Proxy unblocks and forwards to server
--approval-timeout).
Multiple Servers
Protect multiple MCP servers with different policies:~/.rampart/policies/custom.yaml