docs: Add guide for organizing larger FastMCP servers with versioned tools#1682
Closed
dgenio wants to merge 2 commits intomodelcontextprotocol:mainfrom
Closed
docs: Add guide for organizing larger FastMCP servers with versioned tools#1682dgenio wants to merge 2 commits intomodelcontextprotocol:mainfrom
dgenio wants to merge 2 commits intomodelcontextprotocol:mainfrom
Conversation
d3f0370 to
642a915
Compare
…tools - Add docs/server_organization.md with recommended patterns - Create examples/snippets/servers/server_layout/ demonstrating organization - Show name-based tool versioning (tool_v1, tool_v2) - Wire new docs page into mkdocs.yml navigation - No changes to core library behavior
642a915 to
2280c33
Compare
Contributor
|
Thanks for the effort here! Unfortunately, SEP-1575 (tool versioning) is not yet accepted and is still in early discussions. The SEP would need to be accepted and part of an upcoming MCP spec release before we add anything about it in the SDK. Once tool versioning lands in the spec, we'd be happy to revisit this. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds documentation and examples for organizing larger FastMCP servers and managing tool versions.
Closes #1681
Changes
Documentation
docs/server_organization.md- Comprehensive guide on:Examples
examples/snippets/servers/server_layout/- Runnable example showing:Other Changes
mkdocs.ymlto include new docs page in navigationexamples/snippets/servers/__init__.pyto include new exampleDesign Decisions
get_info_v1,get_info_v2- compatible with current main branch, no protocol changes neededsrc/mcp/Testing
Run the example:
uv run examples/snippets/servers/server_layout/server.py## Checklist