AttachPage

Publish webpages and documents, send private review links, and collect comments and approvals.

Should I use this

Quality & Safety

A
Description quality
100%
Schema completeness
87%
Naming quality
98%
Poisoning risk
60%
Permission match
100%
Protocol compliance
100%

Findings (3)

  • HIGHTool poisoning patterns detected
  • LOWTool description contains role marker that could confuse chat modelsin publish_anonymous_page
  • LOWTool description contains role marker that could confuse chat modelsin publish_from_url

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~4,682Tokens (tool definitions)
~2.6 KBTypical response size
Significant attention impact (3.66% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "attachpage": {
      "url": "https://attachpage.com/mcp"
    }
  }
}

Remote endpoints

https://attachpage.com/mcpstreamable-http

What it can do

Tool inventory

Tools (16)

🟒 Read-only🟑 WriteπŸ”΄ Deleteβšͺ Unknown
πŸ”΄publish_document(filename, content, siteId, siteName, slug, ...)

Publish a PDF, Word (.docx), PowerPoint (.pptx), Excel (.xlsx/.xls), or CSV file as a browser-viewable page, private by default. Accepts filename and base64 content, up to 4 MB decoded. Documents become readable PDFs, slides have presentation controls, and spreadsheets have searchable sheet tabs. Preserves the original for download. A siteId replaces the page at the same address. Does not send invitations.

Input Schema

{
  "type": "object",
  "properties": {
    "filename": {
      "type": "string",
      "description": "Original file name with extension, e.g. proposal.docx."
    },
    "content": {
      "type": "string",
      "description": "Base64 file bytes, not a local path or URL."
    },
    "siteId": {
      "type": "string",
      "description": "Replace this existing page at the same address."
    },
    "siteName": {
      "type": "string",
      "description": "Name shown to the user and recipients, e.g. \"Q3 report\"."
    },
    "slug": {
      "type": "string",
      "description": "Optional address label, 3-40 lowercase letters, digits or hyphens. Random when omitted."
    },
    "visibility": {
      "type": "string",
      "enum": [
        "private",
        "public"
      ],
      "description": "private (invitation-only, default) or public (anyone with the link)."
    },
    "description": {
      "type": "string",
      "maxLength": 500,
      "description": "Optional one-line description shown in the user's pages list. An empty string clears it."
    },
    "project": {
      "type": "string",
      "maxLength": 80,
      "description": "Optional project to file the page under, by name or id from list_projects, e.g. \"Q4 proposal\". A new name starts that project. An empty string takes the page out of its project."
    }
  },
  "required": [
    "filename",
    "content"
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "siteId": {
      "type": "string",
      "description": "Page id."
    },
    "url": {
      "type": "string",
      "description": "Page address."
    }
  }
}
🟒get_profile

Identify the AttachPage account connected to this agent.

Input Schema

{
  "type": "object",
  "properties": {}
}

Output Schema

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "email": {
      "type": "string"
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false
}
🟑publish_anonymous_page(siteName, slug, files, reminderEmail)

Publish a public web page without an account or API key. It is deleted 48 hours after publishing unless the user opens the returned claimUrl and signs in. Returns the page URL, the claimUrl and tellUser: always relay tellUser and the claimUrl, and tell the user to keep the page before sending it to anyone. If the user gives an email address, pass it as reminderEmail: the claim link is emailed now and again before deletion.

Input Schema

