# Minerva MCP — Microsoft 365 & Azure [Health: Active]

**Category:** 🏢 Workplace & Productivity  
**Repository:** https://github.com/HoussemMak/minerva-mcp  
**GitHub Stars:** 2  
**npm Downloads (last month):** 284  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/minerva-mcp-microsoft-365-azure

## Description
Microsoft 365 & Azure admin: Graph, ARM, and the PowerShell cmdlets Graph does not expose.

## Tools
Capabilities this server exposes over MCP:

- **microsoft_graph_call** — Any Microsoft Graph call (v1.0 or beta)
- **azure_arm_call** — Any Azure Resource Manager call
- **microsoft_search** — Unified Microsoft Search
- **get_tenant_context** — Organisation, licences, Secure Score
- **generate_security_report** — Tenant security posture
- **execute_exchange_online** — Exchange Online cmdlets
- **execute_pnp_sharepoint** — PnP PowerShell (SharePoint) cmdlets
- **execute_teams_admin** — Teams Admin cmdlets
- **execute_purview_compliance** — Purview / compliance cmdlets

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "minerva-mcp-microsoft-365-azure": {
    "command": "npx",
    "args": ["-y","minerva-mcp"]
  }
}
```

## Documentation

## What Minerva MCP — Microsoft 365 & Azure MCP server does

Minerva MCP — Microsoft 365 & Azure MCP server connects an MCP client to Microsoft 365 and Azure administration surfaces. It can make arbitrary Microsoft Graph requests against the v1.0 or beta API, send Azure Resource Manager requests, run unified Microsoft Search queries, and retrieve tenant context such as organisation details, licences, and Secure Score.

The server also exposes administration areas that are not represented by Microsoft Graph. Its PowerShell-backed tools cover Exchange Online, SharePoint through PnP PowerShell, Teams administration, and Purview or compliance cmdlets. A security-reporting tool produces a view of the tenant’s security posture using the available Microsoft data.

## How it works

Clients connect over stdio or HTTP. In stdio mode, the server can use Microsoft device-code authentication; over HTTP, bearer authentication is the default, and a client-secret mode is available when configured. Microsoft remains responsible for authorising each request: the server forwards credentials or tokens and does not grant permissions itself.

Read operations pass through without an approval step. Actions that write are evaluated by a risk classifier based on the HTTP method and path or the PowerShell verb. Operations above the automatic threshold return an MCP `input_required` response describing the action and its consequences. After confirmation, the server executes the request using a short-lived, signed mandate tied to the caller, method, and arguments. Clients without elicitation support receive an error instead of an unapproved write.

## Setup and configuration

Node.js 20 or newer is required. A client can launch the package with `npx -y minerva-mcp --stdio`; the repository examples show configurations for Claude Desktop and VS Code. On the first tool call, device-code authentication prints a sign-in link and code to stderr, so the user can authenticate without creating an app registration for an initial trial.

PowerShell features require PowerShell 7 or later and the modules used by the selected tool, including `ExchangeOnlineManagement`, `PnP.PowerShell`, or `MicrosoftTeams` where applicable. Configuration can select stdio, the HTTP port, authentication mode, tenant and client identifiers, read-only operation, registered tools, PowerShell execution mode, and allowed browser origins. The PnP SharePoint tool also requires a SharePoint URL when running locally. An external PowerShell runner can use Redis.

## Tools and capabilities

The available tools are:

- `microsoft_graph_call` for any Microsoft Graph v1.0 or beta request.
- `azure_arm_call` for Azure Resource Manager requests.
- `microsoft_search` for unified Microsoft Search.
- `get_tenant_context` for organisation, licence, and Secure Score information.
- `generate_security_report` for tenant security posture reporting.
- `execute_exchange_online` for Exchange Online cmdlets.
- `execute_pnp_sharepoint` for PnP SharePoint cmdlets.
- `execute_teams_admin` for Teams Admin cmdlets.
- `execute_purview_compliance` for Purview and compliance cmdlets.

Minerva MCP — Microsoft 365 & Azure MCP server can restrict registration to a named subset of tools with `MINERVA_TOOLS`, or refuse all writes with `MINERVA_READ_ONLY`. Each Microsoft resource uses its own token audience, including Graph, ARM, Exchange, Purview, SharePoint, and Teams.

## Limitations and notes

The server does not replace Microsoft permissions or bypass resource-specific authorisation. PowerShell capabilities depend on the required modules and execution mode being available. Write approval depends on client support for MCP elicitation; unsupported clients cannot silently run actions that require confirmation. Read the project’s security guidance before deploying it, particularly when exposing the HTTP endpoint.

_Full upstream README: https://allmcps.com/mcp/minerva-mcp-microsoft-365-azure/readme_

