Give Claude Code the ability to interact with Freeplay, the ops platform for AI engineering teams.
Analyze production logs, diagnose quality issues, iterate on prompts and agents using real data, and run experiments to validate changes — all through natural language conversation.
This plugin is an experimental release and will change. Use at your own risk.
Current limitations:
- Does not support destructive deletion actions
- Does not support deployment operations
- Uses your regular Freeplay API key (not specially scoped to limit access for agents)
Security warning: Because this uses your full API key, a malicious or compromised agent could extract the key and write its own code outside the plugin to perform destructive actions against your Freeplay account.
Additionally, all MCP servers share a security context within the host, enabling data exfiltration, prompt injection across tools, and cross-server data access.
Only use this with agents and MCP servers you fully trust.
claude plugin marketplace add freeplayai/freeplay-plugin
claude plugin install freeplaySet your environment variables:
export FREEPLAY_API_KEY="your-api-key"
export FREEPLAY_BASE_URL="https://app.freeplay.ai" # optional, this is the default- Claude Code v1.0.33 or later (
claude --version) - uv installed
- Freeplay API key
git clone --recurse-submodules https://github.com/freeplayai/freeplay-plugin.git
cd freeplay-pluginOr if already cloned:
git submodule update --init --recursivecd freeplay-mcp
uv sync
cd ..export FREEPLAY_API_KEY="your-api-key"
export FREEPLAY_BASE_URL="https://app.freeplay.ai" # optional, this is the defaultclaude --plugin-dir ./Run with debug output:
claude --debug --plugin-dir ./Once Claude starts, run /mcp to check the Freeplay server is connected.
Pull latest changes including all submodules:
git pull --recurse-submodulesOr set this as the default behavior:
git config submodule.recurse trueAfter updating, reinstall dependencies:
cd freeplay-mcp && uv sync && cd ..This plugin bundles the Freeplay MCP server. See the MCP server README for standalone installation, available tools, and configuration options.
By default, .mcp.json runs the published MCP server via uvx freeplay-mcp. To test against a local copy of the MCP server (e.g. the freeplay-mcp submodule), replace the .mcp.json config:
{
"mcpServers": {
"freeplay": {
"command": "uv",
"args": ["--directory", "./freeplay-mcp", "run", "freeplay-mcp"],
"env": {}
}
}
}Make sure to initialize the submodule and install dependencies first:
git submodule update --init --recursive
cd freeplay-mcp && uv sync && cd ..Plugin not loading:
- Verify directory structure (components at root, not inside
.claude-plugin/) - Run with
--debugflag to see loading errors
MCP server not connecting:
- Ensure submodule is initialized:
git submodule update --init - Run
uv syncin thefreeplay-mcp/directory - Check
FREEPLAY_API_KEYis set