{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.mindstone/mcp-server-microsoft-mail",
  "slug": "io.github.mindstone.mcp-server-microsoft-mail",
  "title": "Microsoft 365 Mail",
  "summary": "Microsoft 365 Outlook mail via Graph: read, search, send, reply, forward, draft, move, delete.",
  "version": "0.4.4",
  "serverKey": "mcp-server-microsoft-mail",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.mindstone.mcp-server-microsoft-mail",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.mindstone.mcp-server-microsoft-mail/install.md",
  "trust": {
    "score": 92,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T11:24:27.186602336Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mindstone/mcp-server-microsoft-mail@0.4.4"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add mcp-server-microsoft-mail -e 'MS_CLIENT_ID=<MS_CLIENT_ID>' -e 'MS_CONFIG_DIR=<MS_CONFIG_DIR>' -- npx -y @mindstone/mcp-server-microsoft-mail@0.4.4"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp-server-microsoft-mail\": {\n      \"args\": [\n        \"-y\",\n        \"@mindstone/mcp-server-microsoft-mail@0.4.4\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"MS_CLIENT_ID\": \"<MS_CLIENT_ID>\",\n        \"MS_CONFIG_DIR\": \"<MS_CONFIG_DIR>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp-server-microsoft-mail\": {\n      \"args\": [\n        \"-y\",\n        \"@mindstone/mcp-server-microsoft-mail@0.4.4\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"MS_CLIENT_ID\": \"<MS_CLIENT_ID>\",\n        \"MS_CONFIG_DIR\": \"<MS_CONFIG_DIR>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"MS_CLIENT_ID\",\n      \"id\": \"ms-client-id\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"MS_CONFIG_DIR\",\n      \"id\": \"ms-config-dir\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"mcp-server-microsoft-mail\": {\n      \"args\": [\n        \"-y\",\n        \"@mindstone/mcp-server-microsoft-mail@0.4.4\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"MS_CLIENT_ID\": \"${input:ms-client-id}\",\n        \"MS_CONFIG_DIR\": \"${input:ms-config-dir}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.mcp-server-microsoft-mail]\ncommand = \"npx\"\nargs = [\"-y\", \"@mindstone/mcp-server-microsoft-mail@0.4.4\"]\nenv = { \"MS_CLIENT_ID\" = \"<MS_CLIENT_ID>\", \"MS_CONFIG_DIR\" = \"<MS_CONFIG_DIR>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "MS_CLIENT_ID",
      "required": true,
      "secret": false,
      "description": "Microsoft Entra (Azure AD) application client ID",
      "help": "Microsoft Entra (Azure AD) application client ID",
      "placeholder": "<MS_CLIENT_ID>"
    },
    {
      "name": "MS_CONFIG_DIR",
      "required": true,
      "secret": false,
      "description": "Path to the per-user Microsoft config directory (credentials/, accounts.json)",
      "help": "Path to the per-user Microsoft config directory (credentials/, accounts.json)",
      "placeholder": "<MS_CONFIG_DIR>"
    },
    {
      "name": "MS_ACCOUNT_EMAIL",
      "required": false,
      "secret": false,
      "description": "Account email when running in multi-account per-instance mode (falls back to the first account in accounts.json)",
      "help": "Account email when running in multi-account per-instance mode (falls back to the first account in accounts.json)",
      "placeholder": "<MS_ACCOUNT_EMAIL>"
    },
    {
      "name": "MS_MCP_PACKAGE_ID",
      "required": false,
      "secret": false,
      "description": "Logical package ID surfaced in error responses",
      "help": "Logical package ID surfaced in error responses",
      "default": "Microsoft365Mail",
      "placeholder": "Microsoft365Mail"
    },
    {
      "name": "MICROSOFT_REQUEST_TIMEOUT_MS",
      "required": false,
      "secret": false,
      "description": "Override the upstream Microsoft Graph request timeout in milliseconds (max 300000 = 5 min)",
      "help": "Override the upstream Microsoft Graph request timeout in milliseconds (max 300000 = 5 min)",
      "default": "60000",
      "placeholder": "60000"
    },
    {
      "name": "MCP_WORKSPACE_PATH",
      "required": false,
      "secret": false,
      "description": "Workspace root where download_attachment saves files (falls back to the OS temp directory when unset)",
      "help": "Workspace root where download_attachment saves files (falls back to the OS temp directory when unset)",
      "placeholder": "<MCP_WORKSPACE_PATH>"
    }
  ],
  "expectedTools": [
    "authenticate_microsoft_account",
    "list_emails",
    "get_email",
    "get_conversation",
    "list_attachments",
    "download_attachment",
    "send_email",
    "compose_email",
    "search_emails",
    "reply_to_email",
    "forward_email",
    "delete_email",
    "list_folders",
    "move_email",
    "create_reply_draft",
    "create_draft",
    "mark_email_read",
    "set_email_flag",
    "send_draft",
    "update_draft",
    "get_automatic_replies",
    "set_automatic_replies"
  ],
  "agentSteps": [
    "Ask the user for: MS_CLIENT_ID, MS_CONFIG_DIR. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: authenticate_microsoft_account, list_emails, get_email, get_conversation, list_attachments, download_attachment, send_email, compose_email, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T11:24:27.186602336Z"
}
