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 集成