mcpField
C
Context — ctxt.io

Context — ctxt.io

Remote
ctxt.ioFiles & Storage2Updated 4w ago

About Context — ctxt.io

Context is an MCP server for sharing agent-produced text, Markdown, code, and HTML through expiring links. It offers three context tools and plugin packages or setup instructions for several agent environments.

Key features

  1. 01Create, read, and delete contexts
  2. 02Share content through expiring links
  3. 03Free links expire in 5 minutes to 1 day
  4. 04Optional paid 30-day and Pro links
  5. 05Plugins and setup guides for agent environments

Use cases

  1. 01Share an agent's generated code or notes
  2. 02Publish static HTML output as a link
  3. 03Retrieve or delete a previously shared context

MCP support

The server exposes create_context, read_context, and delete_context to MCP clients over stateless streamable HTTP. The general endpoint requires no authentication.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://ctxt.io/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Tools

3
ParameterTypeRequiredDescription
ttlenumNoHow long the link stays readable. 5m–1d are free; 30d costs $1.5m | 30m | 1h | 8h | 1d | 30d
langstringNoWith format=code: the language to highlight (e.g. python, javascript, diff). Omit to auto-detect.
namestringNoPro, ttl=30d only: human-readable name appended to the URL as a slug.
formatenumNoHow to render the content: text (verbatim), markdown (rendered rich), code (syntax highlighted), or html (sanitized and rendered — best for visual output; inline CSS/SVG work, scripts are stripped).text | markdown | code | html
contentstringYesThe content to share (max 4MB).
passwordstringNoPro, ttl=30d only: password required to read the link. Access control, not encryption — content is plaintext at rest.

Details

From the project 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):

codex plugin marketplace add ctxt-io/ctxt-agents
codex plugin add ctxt@ctxt

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

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

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

mkdir -p ~/.agents/skills
cp -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):

{
  "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:

{
  "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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.