Token导航 LogoToken导航TokenDH.com
MCP proxy pydantic agent logo
开发工具HTTP官方级别未说明来源级核验

MCP proxy pydantic agent

MCP Server

Example for exposing MCP servers to Pydantic Agents

工具数

0

提示词数

0

GitHub Stars

18

资源数

0
开发工具LLM交互Python模型集成

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

p2c2e

提供方

p2c2e

最后核验

2026/5/18 02:20

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

详细介绍

Sample to show to integrate MCP (Model Context Protocol) servers with Pydantic.AI\

\ \ Parts of this example uses content from : https://github.com/modelcontextprotocol/quickstart-resources.git - Esp. the weather 'server' code\ \ Code uses two different LLMs just for demonstration. The Proxy Agent uses gpt-4o and the tool uses sonnet. \ So, export OPENAI_API_KEY as well as ANTHROPIC_API_KEY - OR - modify the code to suit your models\ \ The pyproject.toml assumes you are using 'uv' package manager\ \

Steps to run\

  1. Clone this repo\
  2. uv sync\
  3. cd mcp-client\
  4. uv run client.py (this requires openai and anthropic keys and uses anthropic libs directly)\
  5. uv run client2.py (for pure pydantic and works with any fn calling LLM)\

\ (Alternatively try client2.py - this uses only PydanticAI - no direct dep on Anthropic libs)\ \ Now, try interacting with some questions like:\ \ \u003e What is the time in NY when it is 7:30pm in Bangalore?\ \ \u003e What is the Weather currently in Chicago?\ \ (and quit when done)

目录标签

目录标签

开发工具LLM交互Python模型集成developer-tools本地部署开发者工具Pydantic.AI

接入字段

传输方式(transport,传输协议)

HTTP

鉴权方式(authType,认证方式)

none

工具数量(toolCount,工具数)

0

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

HTTPnone部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

仍需确认:installCommand

来源信息

继续浏览同类 MCP