Search / io.github.sapientsai/microsoft365-mcp-server
microsoft365-mcp-server
L0· runs locallyMicrosoft 365 via Graph — mail, calendar, contacts, files, Teams, Planner, OneNote, To Do.
v1.3.0 · active · repository · descriptor JSON · versions
Search / io.github.sapientsai/microsoft365-mcp-server
L0· runs locallyMicrosoft 365 via Graph — mail, calendar, contacts, files, Teams, Planner, OneNote, To Do.
v1.3.0 · active · repository · descriptor JSON · versions
{
"mcpServers": {
"microsoft365-mcp-server": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"MS365_CLIENT_ID": "${MS365_CLIENT_ID}",
"MS365_CLIENT_SECRET": "${MS365_CLIENT_SECRET}",
"MS365_CERT_PASSWORD": "${MS365_CERT_PASSWORD}",
"MS365_ACCESS_TOKEN": "${MS365_ACCESS_TOKEN}"
}
}
}
}claude mcp add microsoft365-mcp-server -e "MS365_CLIENT_ID=${MS365_CLIENT_ID}" -e "MS365_CLIENT_SECRET=${MS365_CLIENT_SECRET}" -e "MS365_CERT_PASSWORD=${MS365_CERT_PASSWORD}" -e "MS365_ACCESS_TOKEN=${MS365_ACCESS_TOKEN}" -- npx -y [email protected][mcp_servers.microsoft365-mcp-server]
command = "npx"
args = ["-y", "[email protected]"]
env = { "MS365_CLIENT_ID" = "${MS365_CLIENT_ID}", "MS365_CLIENT_SECRET" = "${MS365_CLIENT_SECRET}", "MS365_CERT_PASSWORD" = "${MS365_CERT_PASSWORD}", "MS365_ACCESS_TOKEN" = "${MS365_ACCESS_TOKEN}" }
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"microsoft365-mcp-server": {
"type": "local",
"command": [
"npx",
"-y",
"[email protected]"
],
"enabled": true,
"environment": {
"MS365_CLIENT_ID": "{env:MS365_CLIENT_ID}",
"MS365_CLIENT_SECRET": "{env:MS365_CLIENT_SECRET}",
"MS365_CERT_PASSWORD": "{env:MS365_CERT_PASSWORD}",
"MS365_ACCESS_TOKEN": "{env:MS365_ACCESS_TOKEN}"
}
}
}
}{
"mcpServers": {
"microsoft365-mcp-server": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"MS365_CLIENT_ID": "${MS365_CLIENT_ID}",
"MS365_CLIENT_SECRET": "${MS365_CLIENT_SECRET}",
"MS365_CERT_PASSWORD": "${MS365_CERT_PASSWORD}",
"MS365_ACCESS_TOKEN": "${MS365_ACCESS_TOKEN}"
}
}
},
"deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=microsoft365-mcp-server&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIm1pY3Jvc29mdDM2NS1tY3Atc2VydmVyQDEuMy4wIl0sImVudiI6eyJNUzM2NV9DTElFTlRfSUQiOiIke01TMzY1X0NMSUVOVF9JRH0iLCJNUzM2NV9DTElFTlRfU0VDUkVUIjoiJHtNUzM2NV9DTElFTlRfU0VDUkVUfSIsIk1TMzY1X0NFUlRfUEFTU1dPUkQiOiIke01TMzY1X0NFUlRfUEFTU1dPUkR9IiwiTVMzNjVfQUNDRVNTX1RPS0VOIjoiJHtNUzM2NV9BQ0NFU1NfVE9LRU59In19"
}{
"servers": {
"microsoft365-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"MS365_CLIENT_ID": "${MS365_CLIENT_ID}",
"MS365_CLIENT_SECRET": "${MS365_CLIENT_SECRET}",
"MS365_CERT_PASSWORD": "${MS365_CERT_PASSWORD}",
"MS365_ACCESS_TOKEN": "${MS365_ACCESS_TOKEN}"
}
}
}
}{
"mcpServers": {
"microsoft365-mcp-server": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"MS365_CLIENT_ID": "${MS365_CLIENT_ID}",
"MS365_CLIENT_SECRET": "${MS365_CLIENT_SECRET}",
"MS365_CERT_PASSWORD": "${MS365_CERT_PASSWORD}",
"MS365_ACCESS_TOKEN": "${MS365_ACCESS_TOKEN}"
}
}
}
}extensions:
"microsoft365-mcp-server":
enabled: true
name: "microsoft365-mcp-server"
type: stdio
cmd: "npx"
args:
- "-y"
- "[email protected]"
envs:
"MS365_CLIENT_ID": "${MS365_CLIENT_ID}"
"MS365_CLIENT_SECRET": "${MS365_CLIENT_SECRET}"
"MS365_CERT_PASSWORD": "${MS365_CERT_PASSWORD}"
"MS365_ACCESS_TOKEN": "${MS365_ACCESS_TOKEN}"
timeout: 300
Placeholders to fill from your own secret store: ${MS365_CLIENT_SECRET}, ${MS365_CERT_PASSWORD}, ${MS365_ACCESS_TOKEN}. The registry never accepts secret values.
This is a local package: the command runs on your machine.
Not scored: fewer than three checks apply, usually because no remote answered a credential-free probe or the server is a local package.
protocol.modern, protocol.stateless, protocol.transport, protocol.list_ttlno remote answered a protocol handshake (not probed yet, unreachable, or local-only)auth.prm, auth.as_metadata, auth.cimdno remote uses OAuthauth.secret_in_urlno templated URLtools.descriptions, tools.description_length, tools.schemas, tools.annotations, tools.directory_hints, tools.token_cost, tools.api_dumptool list unknown (behind auth, not probed, or empty)stability.changes, stability.rug_pulltool list unknownNo tool definition changes recorded. A server's first observation is its baseline; later probes record what changes.
Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.
+repository +namespace-matches-repo ~liveness-unmeasured +updated-1d-ago
Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.
[email protected] npmthis version is not known to the dependency resolver
Dependency graphs from deps.dev; advisories from OSV.dev, including the GitHub Advisory Database and the PyPI Advisory Database; all CC BY 4.0. The graph is what a clean install of this version resolves today; nothing was installed or run. How it is checked.
| package | registry | version | runtime | secrets |
|---|---|---|---|---|
microsoft365-mcp-server | npm | 1.3.0 | – | MS365_CLIENT_SECRET, MS365_CERT_PASSWORD, MS365_ACCESS_TOKEN |
No tools observed. Local packages are never executed by the registry.
Schemas: list_tools.
{
"name": "io.github.sapientsai/microsoft365-mcp-server",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"version": "1.3.0",
"packages": [
{
"version": "1.3.0",
"transport": {
"type": "stdio"
},
"identifier": "microsoft365-mcp-server",
"registryType": "npm",
"environmentVariables": [
{
"name": "MS365_CLIENT_ID",
"format": "string",
"isRequired": true,
"description": "Azure AD application (client) ID. Every mode except client-token needs it."
},
{
"name": "MS365_TENANT_ID",
"format": "string",
"description": "Azure AD tenant ID, or 'common'/'organizations'/'consumers'. Read by certificate, client-secret and oauth-proxy modes."
},
{
"name": "MS365_CLIENT_SECRET",
"format": "string",
"isSecret": true,
"description": "Azure AD client secret (client-secret mode)."
},
{
"name": "MS365_CERT_PATH",
"format": "filepath",
"description": "Path to the certificate used by certificate mode."
},
{
"name": "MS365_CERT_PASSWORD",
"format": "string",
"isSecret": true,
"description": "Password for the certificate at MS365_CERT_PATH, if it has one."
},
{
"name": "MS365_ACCESS_TOKEN",
"format": "string",
"isSecret": true,
"description": "A Graph access token supplied directly (client-token mode)."
},
{
"name": "MS365_AUTH_MODE",
"format": "string",
"description": "Auth mode: interactive (default), certificate, client-secret, client-token or oauth-proxy."
},
{
"name": "MS365_OAUTH_BASE_URL",
"format": "string",
"description": "Base URL of the OAuth proxy (oauth-proxy mode)."
},
{
"name": "MS365_READ_ONLY",
"format": "string",
"description": "Set to 'true' to expose read-only tools and refuse every write."
},
{
"name": "MS365_ENABLED_TOOLS",
"format": "string",
"description": "Case-insensitive regular expression matched against tool names; only matching tools are registered. Not a comma-separated list."
},
{
"name": "MS365_PRESETS",
"format": "string",
"description": "Comma-separated tool presets to enable instead of naming tools individually."
},
{
"name": "MS365_ORG_MODE",
"format": "string",
"description": "Set to 'true' for organisation-wide (application-permission) behaviour."
},
{
"name": "TRANSPORT_TYPE",
"format": "string",
"description": "Transport: 'stdio' (the default, and what this npm package is listed as) or 'httpStream' for remote/Docker deployments."
}
]
}
],
"repository": {
"url": "https://github.com/sapientsai/microsoft365-mcp-server",
"source": "github"
},
"description": "Microsoft 365 via Graph — mail, calendar, contacts, files, Teams, Planner, OneNote, To Do."
}