{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "com.mdtidy/mcp",
  "slug": "com.mdtidy.mcp",
  "title": "mcp",
  "summary": "Clean, repair, and convert AI-generated Markdown to HTML/PDF/DOCX/PNG; save and share documents.",
  "version": "1.1.11",
  "serverKey": "mcp",
  "pageUrl": "https://mcpkglabs.com/tool/com.mdtidy.mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/com.mdtidy.mcp/install.md",
  "trust": {
    "score": 84,
    "grade": "B",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-02T07:15:55.984396015Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "--package=@mdtidy/mcp@1.1.11",
        "mdtidy-mcp"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add mcp -e 'MDTIDY_API_KEY=<MDTIDY_API_KEY>' -- npx -y --package=@mdtidy/mcp@1.1.11 mdtidy-mcp"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@mdtidy/mcp@1.1.11\",\n        \"mdtidy-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"MDTIDY_API_KEY\": \"<MDTIDY_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@mdtidy/mcp@1.1.11\",\n        \"mdtidy-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"MDTIDY_API_KEY\": \"<MDTIDY_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"MDTIDY_API_KEY\",\n      \"id\": \"mdtidy-api-key\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"mcp\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@mdtidy/mcp@1.1.11\",\n        \"mdtidy-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"MDTIDY_API_KEY\": \"${input:mdtidy-api-key}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"--package=@mdtidy/mcp@1.1.11\", \"mdtidy-mcp\"]\nenv = { \"MDTIDY_API_KEY\" = \"<MDTIDY_API_KEY>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    },
    {
      "id": "remote",
      "label": "Remote (hosted)",
      "transport": "streamable-http",
      "url": "https://www.mdtidy.com/mcp",
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add --transport http mcp https://www.mdtidy.com/mcp"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)",
          "content": "{\n  \"mcpServers\": {\n    \"mcp\": {\n      \"args\": [\n        \"-y\",\n        \"mcp-remote\",\n        \"https://www.mdtidy.com/mcp\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp\": {\n      \"url\": \"https://www.mdtidy.com/mcp\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"mcp\": {\n      \"type\": \"http\",\n      \"url\": \"https://www.mdtidy.com/mcp\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"mcp-remote\", \"https://www.mdtidy.com/mcp\"]"
        }
      ]
    }
  ],
  "env": [
    {
      "name": "MDTIDY_API_KEY",
      "required": true,
      "secret": true,
      "description": "mdtidy API key (mt_live_… / mt_test_…). Create one at https://mdtidy.com/account/api-keys.",
      "help": "mdtidy API key (mt_live_… / mt_test_…). Create one at https://mdtidy.com/account/api-keys.",
      "placeholder": "<MDTIDY_API_KEY>"
    },
    {
      "name": "MDTIDY_BASE_URL",
      "required": false,
      "secret": false,
      "description": "Override the API base URL. Defaults to https://mdtidy.com.",
      "help": "Override the API base URL. Defaults to https://mdtidy.com.",
      "placeholder": "<MDTIDY_BASE_URL>"
    }
  ],
  "expectedTools": [
    "tidy_markdown",
    "check_usage",
    "get_entitlement",
    "list_projects",
    "get_project",
    "get_file",
    "create_project",
    "create_folder",
    "update_folder",
    "delete_folder",
    "save_document",
    "save_file",
    "update_file",
    "get_project_share",
    "share_project_public"
  ],
  "agentSteps": [
    "Ask the user for: MDTIDY_API_KEY. 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: tidy_markdown, check_usage, get_entitlement, list_projects, get_project, get_file, create_project, create_folder, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-02T07:15:55.984396015Z"
}
