freeplay-mcp

v0.0.6
freeplay-mcp Checked 15 hours ago Published 9 months ago

A Model Context Protocol server for Freeplay, the ops platform for AI engineering teams

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_projects

List all Freeplay projects accessible to the authenticated user. This is a read-only operation. Returns a formatted list of projects with their IDs and names. Start here for most workflows. Use a project ID from this list to scope most other Freeplay operations.

list_prompt_templates

List all prompt templates in a Freeplay project. This is a read-only operation. Returns a list of prompt templates with their IDs, names, and latest version info. Use the template name or ID when creating new versions. Args: project_id: The Freeplay project ID (required) limit: Maximum number of results to return (default: 50) offset: Number of results to skip for pagination (default: 0)

ParameterTypeDescription
project_id *string
limitinteger
offsetinteger

get_prompt_version

Get the full contents of a prompt template version. This is a read-only operation. Returns the complete prompt template configuration including messages, model, provider, and LLM parameters. Use this to inspect a version before making changes. Args: project_id: The Freeplay project ID template_id: The prompt template ID version_id: The version ID to retrieve

ParameterTypeDescription
project_id *string
template_id *string
version_id *string

create_prompt_version

Create a new version of a prompt template. This is a write operation. Always confirm with the user before calling — describe which prompt template will be modified, the model and provider, and whether a new template will be created. If the template doesn't exist and create_if_not_exists is True, the template will be created automatically. Note: Deployment is not supported via MCP at this time to reduce risk of unintentional changes. Use the Freeplay UI to deploy versions to environments. Args: project_id: The Freeplay project ID (required) template_name: Name of the prompt templat…

ParameterTypeDescription
model *string
project_id *string
prompt_messages *string
provider *string
template_name *string
create_if_not_existsboolean
llm_parameters
output_schema
tool_schema
version_description
version_name

get_deployed_prompt_versions

Get deployment status for a prompt template showing which versions are deployed to each environment. This is a read-only operation. Returns which prompt template versions are currently deployed to all environments (dev, staging, production, and any custom environments). Args: project_id: The Freeplay project ID (required) template_name: The name of the prompt template (required)

ParameterTypeDescription
project_id *string
template_name *string

find_logging_issues

Analyze recent completions for a prompt template and identify missing logged fields. This is a read-only analysis operation. Fetches recent completions and checks which important fields are not being logged. Returns a list of missing fields with explanations and fix suggestions. Use this to identify gaps in your observability instrumentation. Args: project_id: The Freeplay project ID template_name: Optional prompt template name to filter by. If not provided, analyzes all completions and checks for missing prompt template associations. environment: Optional environment fil…

ParameterTypeDescription
project_id *string
environment
limitinteger
template_name

list_insights

List insights for a Freeplay project. This is a read-only operation. Retrieve a paginated list of insights. Insights are automatically generated observations about patterns in your production data, surfacing actionable themes from auto-evaluation scores on logs and from human annotations. Filter by prompt template or agent to see specific insights for each component. Args: project_id: The Freeplay project ID (required) page: Page number for pagination (default: 1) page_size: Number of insights per page (default: 30) prompt_template_id: Filter insights by prompt template UUID…

ParameterTypeDescription
project_id *string
agent_id
pageinteger
page_sizeinteger
prompt_template_id

optimize_prompt

Optimize a prompt template version using AI-powered analysis and automated experimentation. This is a write operation that creates a new prompt template version. Always confirm with the user before calling this tool — describe which prompt template will be optimized, the dataset being used, and that this may incur LLM costs. Analyzes the prompt template version against scored examples from production logs and generates an improved version with guidance from the user on where to focus. The optimization considers human evaluation labels, customer feedback, and best practices based on the flag…

ParameterTypeDescription
dataset_id *string
project_id *string
prompt_template_version_id *string
run_test_after_optimizationboolean
use_best_practicesboolean
use_customer_feedbackboolean
use_labelsboolean
user_instructions