Skip to content

Sync checkout-api-reference steering docs with the live dx-mcp tool contract - #200

Open
huseyin-caglayan-cko wants to merge 3 commits into
kirodotdev:mainfrom
huseyin-caglayan-cko:fix/sync-checkout-steering-with-dx-mcp-v2.3.0
Open

huseyin-caglayan-cko wants to merge 3 commits into
kirodotdev:mainfrom
huseyin-caglayan-cko:fix/sync-checkout-steering-with-dx-mcp-v2.3.0

Conversation

@huseyin-caglayan-cko

Copy link
Copy Markdown

Summary

The checkout-api-reference power's steering docs describe a tool contract that doesn't match the live server at https://docs.mcp.checkout.com/rpc. This PR syncs checkout/POWER.md and both steering files with what the server actually exposes today (verified against live tools/list).

I'm the maintainer of the upstream server (cko-web/dx-mcp); these docs are now generated from that repo's power/ directory, which is the source of truth for the tool contract.

What was wrong

Two separate drifts had accumulated:

  1. Wrong tool names (casing). The docs referenced ApiSearch, ListOperations, GetOperation, GetSchema, DocsSearch, Guide — but the server's tools are snake_case (api_search, list_operations, get_operation, get_schema, docs_search, guide). The PascalCase names return Unknown tool.
  2. Two tools missing entirely, and a stale retrieval model.
    • support_search (support-site search) was undocumented.
    • docs_fetch was undocumented — and it's load-bearing: docs_search now returns document pointers only (urlPath, whyMatched, summary, totalChunks, matchedChunk), and reading a page requires a second docs_fetch(urlPath, chunk) call, paging through chunk 1..totalChunks while hasMore is true. None of that chunking contract was described.

What changed

  • checkout/POWER.md — all 8 tools documented with correct snake_case names; docs_search/docs_fetch two-step described; version bumped 2.0.0 → 2.3.0 to match the server release; added a read-only note and support/troubleshooting keywords.
  • checkout/steering/getting-started.md — "six tools" → eight; correct names; added docs_fetch and support_search sections and the search→fetch contract.
  • checkout/steering/advanced-usage.md — snake_case names throughout every example; added the docs/support tool-selection guidance and the chunking contract.

checkout/mcp.json is unchanged (endpoint is identical).

Verification

Tool names, the pointer/chunk retrieval model, and the presence of all 8 tools were confirmed by live tools/list and tool calls against the production endpoint. On the server side these are covered by an annotation/contract test in cko-web/dx-mcp, so the two won't drift apart again.

Real snake_case tool names, add docs_fetch + support_search, correct
docs_search to the pointer + docs_fetch two-step, bump version to 2.3.0.
Real snake_case tool names, correct "six tools" -> eight, add docs_fetch
and support_search, document the docs_search -> docs_fetch two-step.
Real snake_case tool names throughout, add docs_fetch + support_search
guidance and the docs_search -> docs_fetch chunking contract.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant