Prerequisites
Before installing AIP, ensure you have:- Go 1.21+ (for building from source)
- Python 3.11+ or Node.js 20+ (for MCP servers)
- An MCP-compatible AI client (Cursor IDE, Claude Desktop, VS Code)
Installation Methods
- Go Install
- Build from Source
- Docker
Install directly from the Go implementation repository:Verify installation:
Quick Start
Start the AIP proxy
Wrap your existing MCP server:The proxy will start on stdio and forward to your MCP server.
Configure your AI client
Generate configuration for your AI client:This outputs JSON configuration to add to your client’s MCP settings.
Verification
Check Policy Evaluation
Verify the proxy is enforcing policy:View Audit Logs
Audit logs are written toaip-audit.jsonl by default:
System Requirements
Performance
- Memory: 10-20 MB per proxy instance
- CPU: Minimal (less than 1% idle)
- Disk: Audit logs grow at approximately 1KB per request
Supported Platforms
- Linux: All distributions (amd64, arm64)
- macOS: 10.15+ (Intel and Apple Silicon)
- Windows: Windows 10+ (experimental)
Troubleshooting
Policy validation errors
Policy validation errors
If you see validation errors on startup:Common issues:
- Invalid YAML syntax
- Unknown fields in spec
- Regex compilation errors in
allow_args
MCP server connection issues
MCP server connection issues
If the proxy can’t connect to your MCP server:
- Verify the target command works standalone:
python mcp_server.py - Check stdio/stderr output for errors
- Ensure the MCP server implements the protocol correctly
Human-in-the-loop dialogs not appearing
Human-in-the-loop dialogs not appearing
For
action: ask to work:- macOS: Requires terminal to have accessibility permissions
- Linux: Requires
zenityorkdialoginstalled - Windows: Not yet supported
Next Steps
Writing Policies
Learn to write comprehensive agent policies
DLP Configuration
Configure data loss prevention scanning
Deployment
Deploy AIP in production environments
Audit Logging
Set up compliance-ready audit trails