Skip to content

Add OpenAPI example demonstrating publisher extensions - #299

Merged
domdomegg merged 2 commits into
modelcontextprotocol:mainfrom
JAORMX:add-openapi-example
Aug 25, 2025
Merged

domdomegg merged 2 commits into
modelcontextprotocol:mainfrom
JAORMX:add-openapi-example

Conversation

@JAORMX

@JAORMX JAORMX commented Aug 25, 2025

Copy link
Copy Markdown
Contributor

This PR adds a new example to the OpenAPI specification that demonstrates the publisher extensions feature recently added in #298.

Changes

  • Added `example_org_server` example to the OpenAPI spec
  • Demonstrates `x-publisher` fields for contact email and build metadata
  • Shows organization-specific extensions (`x-com.example`) including:
    • Marketplace icon URL
    • Category classification
    • Documentation URL
    • Verified publisher status

This example helps developers understand how to use the new vendor extensions functionality when publishing servers to the registry.

- Add new example demonstrating publisher extensions
- Shows x-publisher fields for contact and build metadata
- Includes organization-specific extensions (x-com.example)
- Demonstrates marketplace integration fields like icon, category, and verification status
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

server:
name: "com.example/demo-server"
description: "Example MCP server demonstrating publisher extensions."
status: "active"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

separately, I think status should go? but I don't think needs to be in this PR.

@domdomegg
domdomegg enabled auto-merge (squash) August 25, 2025 16:29
@domdomegg
domdomegg merged commit b3ae1c2 into modelcontextprotocol:main Aug 25, 2025
5 checks passed
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