Microsoft 365 Copilot

Provides MCP access to Microsoft 365 Copilot APIs enabling retrieval, search, and chat over your M365 data
  • javascript

2

GitHub Stars

javascript

Language

6 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "chenxizhang-m365copilot-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "m365-copilot-mcp"
      ],
      "env": {
        "AZURE_CLIENT_ID": "YOUR_CLIENT_ID",
        "AZURE_TENANT_ID": "YOUR_TENANT_ID"
      }
    }
  }
}

Connect your AI assistant to Microsoft 365 through the MCP. This server enables AI tools to access SharePoint, OneDrive, email, Teams, and more, while honoring your organization's access controls. It provides retrieval, search, and chat capabilities built on the official Microsoft 365 Copilot APIs, making it easier to work with your M365 data from your preferred MCP client.

How to use

You will connect an MCP-compatible AI tool to the m365_copilot_mcp server and start using three integrated capabilities: retrieval, search, and chat. Use retrieval to pull relevant text from your SharePoint and OneDrive content to ground responses. Use search to locate specific documents and files across your M365 environment. Use chat to talk with your Copilot-powered assistant, with awareness of your calendar, tasks, and content.

How to install

Prerequisites include Node.js 20+ and a Microsoft 365 account with a Copilot license. You also need an MCP-compatible AI tool such as Claude Code or GitHub Copilot (VS Code). Install and run the MCP server via the MCP client you choose.

# Prerequisites check
node --version
npm --version

# Optional: verify you have a compatible MCP client installed or available

How to install

Install and configure the server through your chosen MCP client. The server runs from npm via npx without a global install.

# Claude Code integration (stdio transport)
claude mcp add --transport stdio m365-copilot -- npx -y m365-copilot-mcp
# GitHub Copilot (VS Code) integration
# Create a project-level config
cat > .vscode/mcp.json << 'JSON'
{
  "servers": {
    "m365-copilot": {
      "command": "npx",
      "args": ["-y", "m365-copilot-mcp"]
    }
  }
}
JSON
# User-level configuration (VS Code settings.json)

{"mcp.servers": {"m365-copilot": {"command": "npx","args": ["-y", "m365-copilot-mcp"]}}}


```bash
# For other MCP clients, run the server with npx
npx -y m365-copilot-mcp

Available tools

m365copilotretrieval

Retrieves relevant text excerpts from your SharePoint and OneDrive content to answer questions and ground AI responses in your data.

m365copilotsearch

Searches across your M365 environment to locate specific documents and files and provide links.

m365copilotchat

Enables conversational interactions with Microsoft 365 Copilot, with awareness of your calendar, tasks, and content.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational