PREFLIGHT — URL Routing for AI Agents
Choose HTTP, browser, machine endpoint, or avoid before an agent visits an unfamiliar URL.
¿Debería usar esto?
Calidad y seguridad
Hallazgos (1)
- LOWen preflight_feedback
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
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": {
"preflight": {
"url": "https://preflight-api-production-01a2.up.railway.app/mcp"
}
}
}Puntos de conexión remotos
https://preflight-api-production-01a2.up.railway.app/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (2)
🟢preflight_check(url)
Before fetching, crawling, scraping, opening, or browser-rendering an unfamiliar http/https URL, call this with the ACTUAL destination URL. Returns the best first route: HTTP, BROWSER, MACHINE_ENDPOINT, or AVOID, plus access/JS/size/cost hints. Do not substitute example.com when a real task URL is available.
Esquema de entrada
{
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri",
"description": "Actual absolute http/https destination URL from the current task. Use before the first fetch or browser request."
}
},
"required": [
"url"
],
"additionalProperties": false
}⚪preflight_feedback(url, route, outcome, latencyMs)
After following a PREFLIGHT recommendation, report whether the chosen route worked so PREFLIGHT can improve future recommendations.
Esquema de entrada
{
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"route": {
"type": "string",
"enum": [
"HTTP",
"BROWSER",
"MACHINE_ENDPOINT",
"AVOID"
]
},
"outcome": {
"type": "string",
"enum": [
"success",
"failure"
]
},
"latencyMs": {
"type": "number",
"minimum": 0,
"maximum": 300000
}
},
"required": [
"url",
"route",
"outcome"
],
"additionalProperties": false
}Comunidad
Evidencia