{
  "server": "docs-md",
  "url": "https://docs-md.com/api/mcp",
  "date": "2026-11-13",
  "protocolVersion": "2025-06-18",
  "serverInfo": {
    "name": "md-share",
    "title": "Docs MD",
    "version": "1.2.0"
  },
  "listChangedDeclared": false,
  "toolCount": 4,
  "outputSchemaCoveragePct": 0,
  "tools": [
    {
      "description": "Permanently delete a share using its id and edit token.",
      "inputSchema": {
        "properties": {
          "edit_token": {
            "description": "Edit token returned when the share was created",
            "type": "string"
          },
          "id": {
            "description": "The share id (the URL path segment)",
            "type": "string"
          }
        },
        "required": [
          "id",
          "edit_token"
        ],
        "type": "object"
      },
      "name": "delete_share",
      "title": "Delete Shared Markdown"
    },
    {
      "annotations": {
        "idempotentHint": false,
        "readOnlyHint": true
      },
      "description": "Fetch the raw markdown of a docs-md.com share. Accepts the share id or any docs-md.com share URL. Use it when someone gives you a docs-md.com link, for example a handoff written by another agent.",
      "inputSchema": {
        "properties": {
          "id": {
            "description": "Share id (e.g. calm-river-Ab12C) or a docs-md.com share URL",
            "type": "string"
          }
        },
        "required": [
          "id"
        ],
        "type": "object"
      },
      "name": "read_share",
      "title": "Read Shared Markdown"
    },
    {
      "description": "Publish markdown at a public docs-md.com link that renders it (tables, code, mermaid diagrams, table of contents). Use it to send a plan, spec, report, README or agent handoff to a person or another agent. Returns the URL, a raw-markdown URL and an edit token for later updates or deletion.",
      "inputSchema": {
        "properties": {
          "content": {
            "description": "The markdown content to share (up to 120,000 characters)",
            "type": "string"
          },
          "expiry": {
            "description": "How long the link stays live (default 30d; \"never\" keeps it forever)",
            "enum": [
              "1d",
              "7d",
              "30d",
              "never"
            ],
            "type": "string"
          },
          "filename": {
            "description": "Optional file name shown as the page title, e.g. \"HANDOFF.md\" or \"plan.md\"",
            "type": "string"
          }
        },
        "required": [
          "content"
        ],
        "type": "object"
      },
      "name": "share_markdown",
      "title": "Share Markdown"
    },
    {
      "description": "Replace the content of an existing share using its id and edit token.",
      "inputSchema": {
        "properties": {
          "content": {
            "description": "The new markdown content",
            "type": "string"
          },
          "edit_token": {
            "description": "Edit token returned when the share was created",
            "type": "string"
          },
          "filename": {
            "description": "Optional new filename",
            "type": "string"
          },
          "id": {
            "description": "The share id (the URL path segment)",
            "type": "string"
          }
        },
        "required": [
          "id",
          "edit_token",
          "content"
        ],
        "type": "object"
      },
      "name": "update_share",
      "title": "Update Shared Markdown"
    }
  ]
}
