MCP.so
登录

AI Agent Starter with PydanticAI and MCP Server

@ianrichard

基本信息

分类

AI 与智能体

传输方式

stdio

作者

ianrichard

关于 AI Agent Starter with PydanticAI and MCP Server

暂无概览

AI Agent Starter with PydanticAI and MCP Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

AI Agent Starter with PydanticAI and MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is AI Agent Starter with PydanticAI and MCP?

A base project using PydanticAI’s Agent API that connects to any LLM provider (e.g., OpenAI, Groq, Azure OpenAI) and supports multiple MCP servers via a simple JSON configuration. It includes a minimal demo client to show tool calls and results. Aimed at developers building AI agents with flexible backends.

How to use AI Agent Starter with PydanticAI and MCP?

Clone the repository, copy .env.example to .env, edit with your provider and API key, optionally configure MCP servers in mcp_config.json, then start the API server with Docker (docker-compose up --build) or with UV (uv sync then uv run -- uvicorn src.server.server:app). Access the running server at http://localhost:8000.

Key features of AI Agent Starter with PydanticAI and MCP

  • Multi-provider LLM support via provider:model syntax
  • Connects to multiple MCP servers configured in mcp_config.json
  • Demo client included for testing tool calls
  • Deployable with Docker or UV
  • Azure OpenAI configuration supported

Use cases of AI Agent Starter with PydanticAI and MCP

  • Build AI agents that use different LLM providers for the same tool chain
  • Integrate several MCP servers (weather, filesystem, etc.) into one agent
  • Prototype agent workflows locally with a built-in demo client

常见问题

1

What prerequisites are needed to run the project?

Docker or UV (Python package manager) must be installed. The project also requires API keys for the chosen LLM provider.

2

How do I configure multiple MCP servers?

Edit the `mcp_config.json` file at the project root, following the structure from the MCP protocol quickstart. Each entry specifies a server command and its arguments.

3

Can I use Azure OpenAI instead of standard OpenAI?

Yes. Fill out the additional Azure fields in your `.env` file as described in the example and the PydanticAI docs.

4

How can I test custom or third-party MCP servers?

Use the MCP Inspector tool (`npx @modelcontextprotocol/inspector`) and pass the server command (e.g., `uvx mcp-server-fetch`) after the `--` separator. Ensure the required runtime and dependencies are available in your environment.

5

Does the server require a constant internet connection?

The server communicates with external LLM providers via API calls, so internet access is needed for those requests. MCP servers may run locally or remotely depending on their configuration.

评论

AI 与智能体 分类下的更多 MCP 服务器