Skip to content

fix(mcp): v2 API Spec loading#262

Open
estebangarcia wants to merge 3 commits intomasterfrom
fix/mcp-spec-load
Open

fix(mcp): v2 API Spec loading#262
estebangarcia wants to merge 3 commits intomasterfrom
fix/mcp-spec-load

Conversation

@estebangarcia
Copy link
Contributor

Description

Don't stop loading API specs after the first one.

This makes the v2 endpoints available to MCP

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Refactoring
  • Other (please describe)

@estebangarcia estebangarcia requested a review from a team as a code owner February 10, 2026 16:53
Copilot AI review requested due to automatic review settings February 10, 2026 16:53
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Ensures the MCP server loads more than one Cloudsmith OpenAPI spec so that v2 endpoints are also exposed as MCP tools.

Changes:

  • Removed the “stop after first successful spec” behavior so tool generation runs for each discovered API version.
  • Simplified spec fetching to always raise on non-2xx responses.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants