Oh My Share

com.openanthropic由 openanthropic.com 發布官方發布者v2.3.0更新於 Nov 8, 2026

Publish HTML/code from your agent to openanthropic.com and get a shareable link.

已驗證Streamable HTTP可網頁執行檔案與儲存開發者工具

概覽

AI 產生的概覽

把助手產生的 HTML 或程式碼發佈到 openanthropic.com,取得公開分享連結,並支援列出、檢視、刪除與作品廣場搜尋。

可以做什麼
  • 上傳單一 HTML 或程式碼片段,取得分享連結、id 與編輯權杖
  • 以已驗證帳號發佈多檔案靜態網站並取得網站連結
  • 列出自己上傳的資源,並依 id 讀取單一資源內容
  • 永久刪除自己擁有的某個資源
  • 依關鍵字搜尋公開作品廣場,或瀏覽最新與最熱門作品
  • 讀取服務中繼資訊,例如版本、端點與速率限制
適用情境
適合在助手產生 HTML 頁面、程式碼片段或小型靜態網站、需要讓別人用瀏覽器開啟時使用;也適合查找並閱讀服務上已分享的內容。
執行需求
遠端 streamable HTTP 端點;匿名單檔上傳不需 API 金鑰。發佈多檔案網站與列出自己的資源需要 OAuth 或 API 金鑰。請求依 IP 限流。
安裝前請注意
上傳內容預設公開,除非設定密碼保護或用戶端加密;匿名連結帶有標章且預設 7 天後過期。刪除無法復原,分享連結會立即失效。回傳的編輯權杖可修改同一連結的內容,應妥善保管。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Oh My Share,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/com.openanthropic%2Foh-my-share/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "oh-my-share": {
      "type": "http",
      "url": "https://openanthropic.com/mcp"
    }
  }
}

README

Oh My Share

[License: MIT] [MCP Registry] [Live]

Free, no-signup HTML & code sharing — for humans and AI agents.

Paste code (or drag in a .html file) at openanthropic.com, get back a link like https://openanthropic.com/view/<id> that renders in any browser. AI agents get the same ability over MCP, a JSON API, and an A2A endpoint: send HTML in, shareable link out.

中文简介:免费无注册的 HTML/代码分享工具,支持端到端加密、可编辑的永久链接、密码保护、过期时间与公开作品广场;同时内置 MCP 服务器与 A2A 端点,AI 代理可以直接发布内容。


Features

  • No account required — paste and share, works on mobile
  • Editable permanent links — every share has an editToken; update the content at the same URL while you iterate
  • Optional end-to-end encryption — encrypted in the browser, the server only ever stores ciphertext (registered accounts include a 3-day encryption trial)
  • Password protection and expiry (1 hour – 90 days)
  • Public gallery — publish works to /gallery, searchable by keyword, sortable by newest/popular
  • Abuse reporting — reported content is unpublished immediately (HTTP 451) pending review, with an appeal path
  • Referrer-Policy + sandboxed rendering — shared pages are served with no-referrer and a sandbox CSP so they can't touch your session

For humans

  1. Open https://openanthropic.com
  2. Paste code or drag a .html file in
  3. Copy the /view/<id> link

Advanced options (password, expiry, title, tags, publish-to-gallery) are in the same editor. Use the returned editToken to update the share later at POST /api/edit/<id>.

For AI agents

Three equivalent interfaces — no API key needed for the basic flows.

1. MCP server (streamable HTTP)

Endpoint: https://openanthropic.com/mcp Listed in the official MCP Registry as io.github.shisongsong/oh-my-share (v2.2.0). No API key required — anonymous clients can call every tool (OAuth metadata is also advertised for clients that prefer it); requests are rate-limited per IP.

Claude Code:

bash
claude mcp add --transport http oh-my-share https://openanthropic.com/mcp

Any MCP client that reads mcp.json (Cursor, VS Code, …):

json
{  "mcpServers": {    "oh-my-share": { "url": "https://openanthropic.com/mcp" }  }}

Tools:

ToolArgumentsDescription
uploadcontent (string), language?, filename?, password?, expiresIn? (1h/24h/7d/30d/90d, default 7d)Upload HTML or a code snippet; returns the share URL, id and edit token
list_assets–List assets uploaded in the current session
viewidFetch shared content by id
deleteidDelete an asset you own
get_info–Service info (name, version, endpoints)
search_galleryquery, sort? (new|hot), page?, limit? (≤20)Full-text search of the public gallery (title, description, tags, id)

2. JSON API (CORS-open)

bash
# publish HTML, get a share link backcurl -s https://openanthropic.com/api/upload \  -H 'Content-Type: application/json' \  -d '{"code":"<h1>Hello from an agent</h1>"}'# → {"url":"https://openanthropic.com/view/<id>","id":"<id>","editToken":"...","expiresAt":null}
# search the gallerycurl -s 'https://openanthropic.com/api/gallery?q=dashboard&sort=hot&page=1&limit=10'# → {"items":[…],"total":…,"page":1,"pages":…}

