A Model Context Protocol server for Freeplay, the ops platform for AI engineering teams
Project description
Freeplay MCP Server
An MCP (Model Context Protocol) server that enables AI agents to interact with Freeplay, the ops platform for AI engineering teams.
Use it to analyze production logs, identify quality issues, iterate on prompts and agents using real data, and run experiments to validate changes before deploying.
⚠️ EXPERIMENTAL
This MCP server is an experimental release and will change. Use at your own risk and keep an eye on what your agents are doing.
Current limitations:
- Does not support deployment operations or destructive deletion actions — use the Freeplay UI
- Uses your regular Freeplay API key (not specially scoped to limit access for agents)
Security warning: Because this uses your full API key, an agent could extract the key and formulate its own API calls outside the scope of the tools included with this MCP server, including 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.
Installation
Claude Code
The simplest way to install the Freeplay MCP server is via uvx:
claude mcp add freeplay -- uvx freeplay-mcp
Set your API key in your MCP client process:
export FREEPLAY_API_KEY="your-api-key"
export FREEPLAY_BASE_URL="https://app.freeplay.ai"
Start Claude Code and run /mcp to check installation.
Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"freeplay": {
"command": "uvx",
"args": [
"freeplay-mcp"
],
"env": {
"FREEPLAY_API_KEY": "your-api-key",
"FREEPLAY_BASE_URL": "https://app.freeplay.ai"
}
}
}
}
Docker
For containerized deployments:
-
Clone and build:
git clone git@github.com:freeplayai/freeplay-mcp.git cd freeplay-mcp docker build -t freeplay-mcp .
-
Set your environment variables (in .env, then source it).
export FREEPLAY_API_KEY="your-api-key" export FREEPLAY_BASE_URL="https://app.freeplay.ai"
-
Add to Claude Code:
claude mcp add --transport stdio freeplay-mcp -- docker run -i --rm -e FREEPLAY_API_KEY=$FREEPLAY_API_KEY -e FREEPLAY_BASE_URL=$FREEPLAY_BASE_URL freeplay-mcp
For production deployments, consider using a hardened base image such as Chainguard or Distroless.
- Start Claude Code and run
/mcpto check installation.
Authentication
- API key passed via environment variable
FREEPLAY_API_KEY - All requests use Bearer token authentication
- Base URL configurable via
FREEPLAY_BASE_URL(default:https://app.freeplay.ai)
Development
# Clone and install
git clone git@github.com:freeplayai/freeplay-mcp.git
cd freeplay-mcp
uv sync --group dev
# Lint (with auto-fix)
make lint
# Type check
make type-check
# Run both
make check
Using Docker
{
"mcpServers": {
"freeplay": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"FREEPLAY_API_KEY",
"-e",
"FREEPLAY_BASE_URL",
"freeplay-mcp"
],
"env": {
"FREEPLAY_API_KEY": "your-api-key",
"FREEPLAY_BASE_URL": "https://app.freeplay.ai"
}
}
}
}
Support
- Docs: https://docs.freeplay.ai
- Issues: https://github.com/freeplayai/freeplay-mcp/issues
- Security: security@freeplay.ai
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file freeplay_mcp-0.0.5.tar.gz.
File metadata
- Download URL: freeplay_mcp-0.0.5.tar.gz
- Upload date:
- Size: 273.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d22c2fb2c6939fd85ecee50caa207cb5ebe05ce6dd982efe3b0a4eed27ea8b2
|
|
| MD5 |
b6773f55934c35f4895e17f1f913fc45
|
|
| BLAKE2b-256 |
af7513ba2f5479f477d869959ad4ed862a7dd749d60a784336910b3a6c69e5fa
|
File details
Details for the file freeplay_mcp-0.0.5-py3-none-any.whl.
File metadata
- Download URL: freeplay_mcp-0.0.5-py3-none-any.whl
- Upload date:
- Size: 688.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0735c8edc1d416430cf974a321040adfab3f243133e675868329593fbef2b3e8
|
|
| MD5 |
67cec5d5d51804a27c76ecb5f199608a
|
|
| BLAKE2b-256 |
381ac8381eeb6a88c3fba386212665f4ec35c4784b2b5f707a148d38e18a94b8
|