{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.mfcompliance/alimail-admin-mcp",
  "slug": "io.github.mfcompliance.alimail-admin-mcp",
  "title": "Alibaba Mail Admin (unofficial)",
  "summary": "Manage Alibaba Mail (阿里邮箱) users, departments, groups and contacts via the admin OpenAPI",
  "version": "0.2.1",
  "serverKey": "alimail-admin-mcp",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.mfcompliance.alimail-admin-mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.mfcompliance.alimail-admin-mcp/install.md",
  "trust": {
    "score": 92,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-01T15:01:26.778813989Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mfcompliance/alimail-admin-mcp@0.2.1"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add alimail-admin-mcp -e 'ALIMAIL_CLIENT_ID=<ALIMAIL_CLIENT_ID>' -e 'ALIMAIL_CLIENT_SECRET=<ALIMAIL_CLIENT_SECRET>' -- npx -y @mfcompliance/alimail-admin-mcp@0.2.1"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"alimail-admin-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"@mfcompliance/alimail-admin-mcp@0.2.1\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"ALIMAIL_CLIENT_ID\": \"<ALIMAIL_CLIENT_ID>\",\n        \"ALIMAIL_CLIENT_SECRET\": \"<ALIMAIL_CLIENT_SECRET>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"alimail-admin-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"@mfcompliance/alimail-admin-mcp@0.2.1\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"ALIMAIL_CLIENT_ID\": \"<ALIMAIL_CLIENT_ID>\",\n        \"ALIMAIL_CLIENT_SECRET\": \"<ALIMAIL_CLIENT_SECRET>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"ALIMAIL_CLIENT_ID\",\n      \"id\": \"alimail-client-id\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"ALIMAIL_CLIENT_SECRET\",\n      \"id\": \"alimail-client-secret\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"alimail-admin-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"@mfcompliance/alimail-admin-mcp@0.2.1\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"ALIMAIL_CLIENT_ID\": \"${input:alimail-client-id}\",\n        \"ALIMAIL_CLIENT_SECRET\": \"${input:alimail-client-secret}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.alimail-admin-mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"@mfcompliance/alimail-admin-mcp@0.2.1\"]\nenv = { \"ALIMAIL_CLIENT_ID\" = \"<ALIMAIL_CLIENT_ID>\", \"ALIMAIL_CLIENT_SECRET\" = \"<ALIMAIL_CLIENT_SECRET>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "ALIMAIL_CLIENT_ID",
      "required": true,
      "secret": false,
      "description": "Alibaba Mail OpenAPI application client ID",
      "help": "Alibaba Mail OpenAPI application client ID",
      "placeholder": "<ALIMAIL_CLIENT_ID>"
    },
    {
      "name": "ALIMAIL_CLIENT_SECRET",
      "required": true,
      "secret": true,
      "description": "Alibaba Mail OpenAPI application client secret",
      "help": "Alibaba Mail OpenAPI application client secret",
      "placeholder": "<ALIMAIL_CLIENT_SECRET>"
    },
    {
      "name": "ALIMAIL_READ_ONLY",
      "required": false,
      "secret": false,
      "description": "Set to false to register write and destructive tools",
      "help": "Set to false to register write and destructive tools",
      "default": "true",
      "placeholder": "true"
    },
    {
      "name": "ALIMAIL_API_BASE",
      "required": false,
      "secret": false,
      "description": "API endpoint of your Alibaba Mail cluster",
      "help": "API endpoint of your Alibaba Mail cluster",
      "default": "https://alimail-cn.aliyuncs.com",
      "placeholder": "https://alimail-cn.aliyuncs.com"
    },
    {
      "name": "ALIMAIL_TOOLSETS",
      "required": false,
      "secret": false,
      "description": "Comma-separated toolsets: users, departments, groups, contacts, org, security, audit, login, or all (default: all except login)",
      "help": "Comma-separated toolsets: users, departments, groups, contacts, org, security, audit, login, or all (default: all except login)",
      "placeholder": "<ALIMAIL_TOOLSETS>"
    },
    {
      "name": "ALIMAIL_ALLOWED_DOMAINS",
      "required": false,
      "secret": false,
      "description": "Comma-separated mail domains the server is allowed to operate on (default: no restriction)",
      "help": "Comma-separated mail domains the server is allowed to operate on (default: no restriction)",
      "placeholder": "<ALIMAIL_ALLOWED_DOMAINS>"
    }
  ],
  "expectedTools": [
    "list_users",
    "get_user",
    "get_users_by_ids",
    "get_mailbox_settings",
    "list_shared_members",
    "check_shared_access",
    "get_department",
    "get_departments_by_ids",
    "list_sub_departments",
    "list_department_users",
    "get_department_chain",
    "get_department_tree",
    "list_groups",
    "get_group",
    "list_group_members",
    "get_shared_contact",
    "get_contact_folder",
    "get_contact_folder_chain",
    "list_contact_subfolders",
    "list_folder_contacts",
    "get_contact_folder_tree",
    "get_organization",
    "list_domains",
    "get_domain",
    "list_allow_block_list",
    "search_quarantine_messages",
    "get_quarantine_message",
    "list_quarantine_attachments",
    "get_quarantine_attachment_url",
    "query_audit_logs"
  ],
  "agentSteps": [
    "Ask the user for: ALIMAIL_CLIENT_ID, ALIMAIL_CLIENT_SECRET. 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: list_users, get_user, get_users_by_ids, get_mailbox_settings, list_shared_members, check_shared_access, get_department, get_departments_by_ids, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T15:01:26.778813989Z"
}
