Skip to content

Currents MCP alignment#54

Merged
miguelangaranocurrents merged 2 commits intomainfrom
cursor/currents-mcp-alignment-f550
Feb 11, 2026
Merged

Currents MCP alignment#54
miguelangaranocurrents merged 2 commits intomainfrom
cursor/currents-mcp-alignment-f550

Conversation

@cursor
Copy link
Contributor

@cursor cursor bot commented Feb 10, 2026

Align MCP server parameters with the current OpenAPI specification by updating deprecated parameter names.


Open in Cursor Open in Web


Summary by cubic

Aligns MCP server query parameters with the current OpenAPI spec to replace deprecated names and ensure consistent filtering across runs and test results. Also bumps package version to 2.2.5.

  • Bug Fixes

    • /runs/find: tag[] → tags[].
    • /projects/{projectId}/runs: branch → branches[], tag → tags[], author → authors[].
    • /test-results/{signature}: branch → branches[], tag → tags[], git_author[] → authors[], group[] → groups[].
    • All tests passing (35/35).
  • Migration

    • Update tool args: branch→branches, tag→tags, author→authors, git_author→authors, group→groups. Arrays use bracket notation (e.g., tags[]).

Written for commit 3f7cee9. Summary will update on new commits.

- Update find-run.ts: change 'tag' to 'tags' parameter (tag[] -> tags[])
- Update get-test-results.ts: change deprecated parameters to current ones
  - branch -> branches (branch -> branches[])
  - tag -> tags (tag -> tags[])
  - git_author -> authors (git_author[] -> authors[])
  - group -> groups (group[] -> groups[])
- Update get-runs.ts: change deprecated parameters to current ones
  - branch -> branches (branch -> branches[])
  - tag -> tags (tag -> tags[])
  - author -> authors (author -> authors[])
- Add comprehensive PARITY_ANALYSIS.md documenting all changes
- All tests passing (35/35)
- No TypeScript errors

Fixes parameter naming inconsistencies with OpenAPI v1.0.0 spec
OpenAPI spec: https://api.currents.dev/v1/docs/openapi.json
@cursor
Copy link
Contributor Author

cursor bot commented Feb 10, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@miguelangaranocurrents miguelangaranocurrents marked this pull request as ready for review February 11, 2026 03:11
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 5 files

@miguelangaranocurrents miguelangaranocurrents merged commit 82afcfc into main Feb 11, 2026
2 checks passed
@miguelangaranocurrents miguelangaranocurrents deleted the cursor/currents-mcp-alignment-f550 branch February 11, 2026 03: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.

3 participants