Skip to content
Developer ToolsClaude Desktop Guide

DevSpacesManagement Claude Desktop Integration

This guide explains how to configure Claude Desktop (Mac and Windows) to use the DevSpacesManagement API through the Model Context Protocol (MCP). The integration exposes 9 API endpointsas callable tools inside Claude's chat interface, including Returns container host mapping object for a container host resource ID if an associated controller exists., Lists operations for the resource provider., Lists the Azure Dev Spaces Controllers in a subscription., and more. No API keys or credentials are needed — setup takes approximately 30 seconds. The server runs locally via npx and communicates over STDIO transport. Paste the JSON configuration below into your claude_desktop_config.json file to get started.

Integration Specs

ClientClaude Desktop
Runtimenpx
AuthenticationNone
Setup Time~30 sec

Setup Instructions

1

Open Claude Settings

Launch Claude Desktop, open Settings (click your profile) → Developer → click 'Edit Config'.

2

Locate configuration file

This opens your local 'claude_desktop_config.json' file in your system editor.

3

Insert Server Config JSON

Paste the JSON configuration schema block (provided below) into the 'mcpServers' object.

4

Add authentication credentials

No credentials needed; leave the 'env' mapping empty.

5

Restart Claude app

Save the config file and restart Claude Desktop to load your new tools.

Configuration JSON

claude_desktop_config.json

Copy and paste this config snippet inside your local configuration file.

{
  "mcpServers": {
    "azure-com-devspaces": {
      "command": "npx",
      "args": [
        "-y",
        "@mcp/azure-com-devspaces"
      ],
      "env": {
        "DEVSPACESMANAGEMENT_API_KEY": "your_devspacesmanagement_api_key"
      }
    }
  }
}

Required Environment Keys

Provide these variable keys in your local environment section:

DEVSPACESMANAGEMENT_API_KEY

Replace your_devspacesmanagement_api_key with your secret key credentials.

Available Tools (9)

These endpoints are parsed from the OpenAPI schema and converted to Claude-compatible tools:

POST/providers/Microsoft.DevSpaces/locations/{location}/checkContainerHostMapping
Returns container host mapping object for a container host resource ID if an associated controller exists.
GET/providers/Microsoft.DevSpaces/operations
Lists operations for the resource provider.
GET/subscriptions/{subscriptionId}/providers/Microsoft.DevSpaces/controllers
Lists the Azure Dev Spaces Controllers in a subscription.
GET/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers
Lists the Azure Dev Spaces Controllers in a resource group.
GET/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}
Gets an Azure Dev Spaces Controller.
PUT/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}
Creates an Azure Dev Spaces Controller.
DELETE/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}
Deletes an Azure Dev Spaces Controller.
PATCH/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}
Updates an Azure Dev Spaces Controller.
POST/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/controllers/{name}/listConnectionDetails
Lists connection details for an Azure Dev Spaces Controller.