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 分