Skip to content
MCP server

Cli Microsoft365 MCP Server

MCP server for CLI for Microsoft 365 to manage your tenant using natural language

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.1.22
Listing updated
5 days ago

About Cli Microsoft365 MCP Server

Cli Microsoft365 MCP Server is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add cli-microsoft365-mcp-server -- npx -y @pnp/cli-microsoft365-mcp-server

Add to claude_desktop_config.json

{
  "mcpServers": {
    "cli-microsoft365-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@pnp/cli-microsoft365-mcp-server"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "cli-microsoft365-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@pnp/cli-microsoft365-mcp-server"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "cli-microsoft365-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@pnp/cli-microsoft365-mcp-server"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "cli-microsoft365-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@pnp/cli-microsoft365-mcp-server"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "cli-microsoft365-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@pnp/cli-microsoft365-mcp-server"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Pricing

Open source

Cli Microsoft365 MCP Server FAQ

Is Cli Microsoft365 MCP Server free?

Yes. Cli Microsoft365 MCP Server is open source, so you can use and self-host it for free.

How do I add Cli Microsoft365 MCP Server to Claude Code?

Run this command in your terminal: claude mcp add cli-microsoft365-mcp-server -- npx -y @pnp/cli-microsoft365-mcp-server

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers