Do I need both OpenAI and Anthropic API keys?
The proxy agent uses gpt‑4o and the tool uses sonnet. You must export both `OPENAI_API_KEY` and `ANTHROPIC_API_KEY`, unless you modify the code to use different models.
@p2c2e
基本情報
Example for exposing MCP servers to Pydantic Agents
ツール一覧はまだありません
この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
Mcp_proxy_pydantic_agent is a sample integration that shows how to connect Model Context Protocol (MCP) servers with Pydantic.AI. It demonstrates using a weather server example and is intended for developers who want to mix MCP tools with PydanticAI agents.
Clone the repo, run uv sync, change into mcp-client, then run either client.py (requires OpenAI and Anthropic API keys and uses Anthropic libraries directly) or client2.py (uses only PydanticAI and works with any function‑calling LLM). Export OPENAI_API_KEY and ANTHROPIC_API_KEY before running.
The proxy agent uses gpt‑4o and the tool uses sonnet. You must export both `OPENAI_API_KEY` and `ANTHROPIC_API_KEY`, unless you modify the code to use different models.
`client.py` uses Anthropic libraries directly. `client2.py` uses only PydanticAI and works with any function‑calling LLM.
The project uses the `uv` package manager (as configured in `pyproject.toml`).
The weather server code is adapted from the MCP quickstart resources repository.

Timestamp and verify evidence on-chain. Let your agent prove what it saw and when. bsv.cx gives an AI agent verifiable memory. Timestamp a hash of any output, archive a web page as it looked, or fetch a URL with a recei
TruVerifAI's Panel Review is the guardian agent for AI's highest-stakes coding decisions: four frontier models argue over an AI coding agent's riskiest designs, diffs, and commits before they execute, with local review g
早起鸟儿喊真人验真 is a remote MCP server available at http://121.40.18.232.
28-tool MCP server for web scraping, crawling, deep research & autonomous extraction — clean Markdown & structured JSON for Claude, Cursor & any MCP client. 1,000 free one-time credits, local-Ollama LLM support.
BERGHAIN MCP server — sovereign AI stress-testing mcp / ai / multi-agent / adversarial / stress-test / claude
コメント