[CHORE]: graphviz_server — migrate from standalone fastmcp to mcp>=2,<3 MCPServer
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 68/100
Hướng nghiên cứu
Bắt đầu trong mcp-servers/python/graphviz_server/server_fastmcp.py và mục tương ứng trong pyproject.toml, kiểm tra các import hiện tại, khai báo dependency và cấu hình script. Chạy bộ test hiện có và xác minh việc migration dependency, không có import fastmcp, khả năng tương thích với MCP SDK v2 và CI đang xanh; ghi lại mọi thiếu sót của standalone API nếu vẫn còn.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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 inmcp.server.MCPServer, document the gap and decide whether to keepfastmcpas 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
-
fastmcpdependency replaced withmcp>=2,<3 - No remaining
fastmcpimports - All tests pass against MCP SDK v2
- CI green
References
- Depends on: #27 (move issue)
- MCP SDK v2 migration epic: IBM/mcp-context-forge#6218
- Step 10 (mcp-servers update): IBM/mcp-context-forge#6228
- Ngôn ngữ chính
- Python
- Star
- 1
- Fork
- 2
- Merge trung bình
- 19 giờ 52 phút
- Pull request đã merge (30 ngày)
- 11
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của IBM/contextforge-examples
-
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 78/100
IBM/contextforge-examples#29 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
IBM/contextforge-examples#37 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
IBM/contextforge-examples#38 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
IBM/contextforge-examples#32 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
IBM/contextforge-examples#34 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của IBM/contextforge-examples
Issue tương tự
-
Custom provider API keys collide on one host: env slot keyed on host:port only, not URL pathĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
NousResearch/hermes-agent#140958 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Bisect issue233186Đang mởbisect
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
dtcxzyw/llvm-bisect-service#548 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
sallowayma-git/IELTS-practice#248 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
anthropics/claude-plugins-official#6763 · 10 bình luận · 10 reaction ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày