Quickstart
Get MCP Guard up and running in 3 minutes to protect your MCP clients from prompt injection attacks.
Prerequisites
- Python 3.8 or higher (3.13 recommended)
- Node.js and npm installed
- An MCP client (Cursor, Claude Desktop, etc.)
Step 1: Install GA CLI
The recommended way to set up MCP Guard is through the GA CLI (command line interface). Make sure you install version 0.1.7 of generalanalysis.
Option A: Using uv (Recommended)
uv tool install generalanalysis==0.1.7Or with a specific Python version:
uv tool install generalanalysis==0.1.7 --python 3.13Option B: Using pip
First, create a virtual environment:
python -m venv ga-venv
source ga-venv/bin/activate # On Windows: ga-venv\Scripts\activateThen install GA CLI:
pip install -U generalanalysis==0.1.7Step 2: Login to GA Platform
Authenticate with your Google account:
ga loginThis will:
- Open a browser for Google authentication
- Create a project on our platform automatically
- Generate an API key
- Cache credentials in
~/.config/ga/
Free Trial
You'll be automatically enrolled in a 30-day free trial for Guardrail Basic. No payment method required!
Step 3: Configure MCP Clients
Run the automatic configuration:
ga configureThis command will:
- Detect all MCP clients on your system
- Back up your original MCP configurations
- Configure them to route through MCP Guard
- Set up the proxy server
What’s Next?
Now that MCP Guard is configured, your MCP clients are protected from prompt injection attacks. The proxy will automatically intercept and analyze all tool calls for potential security risks.
Getting Help
If you need assistance:
- Documentation Search: Use the search bar at the top to find specific topics
- Join the Community: Join our Discord to connect with other users and devs to get help
- Contact Support: Reach out to our team at info@generalanalysis.com
- Schedule a Demo: Book a call with our experts