# Context — ctxt.io

Context — ctxt.io lets coding agents publish text, code, Markdown, or HTML behind links that expire. Use it to hand off generated content without pasting the whole result into a conversation.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 2
- Author: ctxt-io
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/ctxt-io/ctxt-agents
- Updated: 2026-10-03
- HTML: https://affpapa.org/en/nevibecode/mcp/context-ctxtio

## What it does

Context — ctxt.io exposes MCP operations for publishing content, retrieving it, and removing it. Agents can work with plain text, source code, Markdown, and HTML; each publication returns a link with a limited lifetime. The available tools are `create_context`, `read_context`, and `delete_context`.

Free links on the general service last from 5m to 1d. The Claude Code plugin also includes a sharing skill and the `/ctxt:share` command. It guides the agent through sharing a result and preparing static HTML with inline SVG. Server-side processing strips scripts, so JavaScript-driven page behavior will not survive publication.

The general MCP endpoint uses HTTP and requires neither authentication nor an account. Anyone with a public link can read its contents, so keep credentials and other secrets out of shared material. Store the returned `delete_token` privately as well, since it grants the ability to remove the publication. The server can also be connected without installing the bundled plugin.

## Requirements
- Remote server: `https://ctxt.io/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http mcp https://ctxt.io/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add context-ctxtio --url https://ctxt.io/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "context-ctxtio": {
            "url": "https://ctxt.io/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "context-ctxtio": {
            "type": "http",
            "url": "https://ctxt.io/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http context-ctxtio https://ctxt.io/mcp
```

## When to use it
- Publish an agent response behind an expiring link
- Share a code snippet without pasting it into chat
- Send a Markdown document or static HTML page
- Retrieve previously published content through MCP
- Remove a publication using its deletion token

## Example prompts
- Publish this report as a temporary link and return the URL.
- Share the current HTML mockup using `/ctxt:share`.
- Create a link for this code snippet, then remove the publication.

## Similar
- [markdown-to-html](https://affpapa.org/en/nevibecode/skills/markdown-to-html.md) — skill · 9899 installs
- [answer-me-with-html](https://affpapa.org/en/nevibecode/skills/answer-me-with-html.md) — skill · 5400 installs
- [md2wechat](https://affpapa.org/en/nevibecode/skills/md2wechat.md) — skill · 2500 installs
- [defuddle](https://affpapa.org/en/nevibecode/skills/joeseesun-defuddle.md) — skill · 1300 installs
- [visualize](https://affpapa.org/en/nevibecode/skills/visualize.md) — skill · 869 installs
- [context-builder](https://affpapa.org/en/nevibecode/skills/context-builder.md) — skill · ★ 8267

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
