MCP.so
Sign In

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 uv and virtual environments
  • Example script policy_analyzer.py for 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

Comments

More Agent Frameworks MCP clients