Documentation Index
Fetch the complete documentation index at: https://docs.igrisecurity.com/llms.txt
Use this file to discover all available pages before exploring further.
Gateway Setup
The Igris MCP Gateway sits between your MCP clients and upstream MCP servers. Every tool call passes through Igris for policy evaluation, audit logging, and anomaly detection.Gateway URL Format
Once you create a connection in Igris, your gateway URL is:{slug} with your connection’s slug (e.g., github-prod). For self-hosted deployments, replace the domain with your own.
Authentication
The gateway accepts two authentication methods:-
API Key (recommended for MCP clients) — pass in the
Authorizationheader: -
Session Cookie — if the request comes from a browser context with a valid
igris.session_tokencookie.
Client Configuration
Claude Code
Edit your.mcp.json (project-level) or ~/.claude/mcp.json (global):
OpenCode
In youropencode.json:
Cursor
In Cursor’s MCP settings (.cursor/mcp.json):
Generic MCP Client
Any MCP client that supports HTTP transport can use the gateway. Point the server URL to the Igris gateway and include the API key header.What the Gateway Does
For every incoming tool call, the gateway:- Authenticates the request (API key or session cookie)
- Resolves the connection and organization
- Checks the kill switch (blocks if session is suspended)
- Creates or resumes an agent session
- Evaluates governance policies (first match wins, with conditions)
- Executes the policy action (allow, deny, or alert)
- Forwards to upstream (if allowed), injecting the connection’s credential
- Runs anomaly detection checks
- Writes an audit event with user identity, trace ID, and metadata
- Broadcasts via SSE to connected dashboard clients
Tool Discovery
The gateway supports MCP’stools/list method. When your client requests available tools, Igris forwards the request to the upstream server and returns the tool list.
Latency
The gateway adds minimal overhead — typically 5-15ms for policy evaluation and audit logging. Policy rules are cached in Redis to avoid database lookups on every request.Troubleshooting
| Issue | Solution |
|---|---|
401 Unauthorized | Check your API key is valid and hasn’t been revoked |
404 Not Found | Verify the connection slug matches a connection in your organization |
403 Policy Denied | A deny policy matched the tool call — check Audit Events for details |
502 Bad Gateway | Igris can’t reach the upstream MCP server — verify the upstream URL |
503 Session Suspended | The session’s kill switch is active — resume it in the dashboard |