Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#16 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
55/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
python
Ambito
documentation

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.
Lingua principale
Python
Stelle
22
Fork
4
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di openapi/mcp-server

Tutte le issue di openapi/mcp-server

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.