{
  "$schema": "https://raw.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/main/schema/server-card.json",
  "serverInfo": {
    "name": "copymarkdown",
    "version": "1.0.0",
    "title": "Copy Markdown Scraper MCP",
    "description": "Extract clean, token-efficient Markdown from any webpage URL for LLMs and AI coding agents."
  },
  "transport": {
    "type": "http",
    "endpoint": "https://www.copymarkdown.md/mcp"
  },
  "capabilities": {
    "tools": {
      "listChanged": false
    }
  },
  "tools": [
    {
      "name": "url_to_markdown",
      "description": "Extract clean, token-efficient Markdown from any public URL with headings, tables, code blocks, and links intact.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "description": "Full URL to scrape (e.g. https://docs.example.com/guide)"
          },
          "api_key": {
            "type": "string",
            "description": "Optional: your copymarkdown.md API key for higher rate limits"
          }
        },
        "required": [
          "url"
        ]
      }
    },
    {
      "name": "generate_content_md",
      "description": "Extract the core article or documentation body from any URL into a standardized CONTENT.md format, stripping headers, footers, and advertising noise.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "description": "Full URL to extract content from"
          },
          "api_key": {
            "type": "string",
            "description": "Optional: your copymarkdown.md API key for higher rate limits"
          }
        },
        "required": [
          "url"
        ]
      }
    },
    {
      "name": "generate_design_md",
      "description": "Extract a standardized DESIGN.md from any URL — CSS custom properties, typography hierarchy, button/card specifications, color palettes, and AI layout guidelines.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "description": "URL to generate a DESIGN.md for"
          },
          "api_key": {
            "type": "string",
            "description": "Optional: your copymarkdown.md API key for higher rate limits"
          }
        },
        "required": [
          "url"
        ]
      }
    },
    {
      "name": "generate_links_md",
      "description": "Extract a complete link graph into a standardized LINKS.md format from any URL, separating internal routes from outbound citations and references with anchor text.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "description": "URL to extract link graph from"
          },
          "api_key": {
            "type": "string",
            "description": "Optional: your copymarkdown.md API key for higher rate limits"
          }
        },
        "required": [
          "url"
        ]
      }
    }
  ]
}