Claude Desktop Integration
This guide shows how to use Tollgate with Claude Desktop to add policy-based access control to your MCP servers.Prerequisites
- Claude Desktop installed
- Node.js 20+ installed
@dotsetlabs/cliinstalled globally:
Quick Start (Wrap Mode)
The fastest way to protect an MCP server:1. Locate Claude Desktop Config
Open your Claude Desktop configuration file:- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
2. Wrap Your Server
Replace your direct server command with Tollgate: Before:3. Restart Claude Desktop
Quit and reopen Claude Desktop. Tollgate will now intercept all tool calls.Config Mode (Recommended)
For production use with fine-grained policies:1. Create Configuration
~/tollgate.yaml:
2. Update Claude Desktop Config
3. Restart Claude Desktop
Multiple Servers
Configure multiple servers with different policies:Approval Workflow
When Claude triggers a tool requiring approval:- A terminal prompt appears asking for your decision
- Choose: Allow, Deny, or Allow for session
- Claude continues based on your choice
Troubleshooting
Tollgate not intercepting calls
- Ensure the config path is absolute
- Check Claude Desktop logs for errors
- Verify Tollgate is installed:
dotset tollgate --version