Summary
After the server has been moved to this repository (tracked in #29), update mcp-servers/python/output_schema_test_server/ to migrate from the standalone fastmcp package to the MCP SDK v2 MCPServer.
Changes required
1. Dependency swap
# Before
fastmcp>=3.4.4
# After
mcp>=2,<3
2. FastMCP → MCPServer rename
# Before (standalone fastmcp package)
from fastmcp import FastMCP
app = FastMCP('output-schema-test-server')
# After (MCP SDK v2)
from mcp.server import MCPServer
app = MCPServer('output-schema-test-server')
Note: If the server uses standalone fastmcp-specific APIs with no equivalent in mcp.server.MCPServer, document the gap and decide whether to keep fastmcp as an explicit dependency instead.
3. Rename entry-point module (optional)
Consider renaming server_fastmcp.py → server.py and updating pyproject.toml [project.scripts] accordingly.
Acceptance criteria
References
Summary
After the server has been moved to this repository (tracked in #29), update
mcp-servers/python/output_schema_test_server/to migrate from the standalonefastmcppackage to the MCP SDK v2MCPServer.Changes required
1. Dependency swap
2. FastMCP → MCPServer rename
3. Rename entry-point module (optional)
Consider renaming
server_fastmcp.py→server.pyand updatingpyproject.toml[project.scripts]accordingly.Acceptance criteria
fastmcpdependency replaced withmcp>=2,<3fastmcpimportsReferences