AdaptOrch MCP documentation AdaptOrch published MCP documentation for its hosted endpoint at https://adaptorch.com/mcp, which supports protocol version 2025-11-25 by default alongside 2024-11-05, 2025-03-26 and 2025-06-18. Developers authenticate with an AdaptOrch API key (sent as an Authorization Bearer token or X-API-Key header) and submit runs against AdaptOrch's hosted WorkBuddy deepseek-v4.1-flash model, with BYOK supported via X-Provider, X-Provider-Model and X-Provider-Key headers. The guide warns that a completed model run is not proof a repository check ran, since shared hosted command verification is disabled by default and code checks require a separately configured execution environment. § 01 What you get from the hosted connection Submit runs, retrieve their status and inspect available artifacts through your existing MCP client. The tool list returned by the hosted service is the current capability reference. A completed model run is not proof that a repository check ran. Inspect execution records and available verification results; shared hosted command verification is disabled by default. This MCP guide is available in English and Simplified Chinese. Korean is available on the home page and selected policy pages, not on this guide. Protocol version 2025-11-25 is the default; 2024-11-05, 2025-03-26, and 2025-06-18 are also supported. § 02 Recommended: connect to the hosted service Use an HTTP-capable MCP client. Create an AdaptOrch account and key, then configure the endpoint. Do not clone the private core for this path. 1 · Create a key Create an account at /app/signup https://adaptorch.com/app/signup and create an API key at /app/api-keys https://adaptorch.com/app/api-keys . Use this value as ADAPTORCH API KEY throughout the direct hosted instructions. Keep actual keys out of committed files. export ADAPTORCH API KEY="ado ..." 2 · Confirm authentication without running a model This read-only tools/list request checks the endpoint and the supplied credentials. It does not submit a run, validate every client configuration, or prove that a code check is available. : "${ADAPTORCH API KEY:?Set your AdaptOrch API key first}" curl --fail --silent --show-error https://adaptorch.com/mcp \ -H "Authorization: Bearer $ADAPTORCH API KEY" \ -H "Content-Type: application/json" \ -H "Accept: application/json, text/event-stream" \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' A valid key returns a result.tools array including adaptorch run . Without a key the same call returns {"code":-32001,"message":"Missing bearer token"} with HTTP 401 — that response is itself proof the endpoint is reachable. Endpoint: https://adaptorch.com/mcp · JSON-RPC over POST. GET returns 405 by design — there is no SSE stream to subscribe to. The token may be sent as Authorization: Bearer or X-API-Key . Runs use the hosted model An AdaptOrch API key is all you need. Runs use AdaptOrch's hosted model WorkBuddy deepseek-v4.1-flash , and model usage is included in your plan. To use your own provider account instead BYOK , add X-Provider, X-Provider-Model and X-Provider-Key headers. Hosted model execution is not a repository test pass. A code check requires a separately configured execution environment. Only count verification when a record shows that the relevant check actually ran. § 03 3 · Recommended client connection Start with the complete Claude Code HTTP example below. The other configuration blocks show client-specific authentication syntax; your AdaptOrch API key is the only credential. Claude Code — one command : "${ADAPTORCH API KEY:?Set your AdaptOrch API key}" claude mcp add --transport http adaptorch https://adaptorch.com/mcp \ --header "Authorization: Bearer ${ADAPTORCH API KEY}" Cursor — ~/.cursor/mcp.json { "mcpServers": { "adaptorch": { "url": "https://adaptorch.com/mcp", "headers": { "Authorization": "Bearer ${ADAPTORCH API KEY}" } } } } Codex CLI — ~/.codex/config.toml TOML, not JSON mcp servers.adaptorch url = "https://adaptorch.com/mcp" bearer token env var = "ADAPTORCH API KEY" Gemini CLI — ~/.gemini/settings.json key is httpUrl { "mcpServers": { "adaptorch": { "httpUrl": "https://adaptorch.com/mcp", "headers": { "Authorization": "Bearer ${ADAPTORCH API KEY}" } } } } VS Code — .vscode/mcp.json top-level servers { "servers": { "adaptorch": { "type": "http", "url": "https://adaptorch.com/mcp", "headers": { "Authorization": "Bearer ${env:ADAPTORCH API KEY}" } } } } Windsurf — ~/.codeium/windsurf/mcp config.json key is serverUrl { "mcpServers": { "adaptorch": { "serverUrl": "https://adaptorch.com/mcp", "headers": { "Authorization": "Bearer ${ADAPTORCH API KEY}" } } } } Authentication is not execution. The direct HTTP instructions use ADAPTORCH API KEY . Local bridge examples use ADAPTORCH CONTROL PLANE TOKEN for the same service credential. Do not confuse either with your model-provider key. Shell commands expand environment values and clients may persist the resulting headers. Keep that configuration private and never commit keys. 4 · Submit one bounded run and inspect its record Ask the connected client to call adaptorch run once with the single-task payload below. This step can consume your plan allowance and your provider budget. Do not repeatedly submit it while polling. { "payload": {"subtasks": {"id": "ping", "description": "Reply exactly PONG", "estimated tokens": 16} }, "synthesis mode": "paper", "budget policy": {"global timeout budget seconds": 20} } Use the returned run id with adaptorch get run and adaptorch get artifacts, or open /app/runs. Confirm the requested model and output. Then check whether any verification command actually ran; SUCCEEDED alone does not establish that. 401: check service authentication. 429: inspect quota/rate limits. Provider billing failures and unsupported verification environments are setup blockers, not successful activation. § 04 Maintainers: local bridge and engine development The local Python wrapper delegates to the AdaptOrch engine under proprietary licence terms. Downloading grants no broader licence; review the terms https://adaptorch.com/terms and the licence included with your distribution. This maintainer path requires the engine to be available and is not the hosted customer quickstart. Public adaptorch-mcp 0.6.1 installs from PyPI as a remote stdio client with no engine dependency: uvx --from adaptorch-mcp==0.6.1 adaptorch-mcp-client --transport stdio, with the key in ADAPTORCH CONTROL PLANE TOKEN. Versions 0.3.0 to 0.5.2 depended on a private engine package and do not install. Clean Windows x64 setup has not been revalidated. Hosted HTTP above remains the simplest path. The commands below require an existing, licensed maintainer environment with the engine and wrapper already installed. These environment assignments use a POSIX shell, not Windows PowerShell. The planned Windows x64 Desktop beta is not an available installer or a verified package setup. export ADAPTORCH CONTROL PLANE TOKEN="$ADAPTORCH API KEY" adaptorch-mcp --transport stdio --base-url https://adaptorch.com For the local bridge, set ADAPTORCH CONTROL PLANE TOKEN from your AdaptOrch API key. Runs use the hosted model; ADAPTORCH MCP PROVIDER, ADAPTORCH MCP PROVIDER MODEL and ADAPTORCH MCP PROVIDER API KEY are optional and configure your own provider credentials BYOK in that process. Do not send secrets as tool arguments. Running a client locally is not self-hosting the control plane. A private runner is separately scoped at repository-validation PoC https://adaptorch.com/cek . General customers can use the hosted HTTP instructions above without a private core checkout. § 05 Tool reference The hosted tools/list response is authoritative for the available tools. Results and errors follow the returned schemas. A tool-list response is not a model run or a verification result. This is an engine tool reference, not a promise that every tool is exposed by your hosted server. Use that server's tools/list response for its available tools, arguments and behavior hints. Cancellation requests do not establish that every child process has stopped. adaptorch run Submit a task payload to AdaptOrch control-plane and optionally wait. WRITEnon-destructivenon-idempotentOPEN-WORLD | Param | Type | Required | Default | |---|---|---|---| | prompt | string | conditional | — | | context | string | no | — | | payload | object | no | — | | connector name | string | no | "mcp" | | synthesis mode | string enum | no | "robust" | | model | string | no | — | | trace | boolean | no | false | | budget policy | object | no | — | | wait for terminal | boolean | no | true | | timeout seconds | number | no | 120.0 | | poll interval seconds | number | no | 1.0 | | verification commands | string | no | — gated | | prefer ensemble singleton | boolean | no | false | | output extractor | string enum | no | — | { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "adaptorch run", "arguments": { "prompt": "${TASK PROMPT}", "synthesis mode": "robust", "wait for terminal": true, "timeout seconds": 120.0 } } } adaptorch get run Get run summary by run id. READ-ONLYnon-destructiveIDEMPOTENTOPEN-WORLD | Param | Type | Required | Default | |---|---|---|---| | run id | string | yes | — | { "jsonrpc": "2.0", "id": 2, "method": "tools/call", "params": { "name": "adaptorch get run", "arguments": { "run id": "${RUN ID}" } } } adaptorch get artifacts Get run artifacts by run id. READ-ONLYnon-destructiveIDEMPOTENTOPEN-WORLD | Param | Type | Required | Default | |---|---|---|---| | run id | string | yes | — | { "jsonrpc": "2.0", "id": 3, "method": "tools/call", "params": { "name": "adaptorch get artifacts", "arguments": { "run id": "${RUN ID}" } } } adaptorch list runs List recent AdaptOrch control-plane runs, newest first. READ-ONLYnon-destructivenon-idempotentOPEN-WORLD | Param | Type | Required | Default | |---|---|---|---| | limit | integer 1–100 | no | 20 | | status | string | no | — | { "jsonrpc": "2.0", "id": 4, "method": "tools/call", "params": { "name": "adaptorch list runs", "arguments": { "limit": 20, "status": "SUCCEEDED" } } } adaptorch get traces Get execution traces for a run by run id. READ-ONLYnon-destructiveIDEMPOTENTOPEN-WORLD | Param | Type | Required | Default | |---|---|---|---| | run id | string | yes | — | { "jsonrpc": "2.0", "id": 5, "method": "tools/call", "params": { "name": "adaptorch get traces", "arguments": { "run id": "${RUN ID}" } } } adaptorch cancel run Request cancellation of an in-flight run by run id. WRITEDESTRUCTIVEnon-idempotentOPEN-WORLD | Param | Type | Required | Default | |---|---|---|---| | run id | string | yes | — | { "jsonrpc": "2.0", "id": 6, "method": "tools/call", "params": { "name": "adaptorch cancel run", "arguments": { "run id": "${RUN ID}" } } } adaptorch route topology Recommend an execution topology for a task DAG using the local TopologyRouter no control-plane call . READ-ONLYnon-destructiveIDEMPOTENTclosed-world | Param | Type | Required | Default | |---|---|---|---| | subtasks | object | yes | — | | dependencies | object | no | — | { "jsonrpc": "2.0", "id": 7, "method": "tools/call", "params": { "name": "adaptorch route topology", "arguments": { "subtasks": { "id": "t1" }, { "id": "t2" } , "dependencies": { "from": "t1", "to": "t2" } } } } adaptorch server metrics Return redacted MCP tool-call counters and latency percentiles. READ-ONLYnon-destructivenon-idempotentclosed-world No arguments. { "jsonrpc": "2.0", "id": 8, "method": "tools/call", "params": { "name": "adaptorch server metrics", "arguments": {} } } adaptorch capabilities Return supported synthesis modes, connectors, and server capabilities. READ-ONLYnon-destructiveIDEMPOTENTclosed-world No arguments. { "jsonrpc": "2.0", "id": 9, "method": "tools/call", "params": { "name": "adaptorch capabilities", "arguments": {} } } adaptorch usage Read the authenticated tenant's usage window, quota and remaining allowance. The server resolves the tenant from the configured API key. READ-ONLYnon-destructiveIDEMPOTENTOPEN-WORLD No arguments. adaptorch plan catalog Return the current AdaptOrch hosted cloud plan catalog: Pro $39, Team $149. READ-ONLYnon-destructiveIDEMPOTENTOPEN-WORLD No arguments. { "jsonrpc": "2.0", "id": 10, "method": "tools/call", "params": { "name": "adaptorch plan catalog", "arguments": {} } } § 06 Authentication Hosted MCP uses POST /mcp with an AdaptOrch bearer token or X-API-Key, not GET/SSE. The separate local adapter supports stdio or HTTP+SSE with its own bearer, origin, protocol and payload settings. The table below applies only to that local adapter, not the hosted endpoint. | Local adapter settings only | | | |---|---|---| | Environment variable | Default | Purpose | |---|---|---| | ADAPTORCH CONTROL PLANE TOKEN | required | Control-plane bearer token stdio + http | | ADAPTORCH CONTROL PLANE BASE URL | http://127.0.0.1:8000 | Control-plane base URL | | ADAPTORCH MCP HTTP AUTH TOKEN | falls back to control-plane token | Bearer expected on HTTP requests | | ADAPTORCH MCP ALLOWED ORIGINS | localhost, 127.0.0.1, ::1 | Allowed Origin header values | | ADAPTORCH MCP MAX PAYLOAD SIZE BYTES | 1048576 | Max HTTP request body else 413 | | ADAPTORCH MCP ALLOW VERIFICATION COMMANDS | off | Gate for verification commands | Local HTTP adapter responses: 401 for a missing or invalid bearer token, 403 for a disallowed origin, 413 for an oversized payload. The local adapter compares tokens with hmac.compare digest . Keep credentials out of logs and committed configuration. Hosted authentication follows the quickstart above. § 07 Workflows Three common flows cover most agent integrations. 1 · Run and collect Call adaptorch run with wait for terminal, then read the result with adaptorch get run, adaptorch get artifacts, and adaptorch get traces. { "name": "adaptorch run", "arguments": { "prompt": "${TASK PROMPT}", "wait for terminal": true } } { "name": "adaptorch get artifacts", "arguments": { "run id": "${RUN ID}" } } 2 · Pre-route a DAG adaptorch route topology computes a recommended topology locally — it does not call the control-plane. { "name": "adaptorch route topology", "arguments": { "subtasks": { "id": "t1" }, { "id": "t2" } , "dependencies": { "from": "t1", "to": "t2" } } } 3 · Operate List recent runs with adaptorch list runs and request cancellation with adaptorch cancel run. A cancellation response does not establish child-process termination; inspect subsequent run evidence. The adaptorch run prompt and adaptorch get run prompt prompts wrap these calls for agents. § 08 Troubleshooting - Local launcher not found: in an existing licensed environment, use adaptorch-mcp or scripts/run adaptorch mcp.sh . Hosted HTTP needs no local launcher. - Token missing: hosted HTTP uses the service key as a bearer or X-API-Key header. The local bridge uses ADAPTORCH CONTROL PLANE TOKEN for a remote --base-url . - Local stdio framing mismatch: match --stdio-framing newline default vs content-length . This is not a hosted HTTP setting. - HTTP 401 / 403: check service authentication for hosted HTTP. For the local HTTP adapter, also check its Origin allowlist. - HTTP 413: reduce the request body to the server's documented size limit; do not bypass the limit. - verification commands rejected: shared hosted command verification is disabled by default. For the local adapter, an operator must explicitly enable ADAPTORCH MCP ALLOW VERIFICATION COMMANDS with a truthy value and provide an authorized execution environment. Control-plane consumers must enforce an allowlist/sandbox. Setting a client variable or upgrading a plan does not enable hosted checks. - Smoke test: hosted discovery uses the authenticated POST /mcp tools/list example above, not SSE. GET /mcp/health and GET /mcp/sse?once=true are for the local adapter only, on its configured origin. § 09