Context — ctxt.io
Share text, markdown, code, or HTML as auto-expiring links
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"mcp": {
"url": "https://ctxt.io/mcp"
}
}
}원격 엔드포인트
https://ctxt.io/mcpstreamable-http할 수 있는 일
도구 목록
도구 (3)
🔴create_context(content, format, lang, name, password, ...)
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.
입력 스키마
{
"type": "object",
"properties": {
"content": {
"description": "The content to share (max 4MB).",
"type": "string"
},
"format": {
"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).",
"enum": [
"text",
"markdown",
"code",
"html"
],
"type": "string"
},
"lang": {
"description": "With format=code: the language to highlight (e.g. python, javascript, diff). Omit to auto-detect.",
"type": "string"
},
"name": {
"description": "Pro, ttl=30d only: human-readable name appended to the URL as a slug.",
"type": "string"
},
"password": {
"description": "Pro, ttl=30d only: password required to read the link. Access control, not encryption — content is plaintext at rest.",
"type": "string"
},
"ttl": {
"default": "1h",
"description": "How long the link stays readable. 5m–1d are free; 30d costs $1.",
"enum": [
"5m",
"30m",
"1h",
"8h",
"1d",
"30d"
],
"type": "string"
}
},
"required": [
"content"
]
}출력 스키마
{
"type": "object",
"properties": {
"acp": {
"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.",
"type": "object"
},
"current_ttl_seconds": {
"type": "integer"
},
"delete_token": {
"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.",
"type": "string"
},
"expires_at": {
"type": "string"
},
"html_url": {
"type": "string"
},
"json_url": {
"type": "string"
},
"manage_url": {
"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.",
"type": "string"
},
"markdown_url": {
"type": "string"
},
"paid_ttl_seconds": {
"type": "integer"
},
"payment_url": {
"type": "string"
},
"pending_payment": {
"type": "boolean"
},
"text_url": {
"type": "string"
},
"url": {
"type": "string"
},
"x402": {
"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.",
"type": "object"
}
},
"required": [
"url",
"markdown_url",
"text_url",
"json_url",
"html_url",
"expires_at",
"current_ttl_seconds",
"pending_payment",
"delete_token",
"manage_url"
]
}🟢read_context(format, password, url_or_key)
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.
입력 스키마
{
"type": "object",
"properties": {
"format": {
"default": "markdown",
"description": "Representation to return.",
"enum": [
"markdown",
"text",
"html"
],
"type": "string"
},
"password": {
"description": "Password for protected links.",
"type": "string"
},
"url_or_key": {
"description": "Full ctxt.io URL, /3/<code> path, or bare code.",
"type": "string"
}
},
"required": [
"url_or_key"
]
}출력 스키마
{
"type": "object",
"properties": {
"content": {
"type": "string"
},
"created": {
"type": "string"
},
"expires_at": {
"type": "string"
},
"ttl_seconds": {
"type": "integer"
}
},
"required": [
"content",
"ttl_seconds",
"created",
"expires_at"
]
}🔴delete_context(delete_token, url_or_key)
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.
입력 스키마
{
"type": "object",
"properties": {
"delete_token": {
"description": "The delete_token from create_context.",
"type": "string"
},
"url_or_key": {
"description": "Full ctxt.io URL, /3/<code> path, or bare code.",
"type": "string"
}
},
"required": [
"url_or_key",
"delete_token"
]
}출력 스키마
{
"type": "object",
"properties": {
"deleted": {
"type": "boolean"
}
},
"required": [
"deleted"
]
}커뮤니티
증거