{
  "$schema": "https://modelcontextprotocol.io/schemas/server-card-v1.json",
  "serverInfo": {
    "name": "paste.page",
    "version": "1.0.0",
    "description": "Remote Model Context Protocol server for paste.page — create and manage one-page websites from inside your AI agent. All tools require an OAuth 2.1 + PKCE session bound to a paste.page account.",
    "homepage": "https://paste.page",
    "termsOfService": "https://paste.page/terms",
    "privacyPolicy": "https://paste.page/privacy"
  },
  "transport": {
    "type": "http",
    "url": "https://paste.page/mcp"
  },
  "capabilities": {
    "tools": [
      {
        "name": "list_my_pages",
        "description": "List every page owned by the authenticated account."
      },
      {
        "name": "create_page",
        "description": "Create a new paste.page page owned by the authenticated account. Slug is optional — a random one is generated if omitted."
      },
      {
        "name": "get_page",
        "description": "Fetch the current HTML and metadata for one of your pages."
      },
      {
        "name": "push_html",
        "description": "Update the HTML on one of your pages (by slug or id). Version is optional — omit for last-write-wins, include for optimistic concurrency."
      },
      {
        "name": "upload_image",
        "description": "Upload a base64-encoded image to one of your pages. Returns the public URL."
      },
      {
        "name": "list_images",
        "description": "List images uploaded to one of your pages."
      },
      {
        "name": "get_page_spec",
        "description": "Return the paste.page Sheets integration spec for one of your pages — column schema, endpoints, example HTML — so generated code matches the live integration."
      }
    ]
  },
  "auth": {
    "authenticated": "All tools require an OAuth 2.1 + PKCE session bound to a paste.page account. Sign-up and consent happen at paste.page during the connection flow."
  }
}
