Summary
After the server has been moved to this repository (tracked in #27), update mcp-servers/python/graphviz_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
The standalone fastmcp package (jlowin/fastmcp) is a separate project from mcp.server.fastmcp. Confirm the import in server_fastmcp.py and update accordingly:
# Before (standalone fastmcp package)
from fastmcp import FastMCP
app = FastMCP('graphviz-server')
# After (MCP SDK v2)
from mcp.server import MCPServer
app = MCPServer('graphviz-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 now that the FastMCP dependency is removed, and updating pyproject.toml [project.scripts] accordingly.
Acceptance criteria
References
Summary
After the server has been moved to this repository (tracked in #27), update
mcp-servers/python/graphviz_server/to migrate from the standalonefastmcppackage to the MCP SDK v2MCPServer.Changes required
1. Dependency swap
2. FastMCP → MCPServer rename
The standalone
fastmcppackage (jlowin/fastmcp) is a separate project frommcp.server.fastmcp. Confirm the import inserver_fastmcp.pyand update accordingly:3. Rename entry-point module (optional)
Consider renaming
server_fastmcp.py→server.pynow that the FastMCP dependency is removed, and updatingpyproject.toml[project.scripts]accordingly.Acceptance criteria
fastmcpdependency replaced withmcp>=2,<3fastmcpimportsReferences