MCP Server

Context — ctxt.io

io.ctxt/mcp
Productivity Public & reachable MCP 2025-11-25

What this MCP does

Creates, reads, and deletes auto-expiring share links for text, markdown, code, and static HTML.

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.
Open world
Input schema
{'type': 'object', 'required': ['content'], 'properties': {'ttl': {'enum': ['5m', '30m', '1h', '8h', '1d', '30d'], 'type': 'string', 'default': '1h', 'description': 'How long the link stays readable. 5m–1d are free; 30d costs $1.'}, 'lang': {'type': 'string', 'description': 'With format=code: the language to highlight (e.g. python, javascript, diff). Omit to auto-detect.'}, 'name': {'type': 'string', 'description': 'Pro, ttl=30d only: human-readable name appended to the URL as a slug.'}, 'format': {'enum': ['text', 'markdown', 'code', 'html'], 'type': 'string', 'default': 'text', 'description': 'How 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).'}, 'content': {'type': 'string', 'description': 'The content to share (max 4MB).'}, 'password': {'type': 'string', 'description': 'Pro, ttl=30d only: password required to read the link. Access control, not encryption — content is plaintext at rest.'}}}
Output schema
{'type': 'object', 'required': ['url', 'markdown_url', 'text_url', 'json_url', 'html_url', 'expires_at', 'current_ttl_seconds', 'pending_payment', 'delete_token', 'manage_url'], 'properties': {'acp': {'type': 'object', 'description': 'Present when this deployment accepts Agentic Commerce Protocol payments: checkout_endpoint + item_id let an enrolled agent platform complete the $1 purchase without a browser.'}, 'url': {'type': 'string'}, 'x402': {'type': 'object', 'description': 'Present when this deployment accepts x402 payments: any agent with an x402 wallet can pay the $1 via the upgrade_context tool — no enrollment.'}, 'html_url': {'type': 'string'}, 'json_url': {'type': 'string'}, 'text_url': {'type': 'string'}, 'expires_at': {'type': 'string'}, 'manage_url': {'type': 'string', 'description': "The share URL with ?t=<delete_token> already appended: opening it in a browser unlocks delete/upgrade for this link — share it only with the link's owner."}, 'payment_url': {'type': 'string'}, 'delete_token': {'type': 'string', 'description': 'Short creator token: authorizes delete_context, and appended to the share URL as ?t=<delete_token> it unlocks delete/upgrade in a browser — keep it private.'}, 'markdown_url': {'type': 'string'}, 'pending_payment': {'type': 'boolean'}, 'paid_ttl_seconds': {'type': 'integer'}, 'current_ttl_seconds': {'type': 'integer'}}}
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.
Destructive Open world Idempotent
Input schema
{'type': 'object', 'required': ['url_or_key', 'delete_token'], 'properties': {'url_or_key': {'type': 'string', 'description': 'Full ctxt.io URL, /3/<code> path, or bare code.'}, 'delete_token': {'type': 'string', 'description': 'The delete_token from create_context.'}}}
Output schema
{'type': 'object', 'required': ['deleted'], 'properties': {'deleted': {'type': 'boolean'}}}
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.
Read only Open world
Input schema
{'type': 'object', 'required': ['url_or_key'], 'properties': {'format': {'enum': ['markdown', 'text', 'html'], 'type': 'string', 'default': 'markdown', 'description': 'Representation to return.'}, 'password': {'type': 'string', 'description': 'Password for protected links.'}, 'url_or_key': {'type': 'string', 'description': 'Full ctxt.io URL, /3/<code> path, or bare code.'}}}
Output schema
{'type': 'object', 'required': ['content', 'ttl_seconds', 'created', 'expires_at'], 'properties': {'content': {'type': 'string'}, 'created': {'type': 'string'}, 'expires_at': {'type': 'string'}, 'ttl_seconds': {'type': 'integer'}}}
Added
delete_context
Sept. 17, 2026, 12:40 p.m.
Added
read_context
Sept. 17, 2026, 12:40 p.m.
Added
create_context
Sept. 17, 2026, 12:40 p.m.