{
  "type": "object",
  "properties": {
    "siteName": {
      "type": "string",
      "description": "Name shown to the user and recipients, e.g. \"Q3 report\"."
    },
    "slug": {
      "type": "string",
      "description": "Optional address label, 3-40 lowercase letters, digits or hyphens. Random when omitted."
    },
    "files": {
      "type": "array",
      "description": "Files of the page. The complete resulting page includes index.html at the top level.",
      "items": {
        "type": "object",
        "required": [
          "path",
          "content"
        ],
        "properties": {
          "path": {
            "type": "string",
            "description": "Path inside the page, e.g. index.html or assets/logo.png."
          },
          "content": {
            "type": "string",
            "description": "File contents: text, or base64 when encoding is base64."
          },
          "encoding": {
            "type": "string",
            "enum": [
              "utf8",
              "base64"
            ],
            "description": "utf8 (default) for text files, base64 for images and other binary files."
          }
        }
      }
    },
    "reminderEmail": {
      "type": "string",
      "description": "Optional. The user's email address, only if they give it: we email them the claim link now and before the page is deleted."
    }
  },
  "required": [
    "files"
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "siteId": {
      "type": "string",
      "description": "Page id."
    },
    "url": {
      "type": "string",
      "description": "Public page address (works for 48 hours)."
    },
    "claimUrl": {
      "type": "string",
      "description": "Show to the user: opening it while signed in keeps the page."
    },
    "expiresAt": {
      "type": "number",
      "description": "When the page is deleted (ms since epoch)."
    },
    "deletesAt": {
      "type": "string",
      "description": "When the page is deleted, for people to read (UTC)."
    },
    "tellUser": {
      "type": "string",
      "description": "Tell the user this, with the claimUrl: when the page is deleted and how to keep it."
    },
    "fileCount": {
      "type": "number",
      "description": "Files published."
    },
    "reminderEmailSent": {
      "type": "boolean",
      "description": "Present when reminderEmail was given."
    }
  }
}
πŸ”΄publish_page(siteId, siteName, slug, visibility, files, ...)

Publish a web page as the connected user. A siteId replaces an existing page at the same address. preserveFiles retains omitted assets and requires the baseDeploymentId of that version; stale edits are refused. Visibility is private (invitation-only, default) or public. Requires an authenticated AttachPage connection.

Input Schema

{
  "type": "object",
  "properties": {
    "siteId": {
      "type": "string",
      "description": "Replace this existing page at the same address."
    },
    "siteName": {
      "type": "string",
      "description": "Name shown to the user and recipients, e.g. \"Q3 report\"."
    },
    "slug": {
      "type": "string",
      "description": "Optional address label, 3-40 lowercase letters, digits or hyphens. Random when omitted."
    },
    "visibility": {
      "type": "string",
      "enum": [
        "private",
        "public"
      ],
      "description": "private (invitation-only, default) or public (anyone with the link)."
    },
    "files": {
      "type": "array",
      "description": "Files of the page. The complete resulting page includes index.html at the top level.",
      "items": {
        "type": "object",
        "required": [
          "path",
          "content"
        ],
        "properties": {
          "path": {
            "type": "string",
            "description": "Path inside the page, e.g. index.html or assets/logo.png."
          },
          "content": {
            "type": "string",
            "description": "File contents: text, or base64 when encoding is base64."
          },
          "encoding": {
            "type": "string",
            "enum": [
              "utf8",
              "base64"
            ],
            "description": "utf8 (default) for text files, base64 for images and other binary files."
          }
        }
      }
    },
    "preserveFiles": {
      "type": "boolean",
      "description": "Retain files not included in this edit. Requires siteId and baseDeploymentId."
    },
    "baseDeploymentId": {
      "type": "string",
      "description": "Expected current version. A changed page is refused rather than overwritten."
    },
    "description": {
      "type": "string",
      "maxLength": 500,
      "description": "Optional one-line description shown in the user's pages list. An empty string clears it."
    },
    "project": {
      "type": "string",
      "maxLength": 80,
      "description": "Optional project to file the page under, by name or id from list_projects, e.g. \"Q4 proposal\". A new name starts that project. An empty string takes the page out of its project."
    }
  },
  "required": [
    "files"
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "siteId": {
      "type": "string",
      "description": "Page id; pass it to replace the page later."
    },
    "deploymentId": {
      "type": "string",
      "description": "Id of this version."
    },
    "url": {
      "type": "string",
      "description": "Page address."
    },
    "slug": {
      "type": "string",
      "description": "Address label."
    },
    "visibility": {
      "type": "string",
      "description": "private or public."
    },
    "fileCount": {
      "type": "number",
      "description": "Files published."
    }
  }
}
πŸ”΄publish_from_url(url, folder, siteId, siteName, slug, ...)

