Bring File Sharing
to Pydantic AI
Learn how to connect Box to Pydantic AI and start using 10 AI agent tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code.
What is the Box MCP Server?
Connect your Box account to any AI agent and take full control of your cloud content management and enterprise collaboration workflows through natural conversation.
What you can do
- Folder Orchestration — Navigate through your entire Box directory structure programmatically, listing folder items and retrieving high-fidelity metadata in real-time
- File Lifecycle Management — Access detailed information about individual files, including version history, size, and high-fidelity descriptions directly through your agent
- Collaboration Intelligence — Programmatically manage folder collaborations by inviting team members with specific roles (editor, viewer) to ensure perfectly coordinated access
- Search & Discovery — Use semantic keywords to search for specific files and folders across your entire Box account to maintain a perfectly coordinated digital library
- User Visibility — Retrieve complete profile information for the authenticated user and manage account-level metadata for instant operational reporting
How it works
1. Subscribe to this server
2. Retrieve your Developer Token (for testing) or Access Token (OAuth) from the Box Developer Console
3. Start managing your enterprise content from Claude, Cursor, or any MCP client
No more manual searching through browser tabs to find specific documents or check permissions. Your AI acts as your dedicated cloud content manager and digital librarian.
Who is this for?
- Project Managers — instantly retrieve project files and manage team access using natural language commands
- Knowledge Workers — verify document versions and search for internal resources without leaving your workspace
- IT & Admin Leads — automate organizational file auditing and collaboration oversight through simple AI queries
Built-in capabilities (10)
Requires the folder ID, the user's email (login), and an assigned role (e.g., "editor", "viewer", "previewer"). Share a folder with a collaborator
Use parent ID "0" for the root folder. Create a new folder in Box
Delete a file from Box
If the folder is not empty, you must set the recursive flag to true to delete all its contents. Delete a folder from Box
Use this to verify the current identity. Retrieve current Box user details
Includes size, SHA1 hash, version information, and parent folder details. Get details and metadata for a file
Includes information about the parent folder, creator, and modified dates. Get details and metadata for a folder
Note: Use ID "0" for the root folder. List all items within a folder
Useful for discovering items when the IDs are unknown. Search for files and folders
Can be used to rename the file or update its description. Update file attributes and metadata
Why Pydantic AI?
Pydantic AI validates every Box tool response against typed schemas, catching data inconsistencies at build time. Connect 10 tools through Vinkius and switch between OpenAI, Anthropic, or Gemini without changing your integration code. full type safety, structured output guarantees, and dependency injection for testable agents.
- —
Full type safety: every MCP tool response is validated against Pydantic models, catching data inconsistencies before they reach your application
- —
Model-agnostic architecture. switch between OpenAI, Anthropic, or Gemini without changing your Box integration code
- —
Structured output guarantee: Pydantic AI ensures tool results conform to defined schemas, eliminating runtime type errors
- —
Dependency injection system cleanly separates your Box connection logic from agent behavior for testable, maintainable code
Box in Pydantic AI
Box and 3,400+ other MCP servers. One platform. One governance layer.
Teams that connect Box to Pydantic AI through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.
Raw MCP | Vinkius | |
|---|---|---|
| Server catalog | Find and host yourself | 3,400+ managed |
| Infrastructure | Self-hosted | Sandboxed V8 isolates |
| Credential handling | Plaintext in config | Vault + runtime injection |
| Data loss prevention | None | Configurable DLP policies |
| Kill switch | None | Global instant shutdown |
| Financial circuit breakers | None | Per-server limits + alerts |
| Audit trail | None | Ed25519 signed logs |
| SIEM log streaming | None | Splunk, Datadog, Webhook |
| Honeytokens | None | Canary alerts on leak |
| Custom domains | Not applicable | DNS challenge verified |
| GDPR compliance | Manual effort | Automated purge + export |
Why teams choose Vinkius for Box in Pydantic AI
The Box MCP Server runs on Vinkius-managed infrastructure inside AWS — a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts. All 10 tools execute in hardened sandboxes optimized for native MCP execution.
Your AI agents in Pydantic AI only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
How Vinkius secures
Box for Pydantic AI
Every tool call from Pydantic AI to the Box MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.
Frequently asked questions
How do I find my Box Access Token?
Log in to the Box Developer Console, select your app, and generate a Developer Token or use the OAuth settings to obtain an Access Token.
Can I search for content via AI?
Yes! The search_content tool allows your agent to find files and folders across your entire account matching specific keywords.
How do I share a folder programmatically?
Use the create_collaboration tool and provide the folder ID, the recipient's email (login), and their assigned role (e.g., 'editor', 'viewer').
How does Pydantic AI discover MCP tools?
Create an MCPServerHTTP instance with the server URL. Pydantic AI connects, discovers all tools, and generates typed Python interfaces automatically.
Does Pydantic AI validate MCP tool responses?
Yes. When you define result types as Pydantic models, every tool response is validated against the schema. Invalid data raises a clear error instead of silently corrupting your pipeline.
Can I switch LLM providers without changing MCP code?
Absolutely. Pydantic AI abstracts the model layer. your Box MCP integration works identically with OpenAI, Anthropic, Google, or any supported provider.
MCPServerHTTP not found
Update: pip install --upgrade pydantic-ai
