Pydantic AI and Box MCP
@box-community
About Pydantic AI and Box MCP
This project is a demo of how to use the Box MCP server with Pydantic AI agents. The use case is a policy analyzer.
Overview
What is Pydantic AI and Box MCP?
Pydantic AI and Box MCP is a demonstration project that shows how to use the Box MCP (Model Context Protocol) server to augment Pydantic AI agents with secure content stored in Box. It runs locally on a developer’s machine and is intended for developers exploring the integration of Box’s MCP server with AI agent frameworks.
How to use Pydantic AI and Box MCP?
First, set up a local copy of the Box MCP server and configure your Box platform app. Then update the MCPServerStdio command in the code to point to your local directory of the Box MCP server. After that, navigate to the project directory, create a virtual environment with uv venv, install the required libraries with uv pip install -r pyproject.toml, and finally run the demo with uv run policy_analyzer.py.
Key features of Pydantic AI and Box MCP
- Demonstrates integration of Box MCP with Pydantic AI agents
- Uses Box MCP server for secure content access
- Showcases augmenting AI agents with enterprise content
- Simple local setup with
uvand virtual environments - Example script
policy_analyzer.pyfor a concrete use case
Use cases of Pydantic AI and Box MCP
- Analyzing policies or documents stored securely in Box using Pydantic AI agents
- Building AI-powered insights on content that remains inside Box’s secure environment
FAQ from Pydantic AI and Box MCP
What does this demo do?
It shows how to use the Box MCP server to augment Pydantic AI
Basic information
More Agent Frameworks MCP clients
MCP Client Chatbot
cgoinglove🚀 Open source MCP Client: A Multi-provider AI Chatbot Solution
Nerve
evilsocketThe Simple Agent Development Kit.
SSE-based Server and Client for
sidharthrajaramA working pattern for SSE-based MCP clients and servers
Open MCP Client
copilotkitchatmcp
daodao97ChatMCP is an AI chat client implementing the Model Context Protocol (MCP).
Comments