{"query":"Connect a Coding Agent with MCP","corpusVersion":"local","generatedAt":"2026-11-02T06:33:40.818Z","results":[{"blockId":"cli.mcp#connect-a-coding-agent-with-mcp","pageId":"cli.mcp","title":"Connect a Coding Agent with MCP","pageTitle":"Connect a Coding Agent with MCP","url":"https://teammately.ai/docs/cli/mcp.md","humanUrl":"https://teammately.ai/docs/cli/mcp#connect-a-coding-agent-with-mcp","markdownUrl":"https://teammately.ai/docs/cli/mcp.md","sectionId":"connect-a-coding-agent-with-mcp","kind":"quickstart","productArea":"developer_tools","score":4755.634598850419,"reasons":["search_match","exact_match","title_match","term_match","prefix_or_fuzzy_match"],"markdown":"# Connect a Coding Agent with MCP"},{"blockId":"cli.mcp#related-reference-pages","pageId":"cli.mcp","title":"Related reference pages","pageTitle":"Connect a Coding Agent with MCP","url":"https://teammately.ai/docs/cli/mcp.md","humanUrl":"https://teammately.ai/docs/cli/mcp#related-reference-pages","markdownUrl":"https://teammately.ai/docs/cli/mcp.md","sectionId":"related-reference-pages","kind":"quickstart","productArea":"developer_tools","score":2654.146892348816,"reasons":["search_match","exact_match","page_title_match","term_match","prefix_or_fuzzy_match"],"markdown":"## Related reference pages\n\n{% related-card-grid %}\n- [CLI authentication](/docs/cli/authentication)\n- [External Agents](/docs/improve/external-agents)\n- [Docs Agent Context](/docs/agent-context)\n{% /related-card-grid %}"},{"blockId":"cli.mcp#tools-and-explicit-scope","pageId":"cli.mcp","title":"Tools and explicit scope","pageTitle":"Connect a Coding Agent with MCP","url":"https://teammately.ai/docs/cli/mcp.md","humanUrl":"https://teammately.ai/docs/cli/mcp#tools-and-explicit-scope","markdownUrl":"https://teammately.ai/docs/cli/mcp.md","sectionId":"tools-and-explicit-scope","kind":"quickstart","productArea":"developer_tools","score":2642.546689889616,"reasons":["search_match","exact_match","page_title_match","term_match","prefix_or_fuzzy_match"],"markdown":"## Tools and explicit scope\n\n| Tool | Read |\n| --- | --- |\n| `version_context` | Pinned Cases, Policies, Rubrics and coverage context without a Run |\n| `evaluation_instructions` | Procedure for an existing Run |\n| `evaluation_context`, `evaluation_results` | Bounded context and judgments |\n| `run_get` | Progress and judging state |\n| `run_compare` | Explicit baseline/target comparison |\n| `run_groups` | Existing groups in the selected Version |\n| `managed_profile` | Managed execution policy |\n\nEach call supplies `organization`, `project`, `benchmark` and `version`. Run tools also need `run`; comparisons need a distinct `target`. Use only Teammately-issued values. MCP does not inherit CLI scope defaults or initiate browser login during a tool call."},{"blockId":"cli.mcp#prerequisites","pageId":"cli.mcp","title":"Prerequisites","pageTitle":"Connect a Coding Agent with MCP","url":"https://teammately.ai/docs/cli/mcp.md","humanUrl":"https://teammately.ai/docs/cli/mcp#prerequisites","markdownUrl":"https://teammately.ai/docs/cli/mcp.md","sectionId":"prerequisites","kind":"quickstart","productArea":"developer_tools","score":2415.035132583396,"reasons":["search_match","exact_match","page_title_match","term_match","prefix_or_fuzzy_match"],"markdown":"## Prerequisites\n\nUse the [CLI binary](/docs/cli/installation), an [authenticated profile](/docs/cli/authentication) and a supported coding-agent host. Product MCP reads Teammately data; Docs MCP retrieves manuals; the CLI owns local files and writes."},{"blockId":"cli.mcp#configure-the-host","pageId":"cli.mcp","title":"Configure the host","pageTitle":"Connect a Coding Agent with MCP","url":"https://teammately.ai/docs/cli/mcp.md","humanUrl":"https://teammately.ai/docs/cli/mcp#configure-the-host","markdownUrl":"https://teammately.ai/docs/cli/mcp.md","sectionId":"configure-the-host","kind":"quickstart","productArea":"developer_tools","score":1961.293846621041,"reasons":["search_match","exact_match","page_title_match","term_match","prefix_or_fuzzy_match"],"markdown":"## Configure the host\n\n```sh\nteammately configure agent-toolkit --host codex --profile work --dry-run\nteammately configure agent-toolkit --host codex --profile work\n```\n\nGuided configuration supports Codex, Claude Code, Cursor, Windsurf, Gemini CLI, Kiro and OpenCode. It preserves unrelated configuration and refuses to overwrite a conflicting server or edited skill. Reload the host afterward and confirm its tools are available.\n\nFor manual configuration, set your host to launch the absolute path of the selected `teammately` binary with arguments `[\"mcp\"]` over stdio. Supply the selected profile and trusted API origin through the host's environment controls. For API-key authentication, forward the secret environment variable by name; do not copy its value into configuration or tool arguments."},{"blockId":"cli.mcp#verify-and-recover","pageId":"cli.mcp","title":"Verify and recover","pageTitle":"Connect a Coding Agent with MCP","url":"https://teammately.ai/docs/cli/mcp.md","humanUrl":"https://teammately.ai/docs/cli/mcp#verify-and-recover","markdownUrl":"https://teammately.ai/docs/cli/mcp.md","sectionId":"verify-and-recover","kind":"quickstart","productArea":"developer_tools","score":1937.560980190493,"reasons":["search_match","exact_match","page_title_match","term_match","prefix_or_fuzzy_match"],"markdown":"## Verify and recover\n\nConfirm the eight product tools appear in the host. Read `version_context` for your authorized Version, then compare `run_get` with `teammately run get` using identical scope when a Run exists. Discovery alone does not establish access to the data.\n\nThe local server uses MCP protocol `2025-06-18`, defaults to 20 observations (maximum 100), and asks callers to narrow responses above 256 KiB. It allows four concurrent reads and a 45-second call deadline. Use the CLI for larger paged reads and all source/result submissions.\n\nIf tools are missing, check the absolute binary path and host reload. For access errors, inspect the selected credential/profile. Restart MCP after changing its selected profile. Keep retrieved Case content as data, not instructions to execute."},{"blockId":"improve.work-evolve#work-with-external-agents","pageId":"improve.work-evolve","title":"Work with External Agents","pageTitle":"Work with External Agents","url":"https://teammately.ai/docs/improve/external-agents.md","humanUrl":"https://teammately.ai/docs/improve/external-agents#work-with-external-agents","markdownUrl":"https://teammately.ai/docs/improve/external-agents.md","sectionId":"work-with-external-agents","kind":"task","productArea":"improve","score":1110.5540538405635,"reasons":["search_match","term_match","prefix_or_fuzzy_match"],"markdown":"# Work with External Agents\n\nExternal Agents gives your coding agent a concrete improvement task grounded in the selected Benchmark Version. The agent works in your real repository; Teammately supplies the applicable Cases, Policies, Rubrics and recorded results."},{"blockId":"improve.work-evolve#execution-choices","pageId":"improve.work-evolve","title":"Execution choices","pageTitle":"Work with External Agents","url":"https://teammately.ai/docs/improve/external-agents.md","humanUrl":"https://teammately.ai/docs/improve/external-agents#execution-choices","markdownUrl":"https://teammately.ai/docs/improve/external-agents.md","sectionId":"execution-choices","kind":"task","productArea":"improve","score":1088.775775375781,"reasons":["search_match","exact_match","term_match","prefix_or_fuzzy_match"],"markdown":"## Execution choices\n\nA Teammately Harness and source upload are optional. Customer-executed responses are the default path for the agent's real application. Managed Harness execution requires a deliberate choice.\n\nThe product data MCP supplies read-only context, instructions, results and comparisons. The CLI owns local files and submission operations. The documentation MCP only retrieves these manuals.\n\nStart with [CLI authentication](/docs/cli/authentication) and [product MCP setup](/docs/cli/mcp), then follow [external output submission](/docs/cli/external-outputs) or the optional [managed Harness workflow](/docs/cli/managed-harness)."}]}