Skip to content
MCP server
Official

devbox-mcp MCP Server

Model Context Protocol server for Microsoft Dev Box

devbox-mcp scores 42 (Fair), licensed MIT. It installs as a local process. It does not declare tools yet. Filed under Cloud. GitHub shows 14 stars. Package registries report about 926 downloads a week. Install configs are generated for 10 clients. MCPpedia marks it official because the namespace or repository matches a known vendor.

by microsoftMIT14 stars
Trust score
42Fair
Trust score 42 of 100, Fair

Fair trust

42 of 100 from six public signals. Nobody can buy a point.

  • Namespace or repository matches a known vendor.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 42 comes from

8 + 5 + 8 + 10 + 4 + 7 = 42. Each factor is capped, so no single signal can carry a listing.

Registry8 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 8 of 30 points.
Maintenance5 / 20

How recently the repository saw a commit or release.

Maintenance: 5 of 20 points.
Popularity8 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 8 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "microsoft-devbox-mcp": {      "command": "npx",      "args": [        "-y",        "@microsoft/devbox-mcp@0.0.3-alpha.4"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

๐Ÿข Dev Box MCP Server

Install with NPX in VS Code Install with NPX in VS Code Insiders

This is a Model Context Protocol (MCP) server for Microsoft Dev Box, providing seamless integration between AI agents and Microsoft Dev Box services. This server enables natural language interactions for developer-focused operations like managing Dev Boxes, configurations, and pools.

๐Ÿ”Œ Getting Started

Prerequisites

  1. Node.js 18 or newer

  2. Azure Resources

    • Azure subscription
    • Dev Center provisioned
    • At least one Dev Center project created
    • Appropriate RBAC permissions on Dev Center resources
  3. MCP Client

Installation

Dev Box MCP Server can be installed on any MCP clients, such as Visual Studio or Visual Studio Code (VS Code). Below are the detailed steps for installing on Visual Studio Code.

For installation steps on Visual Studio, see here

โœจ One-Click Install on VS Code

Click one of these buttons to install the Dev Box MCP Server for VS Code or VS Code Insiders.

Install with NPX in VS Code Install with NPX in VS Code Insiders

Just one click, and you're ready to go! ๐ŸŽ‰

๐Ÿ”ง Manual Install on VS Code

For a step-by-step installation, follow one of the following instructions:

  1. Add .vscode/mcp.json to your workspace:
{
    "servers": {
        "DevBox": {
            "command": "npx",
            "args": ["-y", "@microsoft/devbox-mcp@latest"]
        }
    }
}
  1. Alternatively, add to your user settings.json:
{
    "mcp": {
        "servers": {
            "DevBox": {
                "command": "npx",
                "args": ["-y", "@microsoft/devbox-mcp@latest"]
            }
        }
    }
}
  1. You can also add Dev Box MCP programmatically using VS Code CLI:
# For VS Code
code --add-mcp '{"name":"DevBox","command":"npx","args":["-y","@microsoft/devbox-mcp@latest"]}'

For detailed MCP installation steps on VS Code, see here.

VSCode Installation Demo

VSCode Installation Demo

โ“ FAQ

Tool call failed with 'Tool xxx does not have an implementation registered' or 'I apologize for the technical issue'

If you encounter this error, it's likely due to an invalid tool cache issue in GitHub Copilot Agent mode. To resolve the issue:

  1. Press Ctrl+Shift+P to open the command palette
  2. Run MCP: Reset cached tools
  3. Restart the MCP server

For more details, see GitHub issue #177

Error: Cannot find module '../build/Release/keytar.node'

If you encounter this error, try running npx clear-npx-cache.

If you encounter other errors when starting the MCP server, you may also try the command above.

๐Ÿ› ๏ธ Currently Supported Tools

The Dev Box MCP provides tools for interacting with the following Microsoft Dev Box resources:

๐Ÿ’ป Dev Box Lifecycle

  • DevBox Resource: Unified tool for DevBox management using scope patterns
    • List all DevBoxes across projects: /projects/*/users/me/devboxes/* (operation: read)
    • List DevBoxes in specific project: /projects/ProjectName/users/me/devboxes/* (operation: read)
    • Get specific DevBox details: /projects/ProjectName/users/me/devboxes/DevBoxName (operation: read)
    • Query DevBox by name across projects: /projects/*/users/me/devboxes/DevBoxName (operation: read)
    • Create new DevBox: /projects/ProjectName/users/me/devboxes/NewDevBoxName (operation: create)
    • Delete existing DevBox: /projects/ProjectName/users/me/devboxes/DevBoxName (operation: delete)

๐Ÿ“‚ Projects

  • Project Resource: Unified tool for Project management using scope patterns
    • List all projects: /projects/* (operation: read)
    • Get specific project details: /projects/projectName (operation: read)

๐ŸŠ Dev Box Pools

  • List Pools By Project: View all available Dev Box pools in a project

๐ŸŽฏ Actions & Schedules

  • DevBox Action: Unified tool for DevBox power management using scope patterns

    • Start DevBox: /projects/ProjectName/users/userId/devboxes/DevBoxName (action: start)
    • Stop DevBox: /projects/ProjectName/users/userId/devboxes/DevBoxName (action: stop)
    • Restart DevBox: /projects/ProjectName/users/userId/devboxes/DevBoxName (action: restart)
    • Repair DevBox: /projects/ProjectName/users/userId/devboxes/DevBoxName (action: repair)
    • Get Remote Connection: /projects/ProjectName/users/userId/devboxes/DevBoxName (action: getRemoteConnection)
  • Schedule Resource: Unified tool for DevBox schedule management using scope patterns

    • List all schedules: /projects/ProjectName/users/userId/devboxes/DevBoxName (action: listAll)
    • Delay all scheduled actions: /projects/ProjectName/users/userId/devboxes/DevBoxName (action: delayAll)
    • Skip all scheduled actions: /projects/ProjectName/users/userId/devboxes/DevBoxName (action: skipAll)

๐Ÿ“ฆ Customization

  • List Customization Task Definitions By Project: View available customization tasks in a project
  • Get Customization Task Definitions: Get details of a specific customization task
  • Validate Customization Tasks: Validate a list of customization tasks
  • List Customization Groups: View all customization groups for a Dev Box
  • Get Customization Group: Get details of a specific customization group
  • Create Customization Group: Apply customizations to a Dev Box
  • Get Imaging Task Log: View logs for an imaging build task
  • Run Tasks On Dev Box: Install packages or run commands on a Dev Box
  • Get Customization Task Log: View logs for a customization task
  • Set Dev Box Theme: Change the visual theme (dark/light) for a Dev Box

๐Ÿ”„ Operations

  • Get Operation Status: Check status of long-running operations

๐Ÿค” Thinking

  • DevBox Think: Provides context for understanding and performing Dev Box operations

๐Ÿ”‘ Authentication

The Dev Box MCP Server uses DefaultAzureCredential and WAM (Web Account Manager) based brokered authentication for seamless Azure integration.

Authentication follows this credential chain order:

  1. Environment Variables (EnvironmentCredential)
  2. Managed Identity (ManagedIdentityCredential)
  3. Visual Studio Code (VisualStudioCredential)
  4. Azure CLI (AzureCliCredential)
  5. Azure PowerShell (AzurePowerShellCredential)
  6. Azure Developer CLI (AzureDeveloperCliCredential)
  7. Windows SSO (Single Sign-On) (WAM - Web Account Manager)

The credential chain will attempt each method in order until a successful authentication is achieved. WAM provides seamless single sign-on experience on Windows platforms, automatically using your existing Windows credentials when available.

If you encounter authentication errors, try:

  1. Make sure you're logged in to Windows SSO (Single Sign-On) or Azure CLI
  2. Verify you have the necessary permissions in your Azure subscription
  3. Check if you need to specify a specific tenant using az login --tenant <tenant-id>

๐Ÿ›ก๏ธ License

Copyright (c) Microsoft Corporation. All rights reserved.

Frequently asked questions

What is devbox-mcp MCP Server?

Model Context Protocol server for Microsoft Dev Box

How do I install devbox-mcp MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. devbox-mcp MCP Server runs locally from the npm package @microsoft/devbox-mcp with the command npx -y @microsoft/devbox-mcp@0.0.3-alpha.4.

Is devbox-mcp MCP Server free and open source?

Yes. devbox-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does devbox-mcp MCP Server support remote (HTTP) connections?

No remote endpoint is listed for devbox-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is devbox-mcp MCP Server's trust score calculated?

devbox-mcp MCP Server scores 42 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

โ€”Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server