Align commands to cross-plugin parity (rename codegen→generate-spec, add 8 commands) - #8
Merged
Merged
Conversation
… add 8 commands) Bring the Cursor plugin to the canonical 17-command set shared with the Claude Code and Antigravity plugins. - Rename /postman:codegen -> /postman:generate-spec, reworked to generate/update an OpenAPI 3.0 spec from the codebase (matches the Claude Code command). - Add 8 commands: run-collection, send-request, list-flows, trigger-flow, deploy-flow, get-flow-run (CLI-driven), plus use-local / use-remote (toggle .mcp.json transport, API-key auth, no OAuth). - Update README command list (all 17), routing + knowledge skills, and CHANGELOG; bump version 1.1.0 -> 1.2.0. Co-Authored-By: Claude <noreply@anthropic.com>
… command (18-command set) Client code generation FROM a Postman collection was the original codegen capability; generate-spec (spec FROM code) is different. Restore it as a distinct command so the canonical set is 18. - Add commands/generate-client.md (MCP-tool-driven; Code/Full mode note). - Repoint client-codegen references (setup, search, routing + knowledge skills) at generate-client; keep generate-spec for spec-from-code. - README updated to 18 commands; CHANGELOG [1.2.0] lists generate-client. - Version unchanged (1.2.0). Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Brings the Cursor plugin to the canonical 17-command set shared with the Claude Code plugin (the source of truth) and the Antigravity extension. Cursor previously had 9 commands; this adds the missing 8 and renames one, so all three plugins expose the same surface.
Auth model is unchanged: API key only (the hosted server uses a bearer header; OAuth stays disabled to avoid Cursor's login loop). The new CLI-driven commands authenticate with the same
POSTMAN_API_KEY.Rename
/postman:codegen→/postman:generate-spec, reworked from "generate client code" to "generate or update an OpenAPI 3.0 spec by scanning the codebase," matching Claude Code'sgenerate-spec. References updated in the README, routing skill, and knowledge skill.Added (8)
Translated from Claude Code (kept Cursor's frontmatter/format conventions):
/postman:run-collection— run a collection with the Postman CLI/postman:send-request— send a single HTTP request with the Postman CLI/postman:list-flows— list Flows / resolve a name to an ID/postman:trigger-flow— trigger a deployed Flow/postman:deploy-flow— deploy a Flow (confirms before the mutating action)/postman:get-flow-run— inspect a Flow run by Run IDThe Flow,
run-collection, andsend-requestcommands drive the Postman CLI (not MCP), so they're independent of MCP mode; each documents the CLI dependency.Translated from the Antigravity extension (adapted to Cursor's
.mcp.jsonkeys and API-key auth):/postman:use-local— rewrite.mcp.jsonto the local stdio package (npx @postman/postman-mcp-server@latest,POSTMAN_API_KEY)/postman:use-remote— rewrite.mcp.jsonback to the hosted server (https://mcp.postman.com/mcp, API-key bearer header — not OAuth)Housekeeping
1.1.0→1.2.0; CHANGELOG entry addedcodegen→generate-specreference fix in setup/searchGenerated with Claude Code