Publish a whole site from a link, as the connected user: AttachPage downloads it, so the files never pass through the conversation. Use this instead of publish_page when the site is already online as a .zip, .tar.gz or .html file, or in a public GitHub repository (github.com/owner/repo, or a /tree/branch/folder link). The download must be public https, up to 50 MB of site, 20 MB per file and 2,000 files; it is checked like an upload. A siteId replaces an existing page at the same address. Visibility is private (invitation-only, default) or public. Does not send invitations.

Input Schema

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "Public https link to a .zip, .tar.gz or .html file, or a GitHub repository or folder (github.com/owner/repo/tree/main/site)."
    },
    "folder": {
      "type": "string",
      "description": "Folder inside the download to publish, e.g. dist or site. Default: the top level, or the usual site folder (dist, build, public…) holding index.html."
    },
    "siteId": {
      "type": "string",
      "description": "Replace this existing page at the same address."
    },
    "siteName": {
      "type": "string",
      "description": "Name shown to the user and recipients, e.g. \"Q3 report\"."
    },
    "slug": {
      "type": "string",
      "description": "Optional address label, 3-40 lowercase letters, digits or hyphens. Random when omitted."
    },
    "visibility": {
      "type": "string",
      "enum": [
        "private",
        "public"
      ],
      "description": "private (invitation-only, default) or public (anyone with the link)."
    },
    "description": {
      "type": "string",
      "maxLength": 500,
      "description": "Optional one-line description shown in the user's pages list. An empty string clears it."
    },
    "project": {
      "type": "string",
      "maxLength": 80,
      "description": "Optional project to file the page under, by name or id from list_projects, e.g. \"Q4 proposal\". A new name starts that project. An empty string takes the page out of its project."
    }
  },
  "required": [
    "url"
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "siteId": {
      "type": "string",
      "description": "Page id; pass it to replace the page later."
    },
    "deploymentId": {
      "type": "string",
      "description": "Id of this version."
    },
    "url": {
      "type": "string",
      "description": "Page address."
    },
    "slug": {
      "type": "string",
      "description": "Address label."
    },
    "visibility": {
      "type": "string",
      "description": "private or public."
    },
    "fileCount": {
      "type": "number",
      "description": "Files published."
    },
    "importedFrom": {
      "type": "string",
      "description": "Where the files were downloaded from."
    },
    "folder": {
      "type": "string",
      "description": "Folder of the download that was published, when not the top level."
    }
  }
}
πŸ”΄send_page(siteId, recipients, message, expiresInDays)

Email personal invitations for a page to the specified recipient addresses, with an optional message and access expiry. Sends email immediately; sent email cannot be recalled.

Input Schema

{
  "type": "object",
  "properties": {
    "siteId": {
      "type": "string",
      "description": "Page id (siteId) returned by a publish tool or list_pages."
    },
    "recipients": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Email addresses; each person gets their own personal link."
    },
    "message": {
      "type": "string",
      "description": "Optional note included in the invitation email."
    },
    "expiresInDays": {
      "type": "integer",
      "description": "Days the links work (default 7). 0 means they never expire."
    }
  },
  "required": [
    "siteId",
    "recipients"
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "shareId": {
      "type": "string",
      "description": "Id of this send."
    },
    "siteId": {
      "type": "string",
      "description": "Page id."
    },
    "expiresAt": {
      "type": "number",
      "description": "When the links stop working (ms since epoch; year 9999 means never)."
    }
  }
}
πŸ”΄send_pages(pages, bundleName, recipients, message, expiresInDays)

Email several pages to the same people in one invitation email. Each recipient gets one email listing every page, with their own personal link to each; who opened each page shows on that page. Use send_page for a single page. Sends email immediately; sent email cannot be recalled.

Input Schema