3. A2A endpoint (Agent2Agent, v1.0 JSON-RPC)

  • Endpoint: POST https://openanthropic.com/a2a
  • Agent card: https://openanthropic.com/.well-known/agent-card.json
  • Registered at a2aregistry.org as com.openanthropic.oh_my_share
  • Stateless: completed tasks are synthesized from stored shares, so GetTask works for any share id
bash
curl -s https://openanthropic.com/a2a \  -H 'Content-Type: application/json' \  -d '{    "jsonrpc":"2.0","id":1,    "method":"SendMessage",    "params":{"message":{"messageId":"m1","parts":[{"text":"<h1>Hi</h1>"}]}}  }'# → completed task whose artifacts carry the /view/<id> URL

GetTask, /search <query> and a plain-text help reply (for anything that isn't HTML) are supported too; streaming/cancel methods return standard A2A "not supported" errors.

Self-hosting

Requirements: Node.js 18+, a Cloudflare account (Workers, D1, R2), wrangler (installed via npm install).

bash
git clone https://github.com/shisongsong/oh-my-share.gitcd oh-my-sharenpm install
# create the storage (once)npx wrangler d1 create oh-my-share-db        # put the returned database_id into wrangler.jsoncnpx wrangler r2 bucket create oh-my-share-bucket
# apply schema migrationsnpx wrangler d1 migrations apply oh-my-share-db --remote
# local development (uses the same bindings)npm run dev
# tests (19 unit/integration tests, Cloudflare Workers pool)npm test
# build + deploynpm run deploy

Notes for your own deployment:

  • Remove or edit the routes entry in wrangler.jsonc (it points at the production custom domain)
  • The daily cron (triggers.crons) runs the stats snapshot/IndexNow job — optional
  • monitor/ holds an optional shell-based analytics/uptime monitor (monitor/README.md); copy monitor/.env.example to fill in your Cloudflare API token

Architecture

  • Cloudflare Workers — one worker: routing, SSR pages, MCP server, JSON API, A2A endpoint
  • D1 (SQLite) — metadata: shares, sessions, subscriptions, gallery index, reports
  • R2 — content objects (HTML/code/encrypted blobs)
  • Web Crypto — password hashing and client-side end-to-end encryption (keys never leave the browser except in the URL fragment)

Agent-facing files: llms.txt · robots.txt · sitemap · MCP server card · A2A agent card

Contributing

Issues and PRs are welcome. Run npm test before submitting — CI parity matters more than style nits.

License

MIT © shisongsong

來源:README.md,提交 d5991a8

工具

7

upload

Upload Content

Upload one HTML/code payload and get a public share URL plus an edit token. Each call creates a new asset unless idempotencyKey is reused. Anonymous uploads are rate-limited to 10/hour and 50/day per IP; authenticated uploads are limited per account. Content is public unless password-protected and expires after expiresIn (default 7d). Use upload_site for multi-file sites, view to read back, list_assets for your own files, or delete to remove one.

輸入參數tagstitlecontent必填filenamelanguagepasswordexpiresIndescriptionidempotencyKey

upload_site

Upload Static Site

Publish a multi-file static site from an authenticated account. Pass files as an array of {path, content} strings; the root must contain index.html or index.htm. Returns a /s/<id>/ URL that serves HTML/CSS/JS/assets. Limits: 200 files, 20 MB total, 5 MB per file. Requires OAuth or an API key; site links never show the anonymous badge. Use idempotencyKey to make retries safe.

輸入參數tagsfiles必填titleexpiresIndescriptionidempotencyKey

list_assets

List Assets

List up to 50 assets owned by the authenticated user, newest first, with id, filename, timestamps and share URL. Requires an API key or signed-in session; read-only, and results are capped at 50 with no pagination. Use search_gallery for public works from other users, or view to open one of your assets.

無需輸入參數。

view

View Content

Fetch a single asset by id and return its content, filename, creation time and share URL. Read-only and safe to retry; public assets need no auth, password-protected assets return an error with the share URL, and client-encrypted content is returned as stored. Use search_gallery to find an id, or list_assets for your own uploads.

輸入參數id必填

delete

Delete Asset

Permanently delete one of your own assets by id. Irreversible: the share URL stops working immediately and the content cannot be restored. Requires authentication and ownership; ids you do not own return an error. Use list_assets to find the id; there is no bulk delete.

輸入參數id必填

get_info

Service Info

Return Oh My Share service metadata: version, REST and MCP endpoints, feature list, and per-IP rate limits (10 uploads/hour, 500 views/hour). Read-only, no auth, cheap to call. Use it once at startup to discover capabilities; use list_assets or search_gallery for actual content.

無需輸入參數。

版本歷史

1
  1. v2.3.0最新Nov 8, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Openanthropic 整合