Skip to content

feat: add tags resource to mcp server#1230

Merged
yelizhenden-mdb merged 9 commits intomainfrom
CLOUDP-393142-2
Apr 16, 2026
Merged

feat: add tags resource to mcp server#1230
yelizhenden-mdb merged 9 commits intomainfrom
CLOUDP-393142-2

Conversation

@yelizhenden-mdb
Copy link
Copy Markdown
Collaborator

@yelizhenden-mdb yelizhenden-mdb commented Apr 16, 2026

Proposed changes

Jira ticket: CLOUDP-393142

Purpose: Lists all operations belonging to a given tag in a loaded spec — giving an agent a focused, actionable view of one area of the API without loading the entire spec.

Key design decisions:

  • Error on unknown tag — agents get clear feedback rather than a silent empty list
  • Case-sensitive tag matching — mirrors the OpenAPI spec exactly
  • URI decoding is transparent — agents use tag names as they appear in the spec (Flex Clusters); the server handles percent-decoding automatically
  • Sorted by path then method — deterministic output regardless of spec ordering

Checklist

  • I have signed the MongoDB CLA
  • I have added tests that prove my fix is effective or that my feature works

Changes to Spectral

  • I have read the README file for Spectral Updates

Further comments

@yelizhenden-mdb yelizhenden-mdb marked this pull request as ready for review April 16, 2026 14:35
@yelizhenden-mdb yelizhenden-mdb requested a review from a team as a code owner April 16, 2026 14:35
@yelizhenden-mdb yelizhenden-mdb merged commit 2bc3f62 into main Apr 16, 2026
8 checks passed
@yelizhenden-mdb yelizhenden-mdb deleted the CLOUDP-393142-2 branch April 16, 2026 14:40
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