{
  "type": "object",
  "properties": {
    "pages": {
      "type": "array",
      "minItems": 1,
      "maxItems": 10,
      "description": "Published pages to send, in the order the email lists them (1 to 10). Each is {siteId, note}; plain page id strings also work.",
      "items": {
        "type": "object",
        "required": [
          "siteId"
        ],
        "properties": {
          "siteId": {
            "type": "string",
            "description": "Page id (siteId) returned by a publish tool or list_pages.",
            "format": "uuid"
          },
          "note": {
            "type": "string",
            "description": "Optional note shown under this page, up to 500 characters."
          }
        }
      }
    },
    "bundleName": {
      "type": "string",
      "description": "Title of the email and of this set of pages, e.g. \"Q4 proposal pack\" (up to 120 characters). Defaults to the page names."
    },
    "recipients": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Email addresses; each person gets their own personal link to every page."
    },
    "message": {
      "type": "string",
      "description": "Optional note shown above the list of pages."
    },
    "expiresInDays": {
      "type": "integer",
      "description": "Days the links work (default 7). 0 means they never expire."
    }
  },
  "required": [
    "pages",
    "recipients"
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "bundleId": {
      "type": "string",
      "description": "Id of this send."
    },
    "shares": {
      "type": "array",
      "description": "One send per page, in the order sent, each with shareId and siteId."
    },
    "expiresAt": {
      "type": "number",
      "description": "When the links stop working (ms since epoch; year 9999 means never)."
    }
  }
}
🟒list_pages

List the user's pages with recipient and open counts.

Input Schema

{
  "type": "object",
  "properties": {}
}

Output Schema

{
  "type": "object",
  "properties": {
    "pages": {
      "type": "array",
      "description": "The user's pages with recipient and open counts."
    }
  }
}
🟒list_projects

List the user's projects (named groups of pages, e.g. a proposal with its pricing, timeline and contract pages) with the pages in each. File a page under a project with the project field of publish_page or update_page; send a whole project with send_pages.

Input Schema

{
  "type": "object",
  "properties": {}
}

Output Schema

{
  "type": "object",
  "properties": {
    "projects": {
      "type": "array",
      "description": "Projects, most recently changed first, each with id, name, description and its pages."
    }
  }
}
🟒list_versions(siteId)

Version history of a page: every published version, newest first, which one is live, and which can still be restored (the 10 most recent are always kept). get_page reads the live version's files.

Input Schema

{
  "type": "object",
  "properties": {
    "siteId": {
      "type": "string",
      "description": "Page id (siteId) returned by a publish tool or list_pages."
    }
  },
  "required": [
    "siteId"
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "currentDeploymentId": {
      "type": "string",
      "description": "The live version's id."
    },
    "versions": {
      "type": "array",
      "description": "Published versions, newest first: deploymentId, state (live or previous), publishedAt, fileCount, restorable, note."
    }
  }
}
πŸ”΄restore_version(siteId, deploymentId, expectedCurrentId)

Make an earlier published version of a page live again for everyone, right away. The version that was live stays in the history and can be restored back. Confirm with the user first. Pass expectedCurrentId (the live version from list_versions) so a page that changed in the meantime is not overwritten.

Input Schema

{
  "type": "object",
  "properties": {
    "siteId": {
      "type": "string",
      "description": "Page id (siteId) returned by a publish tool or list_pages."
    },
    "deploymentId": {
      "type": "string",
      "description": "The version to make live, from list_versions."
    },
    "expectedCurrentId": {
      "type": "string",
      "description": "Optional: the version you saw as live. A page changed since then is refused."
    }
  },
  "required": [
    "siteId",
    "deploymentId"
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "siteId": {
      "type": "string",
      "description": "Page id."
    },
    "deploymentId": {
      "type": "string",
      "description": "The version that is live now."
    },
    "restored": {
      "type": "boolean",
      "description": "true when the version was made live."
    }
  }
}
🟒get_page(siteId, filePaths)

Details for one page: address, visibility, recipients and who opened it. Optional filePaths reads exact uploaded source files from that version, up to 20 files and 256 KB total, with text or base64 encoding. An empty filePaths array returns a bounded manifest without file contents.

Input Schema

