MCP / CLI

Give your coding agent the Cases, Rubrics, and run evidence behind your bench. Run your application where it already runs, then submit its outputs to Teammately.

Connect your coding agent

Use Product MCP to read Cases, Policies, Rubrics, and evaluation evidence for one Benchmark Version. Your coding agent gets the criteria it needs to work in your repository. This MCP connection is read-only. Use the separate Docs MCP when your agent needs the manuals.

  • Codex
  • Claude Code
  • Cursor

Guided setup also supports Windsurf, Gemini CLI, Kiro, and OpenCode.

Set up Codex

Start with the Teammately binary on your PATH. Use the dry run to preview host configuration before applying it, then reload the host.

teammately login --profile work
teammately configure agent-toolkit --host codex --profile work --dry-run
teammately configure agent-toolkit --host codex --profile work

In the host, call version_context with your organization, Project, Benchmark, and Version IDs to verify access. Keep credentials in your profile or host secret environment, not in agent instructions.

Evaluate outputs from your own runtime

Select the exact Benchmark Version and prepare its evaluation package. Its manifest identifies the Cases to run and how to match their results. Execute those Cases with your application, then use the CLI to validate and submit the actual outputs, with captured trajectories when available.

No Harness upload is required for this path. If you want Teammately to run the candidate instead, package a managed Harness for Trialground.

Prepare, submit, and compare

Configure CLI scope for an authorized Project, Benchmark, and Version before running:

teammately eval version-context --kind summary
teammately eval prepare --out ./evaluation-package

Map actual application outputs to the issued Case IDs in results.json. Validate the file before submitting it:

teammately eval validate-results \
  --manifest ./evaluation-package/manifest.json --results ./results.json
teammately eval submit-results \
  --manifest ./evaluation-package/manifest.json --results ./results.json \
  --name 'Application candidate' --receipt ./import-receipt.json

Once evaluation is complete, compare the candidate with a baseline using the returned Trial IDs:

teammately run compare --run "$BASELINE_RUN_ID" --target "$RUN_ID"

Developer reference