Integration
MCP Server
Connect your AI agents to TrustyGorilla via the Model Context Protocol. Let them read flag state, evaluate targeting rules, and safely toggle features — all through natural language.
- Works with Claude, Cursor, Copilot, and any MCP-compatible agent
- Read and write flags from within your AI workflow
- Scoped tokens — agents only touch what you allow
- Every action logged in your existing audit trail
Tool call
enable_flag({
key: "new-checkout",
env: "production",
rollout_pct: 10
})Result
{
"ok": true,
"flag": "new-checkout",
"env": "production",
"rollout_pct": 10,
"propagated_in": "14ms"
}- 8
- MCP tools exposed
- SSE
- Streaming transport
- 100%
- Audit logged
Available tools
What agents can do
The TrustyGorilla MCP server exposes a set of typed tools your agents can call. Each tool validates inputs, enforces permission scopes, and writes to the audit log.
get_flagEvaluate a flag for a given user contextlist_flagsList all flags in a project with current stateenable_flagEnable a flag in a specific environmentdisable_flagDisable a flag in a specific environmentget_configFetch a remote config value by keyset_configUpdate a remote config valueget_experimentFetch experiment status and resultslist_audit_logQuery recent changes for a flag or project
Quick setup
Connect in two steps
{
"mcpServers": {
"trustygorilla": {
"command": "npx",
"args": ["-y", "@trustygorilla/mcp"],
"env": {
"TG_API_KEY": "your-api-key"
}
}
}
}Restart your MCP client. TrustyGorilla tools will appear in the tool list automatically.
Ask your agent anything about your flags:
Capabilities
Built for AI workflows
AI-native flag control
Real-time context
Scoped permissions
Audit every action
Give your agents real-time flag control
Connect TrustyGorilla to your AI workflow in two minutes.
- No credit card required
- Free forever tier