{
  "type": "object",
  "properties": {
    "siteId": {
      "type": "string",
      "description": "Page id (siteId) returned by a publish tool or list_pages."
    },
    "filePaths": {
      "type": "array",
      "maxItems": 20,
      "items": {
        "type": "string"
      },
      "description": "Source files to read from the current version; [] returns only the file list."
    }
  },
  "required": [
    "siteId"
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Page id (siteId)."
    },
    "name": {
      "type": "string",
      "description": "Page name."
    },
    "url": {
      "type": "string",
      "description": "Page address."
    },
    "visibility": {
      "type": "string",
      "description": "private or public."
    },
    "deployments": {
      "type": "array",
      "description": "Recent versions, newest first."
    },
    "shares": {
      "type": "array",
      "description": "Sends, each with recipients and when they opened the page."
    }
  }
}
πŸ”΄update_page(siteId, name, slug, visibility, description, ...)

Rename a page, change its address label (slug), or switch private/public. Also sets its one-line description and the project it is filed under.

Input Schema

{
  "type": "object",
  "properties": {
    "siteId": {
      "type": "string",
      "description": "Page id (siteId) returned by a publish tool or list_pages."
    },
    "name": {
      "type": "string",
      "description": "New page name."
    },
    "slug": {
      "type": "string",
      "description": "New address label, 3-40 lowercase letters, digits or hyphens."
    },
    "visibility": {
      "type": "string",
      "enum": [
        "private",
        "public"
      ],
      "description": "private (invitation-only, default) or public (anyone with the link)."
    },
    "description": {
      "type": "string",
      "maxLength": 500,
      "description": "Optional one-line description shown in the user's pages list. An empty string clears it."
    },
    "project": {
      "type": "string",
      "maxLength": 80,
      "description": "Optional project to file the page under, by name or id from list_projects, e.g. \"Q4 proposal\". A new name starts that project. An empty string takes the page out of its project."
    }
  },
  "required": [
    "siteId"
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Page id (siteId)."
    },
    "name": {
      "type": "string",
      "description": "Page name."
    },
    "url": {
      "type": "string",
      "description": "Page address."
    },
    "visibility": {
      "type": "string",
      "description": "private or public."
    },
    "deployments": {
      "type": "array",
      "description": "Recent versions, newest first."
    },
    "shares": {
      "type": "array",
      "description": "Sends, each with recipients and when they opened the page."
    }
  }
}
🟒get_feedback(siteId, status)

Read recipient comments, page paths, pointed-at elements (selector and visible text), and approval or change-request decisions. The status filter selects open, resolved, or all feedback.

Input Schema

{
  "type": "object",
  "properties": {
    "siteId": {
      "type": "string",
      "description": "Page id (siteId) returned by a publish tool or list_pages."
    },
    "status": {
      "type": "string",
      "enum": [
        "open",
        "resolved",
        "all"
      ],
      "description": "Which feedback to return (default all)."
    }
  },
  "required": [
    "siteId"
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "description": "Comments with page path and pointed-at element."
    },
    "decisions": {
      "type": "array",
      "description": "Approvals and change requests."
    }
  }
}
πŸ”΄resolve_feedback(feedbackId, resolved)

Mark recipient feedback as resolved, or reopen it with resolved: false. The recipient sees the updated resolution status.

Input Schema

{
  "type": "object",
  "properties": {
    "feedbackId": {
      "type": "string",
      "description": "Feedback id from get_feedback."
    },
    "resolved": {
      "type": "boolean",
      "description": "true (default) marks it resolved; false reopens it."
    }
  },
  "required": [
    "feedbackId"
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean",
      "description": "true when saved."
    }
  }
}
πŸ”΄notify_recipients(siteId, note)

Email existing active recipients that a page has been updated, with an optional note. Each recipient receives a fresh personal link. Sends email immediately; sent email cannot be recalled.

Input Schema

{
  "type": "object",
  "properties": {
    "siteId": {
      "type": "string",
      "description": "Page id (siteId) returned by a publish tool or list_pages."
    },
    "note": {
      "type": "string",
      "description": "Optional note about what changed, up to 1,000 characters."
    }
  },
  "required": [
    "siteId"
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "notified": {
      "type": "number",
      "description": "How many people were emailed."
    }
  }
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded16 tools
verifiedversion not recorded11 tools
verifiedversion not recorded11 tools
verifiedversion not recorded11 tools
verifiedversion not recorded11 tools