
box mcp pydantic ai
This project is a demo of how to use the Box MCP server with Pydantic AI agents. The use case is a policy analyzer.
Repository Info
About This Server
This project is a demo of how to use the Box MCP server with Pydantic AI agents. The use case is a policy analyzer.
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Pydantic AI and Box MCP
This project is a demo showing how to use the Box MCP server to augment Pydantic AI agents with secure content in Box.
To run this, you will need a local copy of our MCP server. Follow the instructions there to set up your Box platform app, register it with your Box instance, and configure the server.
The only thing you'll need to do in this project is update the following code to point to your local directory:
async with MCPServerStdio(
command='uv',
args=[
'--directory',
'/Users/shurrey/local/mcp-server-box',
'run',
'src/mcp_server_box.py'
]
) as local_server:
Once you have those steps done, navigate to this project at the commandline and set up your virtual environment:
uv venv
Then install the prerequisites libraries.
uv pip install -r pyproject.toml
Now you can run the demo.
uv run policy_analyzer.py
Quick Start
Clone the repository
git clone https://github.com/box-community/box-mcp-pydantic-aiInstall dependencies
cd box-mcp-pydantic-ai
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.