Context — ctxt.io

io.ctxt由 ctxt.io 發布官方發布者v1.0.0更新於 Oct 24, 2026

Share text, markdown, code, or HTML as auto-expiring links

已驗證Streamable HTTP可網頁執行效率與工作流檔案與儲存

概覽

AI 產生的概覽

遠端 ctxt.io 伺服器,讓助理把文字、Markdown、程式碼或 HTML 發布為自動過期的分享連結,並可讀取與刪除這些連結。

可以做什麼
把文字、Markdown、程式碼或自包含 HTML 建立為分享連結,可設定有效期限,付費方案還可設定名稱與密碼;指令碼會被移除且不會執行,HTML 維持靜態。透過完整 URL、路徑或純代碼讀取既有連結的內容,受保護的連結需提供密碼。使用建立時回傳的刪除權杖刪除自己建立的連結,立即撤銷公開存取。
適用情境
適合助理產出需要他人檢視或轉交的內容時,例如報告、表格、圖表或程式碼片段,用短期公開連結比附件更方便。也適合讀取他人回傳的連結內容。
執行需求
遠端 streamable HTTP 端點;無需帳號、身分驗證、API 金鑰或本機執行環境。部分用戶端以外掛或設定項目方式接入該端點。需要網路存取。
安裝前請注意
連結預設憑 URL 即可存取,任何持有連結的人都能讀取,不要分享機密。刪除權杖是一種刪除能力,應視為機密。刪除立即生效且無法復原,呼叫前應先確認。較長有效期限以及名稱、密碼等 Pro 選項需透過人工開啟的付款連結一次性付費。

安裝

在 SourceWeft 中

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

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

交給代理程式安裝

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

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

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

其他 MCP 客戶端

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

{
  "mcpServers": {
    "context-ctxt-io": {
      "type": "http",
      "url": "https://ctxt.io/mcp"
    }
  }
}

README

ctxt.io for agents

[ci]

Share whatever your agent produces as auto-expiring links. This repo packages the ctxt.io MCP server for agent runtimes: a Claude Code plugin (MCP + share skill), a Codex plugin, a Cursor plugin, and install recipes for VS Code and claude.ai.

  • Claude directory plugin: https://ctxt.io/mcp/openai (free public links, no ads or checkout). The endpoint is usable by any MCP client.
  • General MCP endpoint: https://ctxt.io/mcp (Codex, Cursor, and direct clients; streamable HTTP, no auth, no account)
  • Tools: create_context, read_context, delete_context
  • Free expiries: 5m – 1d. On the general endpoint, ttl=30d and Pro options (name, password) cost $1 one-time; the tool result says how payment completes — a payment_url a human opens, plus any agent-payment capability the server currently advertises.

Claude Code (plugin — recommended)

Run these one at a time in Claude Code (pasting both lines at once doesn't work):

  1. Add the marketplace:

    /plugin marketplace add ctxt-io/ctxt-agents
  2. Install the plugin:

    /plugin install ctxt@ctxt

You get the MCP server and a share skill that teaches Claude when to share and how to produce good-looking HTML output (self-contained HTML + inline SVG — scripts are stripped server-side, so static only). The skill also registers the /ctxt:share slash command. This bundle uses the free directory endpoint with public links lasting up to one day. See the plugin README for data handling and retention.

MCP server only, no plugin (--scope user makes it available in every project; drop it to add it to the current project only):

claude mcp add --scope user --transport http ctxt https://ctxt.io/mcp/openai

Codex

Codex plugin (bundles the MCP server + the share skill; lives in codex/ctxt/ with a .codex-plugin/plugin.json manifest):

bash
codex plugin marketplace add ctxt-io/ctxt-agentscodex plugin add ctxt@ctxt

MCP server only — add to ~/.codex/config.toml:

toml
[mcp_servers.ctxt]url = "https://ctxt.io/mcp"

Skill only — Codex loads skills from ~/.agents/skills (open Agent Skills format):

bash
mkdir -p ~/.agents/skillscp -r codex/ctxt/skills/share ~/.agents/skills/ctxt-share

Cursor

One-click install (opens Cursor with the server pre-filled):

Add to Cursor

Cursor plugin (bundles the MCP server + the share skill, which Cursor registers as /share; lives in cursor/ctxt/ with a .cursor-plugin/plugin.json manifest, and the repo root carries a .cursor-plugin/marketplace.json so the whole repo can be added as a marketplace):

Cursor → Settings → Tools & MCP → add marketplace → ctxt-io/ctxt-agents

MCP server only, by hand — add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):

json
{  "mcpServers": {    "ctxt": { "url": "https://ctxt.io/mcp" }  }}

VS Code

Add to .vscode/mcp.json — note VS Code uses a top-level servers map, not mcpServers:

json
{  "servers": {    "ctxt": { "type": "http", "url": "https://ctxt.io/mcp" }  }}

claude.ai / Claude Desktop

Customize → Connectors → Add custom connector → https://ctxt.io/mcp (no auth).

Any other MCP client

Point it at https://ctxt.io/mcp: stateless streamable HTTP, plain JSON responses, no authentication.

Notes

  • Links are bearer-accessible by default — anyone holding the URL can read them; password-protected (Pro) links additionally require the password. Don't share secrets.
  • The delete_token returned at creation is a deletion capability. Treat it as a secret and keep it out of shared content.
  • Claude has a directory-specific sharing skill. Codex and Cursor keep identical general-service skills; CI checks both variants point at their intended endpoints.
  • Releasing: bump version in all three plugin manifests together (Claude only updates installed plugins when the version changes) and tag the release; CI checks the manifests stay in sync.
  • Docs: https://ctxt.io/mcp/docs · Terms: https://ctxt.io/tos · Privacy: https://ctxt.io/privacy
  • Security reports: see SECURITY.md.

License

MIT

來源:README.md,提交 6274b2f

工具

3

create_context

Create a ctxt.io share link

Share text, markdown, code, or HTML as an auto-expiring ctxt.io link. For visual output (styled reports, tables, charts, diagrams) prefer format=html with self-contained HTML: inline CSS and inline SVG render fully; <script> is stripped server-side and JavaScript never runs, so keep it static. Free expiries: 5m, 30m, 1h (default), 8h, 1d — these return the share URL immediately. ttl=30d and the Pro options (name, password) cost $1 one-time: the link is created in a pending state and the result includes a payment_url a human can open in a browser to complete checkout (platforms enrolled for agentic payments receive an acp block instead and can pay programmatically); until payment the link lives 1 day without Pro features. Anyone with the link can read it. The returned delete_token authorizes deletion via delete_context — keep it private.

輸入參數ttllangnameformatcontent必填password

read_context

Read a ctxt.io link

Fetch the content of an existing ctxt.io link. Accepts a full ctxt.io URL, a /3/<code> path, or a bare code. Password-protected links need the password argument.

輸入參數formatpasswordurl_or_key必填

delete_context

Delete a ctxt.io link

Delete a ctxt.io link you created. Requires the delete_token returned by create_context. Immediately removes public access and requests backing-storage deletion. Destructive and not undoable — confirm with the user before calling.

輸入參數url_or_key必填delete_token必填

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 100%

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

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