Endpoints and machine URLs
The machine-readable URLs an AI tool or script can read, the MCP server, per-page raw content, and the site's LLM text files.
Beyond the MCP server, ShareMyPage exposes a few plain URLs that AI tools and scripts can read directly, plus one they can write to.
MCP server
https://sharemypage.app/api/mcpThe native MCP server for creating, reading, and managing pages and decks. See Connect your AI tool to set it up.
Publish to a page
PUT https://sharemypage.app/api/publish/<pageId>
Authorization: Bearer sp_pub_...Replaces one page's content, so a CI job, a cron or a one-line script keeps a page current with no browser and no session. The credential is a durable, revocable token scoped to exactly that page, issued from the page's Settings → Content → Publish URL. It cannot read anything, touch another page, or act as an API key for the MCP server.
Send the token in the Authorization header, never in the URL: request paths
land in proxy and platform logs, and this credential does not expire.
Add ?format=markdown to send Markdown instead of HTML, or ?title=New%20name
to rename the page on purpose. Full guide, including GitHub Actions and GitLab CI
examples: Keeping a page up to date.
Raw page content
https://sharemypage.app/raw/<slug>Returns a public page's content as text/plain, tokenless, so an LLM or any
non-JS client can read a page you have shared publicly. It is served as plain text
(with nosniff) so the page's own HTML is never executed on our origin. Any page
that is not public returns 404.
This URL is cached for up to five minutes, so straight after a publish it can still return the previous version of the page. The page's own URL always serves the current one.
Site text for LLMs
/llms.txtis a spec-compliant index (llmstxt.org) with a short description and links to the key pages./llms-full.txtis the complete documentation as one plain-text file, for ingesting the whole thing in a single fetch.
Downloads
- In the app, the Download menu on a page exports it as PDF, JPG, HTML, or Markdown.
- Over MCP, use
request_download_urlto get a signed URL for a large page body, andrequest_upload_urlto upload a large body directly (bypassing tool size limits).
Public means public
/raw/<slug> only ever serves pages whose visibility is Public. Pages that are
private, workspace-only, or password-protected are never exposed here.
See also
- Connect your AI tool and the MCP tool reference.
- Access and sharing for the visibility levels that decide what
/rawwill serve.