Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The Microsoft Dev Box Model Context Protocol (MCP) Server is an open-source integration layer that connects AI agents with Microsoft Dev Box services. It enables natural language interactions for managing dev boxes, checking their status, running customization tasks, and performing other developer-focused operations—all without leaving your development environment.
Built on the Model Context Protocol, this server acts as a bridge between AI agents and the Microsoft Dev Box platform, allowing developers to use conversational commands instead of switching between multiple interfaces or remembering complex CLI syntax.
Key scenarios
The Dev Box MCP Server excels in several common development scenarios:
- Daily development workflow: Quickly start, stop, or check the status of your dev boxes before beginning work, without opening the Azure portal or developer portal
- Project switching: Seamlessly switch between different dev boxes for different projects, create new dev boxes for feature branches, or clean up old environments
- Team collaboration: Share dev box pool information with team members, coordinate resource usage, and help onboard new developers with appropriate dev box configurations
- Troubleshooting and maintenance: Repair connectivity issues, check operation status, view logs, and manage schedules without context switching between tools
- Customization management: Install software packages, apply team customizations, run setup scripts, and configure development environments through conversational commands
Supported tools
The Dev Box MCP Server provides comprehensive coverage of Dev Box operations through several tool categories:
- Dev Box lifecycle management: Create, delete, start, stop, restart, and repair dev boxes across all your projects
- Project and pool discovery: Browse available projects, view dev box pools, and understand pool configurations and capabilities
- Power and schedule management: Control dev box power states, manage shutdown schedules, delay, or skip scheduled actions
- Customization and configuration: Apply team customizations, run individual tasks, install packages, set themes, and view customization logs
- Monitoring and diagnostics: Check operation status, view task logs, monitor long-running operations, and troubleshoot connectivity issues
- Resource exploration: Use scope patterns to target specific resources and get contextual information about your Dev Box environment
For a complete list of supported operations and their scope patterns, see the Dev Box MCP Server repository - Currently Supported Tools.
Authentication
The Dev Box MCP Server uses DefaultAzureCredential and Web Account Manager (WAM) based brokered authentication for seamless Azure integration.
Next steps
Ready to enhance your development workflow with AI-powered Dev Box management?
See the Tutorial: Get started with the Dev Box MCP Server for step-by-step setup and usage instructions.