Skip to content

Fix parameter naming parity with OpenAPI spec#55

Merged
miguelangaranocurrents merged 1 commit intomainfrom
cursor/currents-mcp-parity-28ii5iod
Feb 11, 2026
Merged

Fix parameter naming parity with OpenAPI spec#55
miguelangaranocurrents merged 1 commit intomainfrom
cursor/currents-mcp-parity-28ii5iod

Conversation

@miguelangaranocurrents
Copy link
Collaborator

@miguelangaranocurrents miguelangaranocurrents commented Feb 11, 2026

  • Updated get-runs.ts: Use branches[], tags[], authors[] instead of deprecated branch, tag, author
  • Updated get-test-results.ts: Use branches[], tags[], authors[], groups[] instead of deprecated branch, tag, git_author, group
  • Updated find-run.ts: Use tags[] instead of deprecated tag[]

These changes align MCP tools with the current OpenAPI specification which uses bracket notation for array parameters.


Summary by cubic

Updated MCP run and test tools to match the OpenAPI array parameter format, switching to bracket notation and new field names. This removes deprecated params and keeps requests consistent with the spec.

  • Refactors

    • get-runs: branch → branches[], tag → tags[], author → authors[]
    • get-test-results: branch → branches[], tag → tags[], git_author → authors[], group → groups[]
    • find-run: tag → tags[]
  • Migration

    • Update tool inputs to use: branches[], tags[], authors[], groups[] (arrays).
    • Expect query params sent as: branches[], tags[], authors[], groups[] instead of singular names.

Written for commit e91c51f. Summary will update on new commits.

- Updated get-runs.ts: Use branches[], tags[], authors[] instead of deprecated branch, tag, author
- Updated get-test-results.ts: Use branches[], tags[], authors[], groups[] instead of deprecated branch, tag, git_author, group
- Updated find-run.ts: Use tags[] instead of deprecated tag[]

These changes align MCP tools with the current OpenAPI specification which uses bracket notation for array parameters.
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 3 files

@miguelangaranocurrents miguelangaranocurrents merged commit 8e4c26d into main Feb 11, 2026
2 checks passed
@miguelangaranocurrents miguelangaranocurrents deleted the cursor/currents-mcp-parity-28ii5iod branch February 11, 2026 03:43
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.

2 participants