MCP Cloud Pc MCP Server

MCP Server for managing Azure Cloud PCs using the Microsoft Graph API.

Local serverstdioPython

What is the MCP Cloud Pc MCP server?

Mcp cloud pc mcp server connects MCP Cloud Pc to AI assistants that speak the Model Context Protocol. MCP Server for managing Azure Cloud PCs using the Microsoft Graph API.

What MCP Cloud Pc does

MCP Server for managing Azure Cloud PCs using the Microsoft Graph API.

Tools it exposes

Once connected, the assistant can call these 12 tools directly:

  • cloud_pc_list_users — List all registered users
  • Returns — List of information about users in JSON formated string
  • cloud_pc_list — List all Cloud PCs available to the current tenant
  • cloud_pc_reboot — Reboot Cloud PCs with the given ID
  • Args — Cloud PC ID
  • cloud_pc_rename — Set new display name for a Cloud PC with the given ID
  • Arg — Cloud PC ID
  • cloud_pc_troubleshoot — Troubleshoot a Cloud PC with the given ID
  • cloud_pc_end_grace_period — End grace period for a Cloud PC with the given ID
  • cloud_pc_get_review_status — Retrieve review status for the Cloud PC with particular ID
  • cloud_pc_reprovision — Reprovision the Cloud PC with particular ID with Windows 10 or 11 OS, set up redeployed user type
  • Features — The MCP server currently uses 'curl' to send Graph API requests, because Python msgraph-sdk documentation doesn't match the current sdk implementation

Installing the mcp cloud pc mcp server

Setup follows the standard MCP pattern: clone or install the server, then register it in your client's configuration file and restart the client. The configuration snippets on this page cover Claude Desktop, Claude Code and Cursor.

Configuration

Before the server will start you need to supply 3 environment variables: MSGRAPH_TENANT_ID, MSGRAPH_CLIENT_ID, MSGRAPH_CLIENT_SECRET. Keep credentials in your client's env block or a secrets manager rather than committing them.

Where it fits

Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. MCP Cloud Pc sits in that group, and the shape of its toolset — cloud_pc_list_users, Returns, cloud_pc_list among others — tells you what it is really for. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • It will not start until its required credentials are present, so set those before wondering why the tools never appear.
  • With 12 tools exposed, expect a noticeable bump in prompt size — disable it in projects that never use MCP Cloud Pc.
  • Maintained by complexdevel, written in Python.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the mcp cloud pc mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
cloud_pc_list_usersList all registered users
ReturnsList of information about users in JSON formated string
cloud_pc_listList all Cloud PCs available to the current tenant
cloud_pc_rebootReboot Cloud PCs with the given ID
ArgsCloud PC ID
cloud_pc_renameSet new display name for a Cloud PC with the given ID.
ArgCloud PC ID
cloud_pc_troubleshootTroubleshoot a Cloud PC with the given ID.
cloud_pc_end_grace_periodEnd grace period for a Cloud PC with the given ID.
cloud_pc_get_review_statusRetrieve review status for the Cloud PC with particular ID.
cloud_pc_reprovisionReprovision the Cloud PC with particular ID with Windows 10 or 11 OS, set up redeployed user type
FeaturesThe MCP server currently uses 'curl' to send Graph API requests, because Python msgraph-sdk documentation doesn't match the current sdk implementation.

How to install the MCP Cloud Pc MCP server

{
  "mcpServers": {
    "mcp-cloud-pc": {
      "command": "uv",
      "args": [
        "run",
        "--directory",
        "/ABSOLUTE/PATH/TO/PARENT/FOLDER/mcp-cloud-pc",
        "mcp-cloud-pc.py"
      ],
      "env": {
        "MSGRAPH_TENANT_ID": "<YOUR GRAPH API TENANT ID>",
        "MSGRAPH_CLIENT_ID": "<YOUR GRAPH API CLIENT ID>",
        "MSGRAPH_CLIENT_SECRET": "<YOUR GRAPH API CLIENT SECRET>"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
MSGRAPH_TENANT_IDConfiguration value read at startup.Optional
MSGRAPH_CLIENT_IDConfiguration value read at startup.Optional
MSGRAPH_CLIENT_SECRETCredential the server authenticates with.Yes

Example prompts to try

  • Use MCP Cloud Pc to cloud pc list users.
  • Use MCP Cloud Pc to Returns.
  • Use MCP Cloud Pc to cloud pc list.

Frequently asked questions

It connects MCP Cloud Pc to MCP-compatible AI assistants such as Claude and Cursor, exposing 12 tools (cloud_pc_list_users, Returns, cloud_pc_list, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MCP Cloud Pc directly.