mcp server
mongodb-foundry-agent
A foundry agent which uses MongoDB MCP Server as tool to perform vector search against user queries
Set up
Runs on your computer. Pick your agent and operating system.
This project does not publish an install method we can turn into a config. Follow the README instead.
README
synced Oct 22, 2026MongoDB & Foundry Samples
A collection of deployable code samples demonstrating how to build intelligent agents with MongoDB Atlas and Azure AI Foundry.
Samples
| Sample | Description | Key Technologies |
|---|---|---|
| Simple RAG on Movies | Semantic search over MongoDB movie data using vector embeddings and MCP | Azure AI Foundry, MongoDB Atlas Vector Search, Azure Functions, MCP |
| Multimodal Product Search | Visual product search using text, images, or both with multimodal embeddings | Azure AI Foundry, MongoDB Atlas Vector Search, Voyage AI, Azure Functions, MCP |
| Voice Customer Support | Voice-enabled logistics support agent with order tracking, policy search, and ticket creation | Azure AI Foundry, GPT Realtime API, MongoDB Atlas, Azure Functions, MCP |
| Insurance Claim Agent | Multi-agent insurance claim filing and assessment with image analysis and policy search | Azure AI Foundry, GPT-4o, Voyage AI, MongoDB Atlas Vector Search, Azure Functions, MCP |
Common Prerequisites
Getting Started
-
Clone this repository:
git clone https://github.com/vpriyanshi/mongodb-foundry-agent.git cd mongodb-foundry-agent -
Navigate to a sample folder and follow its README:
cd samples/simple-rag-movies
Repository Structure
mongodb-foundry-agent/
├── README.md # This file — sample catalog
├── LICENSE
├── CONTRIBUTING.md
├── SECURITY.md
├── .gitignore
└── samples/
├── simple-rag-movies/ # Semantic search agent over movies
│ ├── README.md # Full setup & deployment guide
│ ├── src/ # Source code (Azure Function)
│ ├── deploy/ # Bicep & ARM templates
│ ├── docs/ # Architecture, agent instructions, OpenAPI spec
│ ├── scripts/ # Deployment scripts (Bash & PowerShell)
│ └── sample-queries.md # Example queries to test the agent
└── multimodal-product-search/ # Visual product search with images
├── README.md # Full setup & deployment guide
├── src/ # Embedding function + data loader
├── deploy/ # Bicep & ARM templates
├── docs/ # Agent instructions, OpenAPI spec
├── scripts/ # Deployment scripts (Bash & PowerShell)
└── sample-queries.md # Example queries to test the agent
└── voice-customer-support/ # Voice logistics support agent
├── README.md # Full setup & deployment guide
├── src/ # Embedding func, ticket func, voice UI, data loader
├── deploy/ # Bicep & ARM templates
├── docs/ # Agent instructions, OpenAPI specs
├── scripts/ # Deployment scripts (Bash & PowerShell)
└── sample-conversations.md # Example voice conversations
└── insurance-claim-agent/ # Multi-agent insurance claim processing
├── README.md # Full setup & deployment guide
├── src/ # Image analysis func, embedding func, data loader
├── deploy/ # Bicep & ARM templates
├── docs/ # Two agent instructions, OpenAPI specs
├── scripts/ # Deployment scripts (Bash & PowerShell)
└── sample-scenarios.md # Example claim scenarios
Contributing
Contributions are welcome! Please read our Contributing Guide for details on adding new samples or improving existing ones.
License
This project is licensed under the MIT License — see the LICENSE file for details.