Skip to content

docs: complete swagger annotations for organization-scoped MCP routes - #28064

Open
ibetitsmike wants to merge 1 commit into
mike/codagt-711-mcp-org-scopefrom
mike/codagt-711-mcp-apidocs
Open

docs: complete swagger annotations for organization-scoped MCP routes#28064
ibetitsmike wants to merge 1 commit into
mike/codagt-711-mcp-org-scopefrom
mike/codagt-711-mcp-apidocs

Conversation

@ibetitsmike

@ibetitsmike ibetitsmike commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Adds the missing swagger annotations for the eight organization-scoped MCP server config routes introduced in #27942 and checks in the regenerated API artifacts (coderd/apidoc, docs/reference/api). No behavior changes: 58 hand-written annotation lines, the rest is generated output.

Stack context

Part of the MCP org-separation stack (CODAGT-711 org scope -> apidocs -> hardening -> CODAGT-717 audit -> CODAGT-712 ACLs -> CODAGT-806 token RBAC). Split out of #27942 to keep the core cutover reviewable; these routes live under /api/experimental, where main already ships several MCP handlers without annotations, so the base PR is consistent with existing precedent until this lands.

Closes nothing on its own; documentation completion for CODAGT-711.

Mux (AI agent) authored this PR on Mike's behalf.

@linear-code

linear-code Bot commented Aug 12, 2026

Copy link
Copy Markdown

CODAGT-711

@github-actions

github-actions Bot commented Aug 12, 2026

Copy link
Copy Markdown

Docs preview

Check off each page once it's been reviewed. If a page changes in a later push, its checkbox clears automatically so it gets a fresh look. Pages not yet wired into the docs navigation aren't listed here.

@ibetitsmike

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 70c1ad844f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/manifest.json
Comment on lines +1640 to +1641
"title": "MCP",
"path": "./reference/api/mcp.md"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Do not publish an empty MCP API page

Every MCP operation introduced here has x-apidocgen.skip set, so the generated mcp.md contains only # MCP; nevertheless, this entry adds that empty page to the public REST API navigation. Users who select MCP therefore land on a page with no endpoint documentation. Omit sections whose operations are all skipped, or otherwise keep this manifest entry out until at least one MCP operation is publishable.

Useful? React with 👍 / 👎.

The moved and newly introduced MCP endpoints carried only @summary and
the apidocgen skip marker. Add the full annotation set (@id, @Security,
@tags, params, responses, @router) matching the ACL endpoints, and
regenerate the API reference.
@ibetitsmike
ibetitsmike force-pushed the mike/codagt-711-mcp-apidocs branch from 70c1ad8 to f84f73c Compare August 12, 2026 11:42
@ibetitsmike

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

Reviewed commit: f84f73ca23

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

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