Skip to content

docs(cli): correct the MCP section and show Claude Code setup first - #867

Merged
roncohen merged 1 commit into
mainfrom
docs/cli-mcp-readme
Dec 2, 2026
Merged

roncohen merged 1 commit into
mainfrom
docs/cli-mcp-readme

Conversation

@roncohen

@roncohen roncohen commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

The CLI README's MCP section described behaviour the CLI no longer has.

  • The note said setup uses mcp-remote. npx reflag mcp writes { "url": "<apiUrl>/mcp" } directly (packages/cli/commands/mcp.ts), so the note is removed, along with the outdated note about the former local server.
  • --editor was documented as accepting claude and windsurf. The option only accepts cursor and vscode (packages/cli/utils/options.ts); the other editors appear only in the interactive picker.
  • Claude Code setup (claude mcp add --transport http … then /mcp) now comes first, matching https://docs.reflag.com/api/mcp.

Patch changeset included so the corrected README reaches docs.reflag.com, which syncs CLI docs from the release commit.

@reflag-review reflag-review 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.

Risk: low

no actionable findings

@roncohen
roncohen added this pull request to the merge queue Dec 2, 2026
Merged via the queue into main with commit 428f0d1 Dec 2, 2026
9 checks passed
@roncohen
roncohen deleted the docs/cli-mcp-readme branch December 2, 2026 19:14
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