Docs: add a PydanticAI example for consuming the Openapi MCP server
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 55/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
- 技术栈
- python
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- Python
- 星标
- 22
- 派生
- 4
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
openapi/mcp-server 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
openapi/mcp-server#33 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
openapi/mcp-server#29 ·
-
难度 1/5 1-3 小时 新手友好度 73/100
openapi/mcp-server#25 ·
-
Testing: add a host-agnostic smoke test checklist for OpenClaw, NanoClaw, and NemoClaw-style clients未关闭
难度 2/5 1-3 小时 新手友好度 72/100
openapi/mcp-server#24 ·
-
难度 1/5 1-3 小时 新手友好度 72/100
openapi/mcp-server#21 ·
查看 openapi/mcp-server 的全部 Issue
相似的 Issue
-
Agentic
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
Imbad0202/academic-research-skills#979 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
reflex-dev/reflex#7561 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 2/5 1-3 小时 新手友好度 62/100
prometheus-community/ansible#906 · 2 条评论 ·