Docs: add a PydanticAI example for consuming the Openapi MCP server
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python
- Lĩnh vực
- documentation
Hướng nghiên cứu
Search the repository for existing Python MCP client examples and the server’s token configuration. Add one concise PydanticAI example covering server startup, token setup, and a model request that calls an MCP tool; explain whether headers or the ?token= fallback is needed. Done when the example is documented, keeps dependencies minimal, and can guide a user through the integration.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Opened by @francescobianco from local draft 06-pydanticai-example.md.
Summary
I tried to plug this server into a PydanticAI-based app and realized there is no example showing how to consume the MCP endpoint from modern Python agent frameworks. A focused example would help users evaluate this project much faster.
Reproduction
- Set up a small PydanticAI app.
- Try to connect it to this MCP server.
- Search the repo for "pydanticai" and find no usage guidance.
Expected
A small example showing:
- server startup
- token configuration
- one model request that can call an MCP tool
Actual
No documented PydanticAI integration path exists.
Why this is a good first issue
This is a self-contained docs/example contribution and fits well with the existing Python-first positioning of the package.
Suggested acceptance criteria
- Add one concise PydanticAI example.
- Keep dependencies minimal.
- Mention whether the client needs headers support or the
?token=fallback.
- Ngôn ngữ chính
- Python
- Star
- 22
- Fork
- 4
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Có Dockerfile hoặc 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 openapi/mcp-server
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
openapi/mcp-server#33 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
openapi/mcp-server#29 ·
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 73/100
openapi/mcp-server#25 ·
-
Testing: add a host-agnostic smoke test checklist for OpenClaw, NanoClaw, and NemoClaw-style clientsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
openapi/mcp-server#24 ·
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 72/100
openapi/mcp-server#21 ·
Tất cả issue của openapi/mcp-server
Issue tương tự
-
Workflow.schedule stops when a cron deadline passes before sleepCó thể đã có người làm @HuaTNA đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] HiveDialect shares its colspecs dict with SQLAlchemy's DefaultDialect (python/pyhive)Có thể đã có người làm @rusackas đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 80/100
apache/kyuubi#7786 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[20.0] hr_work_entry: Duration column of Export Time Entries is truncated to whole hoursCó thể đã có người làm @odooaktiv đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
fix formatting of the sample database page of the docsCó thể đã có người làm @Aaqibhafeezkhan đã nhận hôm nay. Đang mởdocumentation good first issue help wanted
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
chaoss/CollectOSS#544 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày