Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Docs: add a PydanticAI example for consuming the Openapi MCP server

Đang mở
#16 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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

  1. Set up a small PydanticAI app.
  2. Try to connect it to this MCP server.
  3. 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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của openapi/mcp-server

Tất cả issue của openapi/mcp-server

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.