-
Notifications
You must be signed in to change notification settings - Fork 2
Add upstream registry schema documentation #465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Dan Barr <6922515+danbarr@users.noreply.github.com>
Signed-off-by: Dan Barr <6922515+danbarr@users.noreply.github.com>
- Need Node installed now Signed-off-by: Dan Barr <6922515+danbarr@users.noreply.github.com>
Signed-off-by: Dan Barr <6922515+danbarr@users.noreply.github.com>
Signed-off-by: Dan Barr <6922515+danbarr@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds documentation for the official upstream MCP registry format alongside the existing ToolHive-native format. The changes include:
Changes:
- New reference page for upstream registry JSON schema with embedded MCP server schema
- Renamed existing schema page to
registry-schema-toolhivefor clarity - Added build script to fetch and bundle the MCP server schema from upstream
- Added navigation links and redirects for the new schema documentation
- Custom CSS for neutral JSON schema viewer appearance
Reviewed changes
Copilot reviewed 13 out of 15 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| vercel.json | Redirect from old schema URL to renamed ToolHive-specific schema page |
| static/api-specs/upstream-registry.schema.json | New upstream registry schema with simplified MCP server references |
| static/api-specs/mcp-server.schema.json | Complete MCP server schema fetched from upstream |
| src/css/custom.css | Custom styling for JSON schema viewer to use neutral colors |
| scripts/update-toolhive-reference.sh | Updated to fetch and bundle both registry schemas |
| scripts/bundle-upstream-schema.mjs | New script to resolve schema references and fetch upstream schema |
| package.json | Added json-schema-ref-parser dev dependency |
| docusaurus.config.ts | Updated navigation links for both schema types |
| docs/toolhive/reference/registry-schema-upstream.mdx | New documentation page for upstream registry format |
| docs/toolhive/reference/registry-schema-toolhive.mdx | Updated existing page with clarification about legacy status |
| docs/toolhive/guides-registry/configuration.mdx | Added explanation of registry data formats |
| docs/toolhive/guides-cli/registry.mdx | Updated link to renamed schema page |
| docs/toolhive/tutorials/custom-registry.mdx | Updated link to renamed schema page |
| .github/workflows/update-toolhive-reference.yml | Simplified to use shared setup action |
Signed-off-by: Dan Barr <6922515+danbarr@users.noreply.github.com>
|
Security issues are not related to this PR; ran |
Signed-off-by: Dan Barr <6922515+danbarr@users.noreply.github.com>
Description
Adds documentation for the official upstream MCP registry format alongside the existing ToolHive-native format:
registry-schema-toolhivefor clarityType of change
Submitter checklist
Content and formatting
Navigation
sidebars.ts) updated for added, deleted, reordered, or renamed filesvercel.jsonfor moved, renamed, or deleted pagesReviewer checklist
Content