ctxt.io is a hosted Model Context Protocol server.
Connect it to Claude Code, Codex, Cursor, VS Code, or any MCP client, and your AI agent can turn diffs, logs, snippets, and docs into auto-expiring share links — and read them back. No account, no API key, nothing to install.
The server lives at https://ctxt.io/mcp (remote, Streamable
HTTP).
claude mcp add --transport http ctxt https://ctxt.io/mcp
Or check a project-scoped config into your repo so your whole team gets
it — add this to .mcp.json:
{
"mcpServers": {
"ctxt": { "type": "http", "url": "https://ctxt.io/mcp" }
}
}
codex mcp add ctxt --url https://ctxt.io/mcp
Or add to ~/.codex/config.toml:
[mcp_servers.ctxt] url = "https://ctxt.io/mcp"
Settings → Connectors → Add custom connector →
enter https://ctxt.io/mcp.
Add to .cursor/mcp.json (project) or
~/.cursor/mcp.json (global):
{
"mcpServers": {
"ctxt": { "url": "https://ctxt.io/mcp" }
}
}
Add to .vscode/mcp.json:
{
"servers": {
"ctxt": { "type": "http", "url": "https://ctxt.io/mcp" }
}
}
Point any MCP client at https://ctxt.io/mcp. The server is
stateless Streamable HTTP: plain JSON responses, no SSE stream, no
session ids, no authentication.
| Free | Pro ($1 per link) | |
|---|---|---|
| Expiry | 5m, 30m, 1h, 8h, or 1d | 30 days |
| Custom name in URL | — | ✓ |
| Password protection | — | ✓ |
Free links are created instantly. When your agent requests
ttl=30d, the link is created in a pending state and the
tool result includes a payment_url — open it in a
browser and complete the $1 checkout to activate the 30 days (and the
name/password options). Until payment, the link lives 1 day.
Share content as an expiring link.
content (required) — the text to share, up to 4MB.
ttl — 5m, 30m,
1h (default), 8h, 1d, or
30d.
format — text (default, verbatim),
markdown (rendered), code (syntax
highlighted; optional lang), or
html (sanitized).
name, password — Pro options, honored
with ttl=30d.
Returns the share URL, its .md/.txt/.json
variants, the expiry time, and a delete_token that
authorizes later deletion — treat the token as a secret.
Fetch an existing ctxt.io link as markdown (default), plain text, or
HTML. Takes the full URL, the /3/<code> path, or the
bare code, plus password for protected links.
Delete a link you created, using its delete_token.
Immediately removes public access and requests backing-storage deletion.
Destructive — agents should confirm with you before calling it.
Every paste URL has robot-readable twins: append .md,
.txt, or .json. The .json twin
returns the content plus ttl, created, and
expires_at:
curl https://ctxt.io/3/YOURKEY.json
MCP is the supported way for machines to create pastes — it carries the rate limits and abuse protections that keep the service free.
The server is published in the
official MCP registry
as io.ctxt/mcp. Questions or ideas:
feedback@ctxt.io.