Skip to main content

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

If using Claude Code, it is recommended to use the freeplay-plugin, which includes skills and this MCP server: https://github.com/freeplayai/freeplay-plugin.

The simplest way to install only 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:

  1. Clone and build:

    git clone https://github.com/freeplayai/freeplay-mcp.git
    cd freeplay-mcp
    docker build -t freeplay-mcp .
    
  2. Set your environment variables (in .env, then source it).

    export FREEPLAY_API_KEY="your-api-key"
    export FREEPLAY_BASE_URL="https://app.freeplay.ai"
    
  3. 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.

  1. Start Claude Code and run /mcp to 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 https://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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

freeplay_mcp-0.0.6.tar.gz (272.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

freeplay_mcp-0.0.6-py3-none-any.whl (684.6 kB view details)

Uploaded Python 3

File details

Details for the file freeplay_mcp-0.0.6.tar.gz.

File metadata

  • Download URL: freeplay_mcp-0.0.6.tar.gz
  • Upload date:
  • Size: 272.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","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

Hashes for freeplay_mcp-0.0.6.tar.gz
Algorithm Hash digest
SHA256 c6f502176e236df71f7c31d62e46d20a3214f9099b1db616b11befe7e552fa11
MD5 079029722c747dc08ffa7740bf811160
BLAKE2b-256 a2c00ca3fd2fcb899c5ab8069c2578e5e3ca093b78f0d662319c80d02f567002

See more details on using hashes here.

File details

Details for the file freeplay_mcp-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: freeplay_mcp-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 684.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","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

Hashes for freeplay_mcp-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 90b0fbf48623208c9183350665f68405c99b1601cdd93c6589bc0e5e2762c1f2
MD5 1eb01dcf91872eb722f4c23634e51563
BLAKE2b-256 c5f7f1d9f4e782672866b6bbbb1c4a1fc03e805e1bad8dd6b7a32699abde9e27

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page