Context — ctxt.io

Share text, markdown, code, or HTML as auto-expiring links

¿Debería usar esto?

Calidad y seguridad

A
Calidad de la descripción
100%
Integridad del esquema
100%
Calidad de los nombres
100%
Riesgo de envenenamiento
100%
Coincidencia de permisos
100%
Cumplimiento del protocolo
100%

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~1,130Tokens (definiciones de herramientas)
~3.1 KBTamaño de respuesta típico
Impacto moderado en la atención (0.88% del contexto de 128k)

Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.

Instalar

Instalación con un clic

Agrega esto a tu archivo `claude_desktop_config.json`:

{
  "mcpServers": {
    "mcp": {
      "url": "https://ctxt.io/mcp"
    }
  }
}

Puntos de conexión remotos

https://ctxt.io/mcpstreamable-http

Qué puede hacer

Inventario de herramientas

Herramientas (3)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
🔴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.

Esquema de entrada

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

Esquema de salida

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

Esquema de entrada

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

Esquema de salida

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

Esquema de entrada

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

Esquema de salida

{
  "type": "object",
  "properties": {
    "deleted": {
      "type": "boolean"
    }
  },
  "required": [
    "deleted"
  ]
}

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada3 herramientas
verificadoversión no registrada3 herramientas