mcp-server-mcpindex
Officialmcp-server-mcpindex
Un servidor MCP para encontrar servidores MCP, además de veredictos de confianza consultivos que los frameworks de agentes pueden llamar antes de invocar una herramienta, de mcpindex.ai.
Un servidor MCP de integración directa que permite a tu agente descubrir, comparar, instalar y comprobar previamente otros servidores MCP desde el propio bucle del agente. Respaldado por mcpindex.ai, el índice de servidores MCP nativo para agentes del registro oficial (recuento en vivo en mcpindex.ai/stats), revisado y monitorizado diariamente contra desviaciones.
Sitio en vivo · npx mcp-server-mcpindex · MCP remoto · Instalación · Documentación · Confianza
Instalación
npm install -g mcp-server-mcpindexEste es el cliente de directorio / asesoría (recomendar, buscar, confiar). No instala la puerta de deriva en la ruta; eso es curl -fsSL https://mcpindex.ai/install.sh | sh.
Requiere Node 20+. Habla ambas eras de protocolo en stdio: la revisión de 2026-07-28 (server/discover, envoltura _meta por petición) y el handshake initialize que usan todos los clientes actuales (desde 2025-11-25 hasta 2024-10-07), y selecciona el protocolo según la conexión.
O conectar de forma remota (sin instalación)
¿Prefieres no instalar nada? mcpindex también es un servidor MCP remoto alojado. Apunta cualquier cliente que admita MCP remoto (conectores de Claude, Cursor, etc.) a:
https://mcpindex.ai/api/mcpStreamable HTTP, sin credenciales. Las mismas seis herramientas que el paquete npm.
Claude Code
claude mcp add --scope user mcpindex -- npx -y mcp-server-mcpindex@latestGemini CLI
gemini mcp add -s user mcpindex npx -y mcp-server-mcpindex@latestRelated MCP server: filesystem-mcp
Úsalo desde Claude Desktop
Añádelo a ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"mcpindex": {
"command": "npx",
"args": ["-y", "mcp-server-mcpindex@latest"]
}
}
}
@latestte mantiene al día: este es el servidor de descubrimiento con asesoría (no la puerta de deriva en la ruta), así que no lleva una versión fijada:npxdescarga la más reciente en el próximo reinicio del host, sin actualización manual.
Reinicia Claude Desktop. Luego pregunta:
«Encuéntrame un servidor MCP que pueda leer PDFs y escribir el contenido en S3.»
Claude llama a recommend_mcp_for_task y devuelve los 3 servidores mejor clasificados con comandos de instalación.
Úsalo desde Cursor
Añádelo a .cursor/mcp.json:
{
"mcpServers": {
"mcpindex": {
"command": "npx",
"args": ["-y", "mcp-server-mcpindex@latest"]
}
}
}Úsalo desde Cline
Añádelo a la configuración de Cline:
npx -y mcp-server-mcpindex@latestHerramientas expuestas
Tool | Qué hace |
| Pasa una tarea en lenguaje natural. Devuelve los 3 mejores servidores con justificación, comandos de instalación y puntuaciones de calidad. |
| Búsqueda por palabras clave y semántica en todo el registro. Filtro de categoría opcional. |
| Obtén el JSON/CLI de instalación exacto para un servidor + cliente (Claude Desktop, Claude Code, Cursor, Gemini CLI, Cline, Zed). |
| Comparación lado a lado de 2 a 5 servidores: puntuaciones de calidad, rutas de instalación, variables de entorno. |
| Veredicto consultivo previo a la invocación para una herramienta específica en un servidor. Fail-CLOSED: devuelve UNVERIFIED cuando no hay ningún veredicto en el registro. |
| Veredicto agregado previo a la ejecución para todas las herramientas de un servidor. Misma estructura que |
Integración con frameworks de agentes: pantalla consultiva previa a la invocación
check_tool_trust es la superficie de integración del cliente de directorio (no la mcpindex-gate en ruta). Permite que los frameworks de agentes (Composio, Mastra, LangChain, DSPy, bucles directos de llamadas LLM-herramienta) soliciten un veredicto de pantalla consultiva antes de despachar una llamada. En v1 verás REVIEW o UNVERIFIED, no una autorización de seguridad.
¿Usas Mastra? El paquete hermano
@mcp-index/mastraincluye esta misma pantalla como un hookbeforeToolCallya preparado:npm i @mcp-index/mastra, sin configuración adicional.
Contrato de veredicto (v1)
{
"directive": "ALLOW" | "DENY" | "REVIEW" | "UNVERIFIED",
"status": "EVALUATED" | "PARTIAL" | "STALE" | "ERROR",
"granularity": "description-level" | null, // scope of a PARTIAL screen
"dimensions": [
{ "id": "tool_safety", "verdict": "PASS", "severity": "INFO" }
],
"expires_at": "2026-06-30T00:00:00Z",
"honest_limits": [
"conformance_monitored_not_enforced",
"calibrated_false_v1",
"advisory_deployment"
],
"verdict_contract_version": "1.0.0",
"server_id": "github",
"tool_name": "create_pull_request",
"source_url": "https://mcpindex.ai/api/v1/trust/tool/github/create_pull_request",
"fetched_at": "2026-05-28T18:42:11.118Z"
}El veredicto del nivel gratuito incluye directivas + dimensiones + frescura. Las citas de evidencia, el razonamiento del LLM y el historial de la cadena son superficies del nivel de pago y se omiten aquí intencionadamente.
Límites honestos (fija estos en la UI de tu puerta)
Cada veredicto v1 incluye estas tres advertencias, y tu puerta DEBERÍA mostrarlas en cada decisión de despacho:
conformance_monitored_not_enforced- los publicadores se autodeclaran; mcpindex monitoriza la deriva, pero no bloquea en la capa de red.calibrated_false_v1- las severidades de las dimensiones aún no están calibradas con datos de incidentes del mundo real.advisory_deployment- el veredicto es consultivo; el agente (o el humano que revisa al agente) es quien toma la decisión.
Anclaje histórico: historial anclado a Bitcoin mediante OTS; finalizado en Bitcoin con N=6 confirmaciones (~1 hora); pendiente en ~10 min. La precisión de la subventana se afirma, no se demuestra.
Patrón de integración (estilo LangChain, convención directa de llamada LLM-herramienta)
import { Client } from '@modelcontextprotocol/sdk/client/index.js';
import { StdioClientTransport } from '@modelcontextprotocol/sdk/client/stdio.js';
const mcpindex = new Client({ name: 'gate', version: '1.0.0' }, { capabilities: {} });
await mcpindex.connect(new StdioClientTransport({
command: 'npx', args: ['-y', 'mcp-server-mcpindex@latest'],
}));
// gateToolCall wraps any agent tool dispatch. Plug it in front of
// the LangChain / DSPy / Mastra / Composio tool-call hook.
async function gateToolCall({ serverId, toolName, invoke, askHuman }) {
const res = await mcpindex.callTool({
name: 'check_tool_trust',
arguments: { server_id: serverId, tool_name: toolName },
});
const verdict = JSON.parse(res.content[0].text);
// Pin the v1 caveats in the audit log no matter what.
audit.log({ verdict, caveats: verdict.honest_limits });
switch (verdict.directive) {
case 'REVIEW':
// Fail-CLOSED to human. Do NOT auto-execute on REVIEW.
// At v1 this is the common screened outcome (semantic-only).
return askHuman({ verdict, action: `${serverId}/${toolName}` });
case 'UNVERIFIED':
// No verdict on file (or upstream unreachable). Fail-CLOSED.
// Recommend human review. Do NOT fail-open to invoke().
return askHuman({
verdict,
action: `${serverId}/${toolName}`,
note: 'No trust verdict on file. Human review required before first use.',
});
case 'ALLOW':
// Reserved in the contract — not produced by the v1 public screen.
// Keep the branch for future conformance-earned ALLOW; do not expect it today.
return invoke();
case 'DENY':
// Reserved in the contract — not produced by the v1 public screen.
throw new Error(
`mcpindex denied ${serverId}/${toolName}: ${JSON.stringify(verdict.dimensions)}`,
);
default:
// Unknown directive. Fail-CLOSED.
return askHuman({ verdict, action: `${serverId}/${toolName}` });
}
}La regla fundamental: nunca en modo fail-open
Si el endpoint de veredicto es inalcanzable, devuelve 404, se agota el tiempo de espera, devuelve JSON malformado o todavía no tiene ningún veredicto en el registro para ese servidor, check_tool_trust devuelve directive: "UNVERIFIED" + status: "ERROR". Nunca fuerza silenciosamente un ALLOW. El código de tu puerta DEBERÍA tratar UNVERIFIED como «se requiere revisión humana», nunca como «parece bien, adelante».
status es telemetría sobre la integridad de la pantalla, distinta de la decisión de confianza directive: EVALUATED (pantalla completa), PARTIAL (solo parte de la superficie, p. ej., a nivel de descripción; ver granularity), STALE (veredicto fuera de su ventana de frescura), ERROR (inalcanzable / sin veredicto en el registro). Una pantalla PARTIAL nunca se notifica como EVALUATED.
Esto está probado. Ver test/trust.test.mjs.
Usar la biblioteca directamente (sin MCP)
El cliente de confianza también se exporta como un módulo ES sencillo:
import { checkToolTrust, assessServer } from 'mcp-server-mcpindex/src/trust.mjs';
const verdict = await checkToolTrust({
serverId: 'github',
toolName: 'create_pull_request',
});
if (verdict.directive !== 'ALLOW') {
// Hand to a human, log, or block.
}Backend
Por defecto, las llamadas van a https://mcpindex.ai. Sobrescríbelo con MCPINDEX_API_BASE=... si lo alojas tú mismo.
El nivel gratuito está limitado a 60 solicitudes/min/IP. Las claves de pago llegarán próximamente para mayor rendimiento y el veredicto completo con evidencia (citas de evidencia, razonamiento del LLM, historial de la cadena).
Paquetes relacionados
Tres formas de llevar mcpindex a un agente, para diferentes superficies:
Paquete | Instalación | Qué hace |
|
| Directorio + pantalla consultiva como servidor MCP: encuentra servidores por tarea, y |
|
| La misma pantalla consultiva integrada en Mastra como un hook |
|
| Puerta de deriva en la ruta: |
Pantalla consultiva vs. puerta de deriva: este paquete y @mcp-index/mastra le preguntan a mcpindex «¿ha sido examinada esta herramienta?» (un veredicto de red). @mcp-index/sdk hace una pregunta distinta a nivel local: «¿cambió el contrato de esta herramienta desde que lo fijé?» Son complementarios, y ninguno depende de otro.
Licencia
MIT.
Proyecto
Sitio web: mcpindex.ai
Metodología: mcpindex.ai/methodology
Evaluar un servidor: mcpindex.ai/screen
Fuente: github.com/mcpindex-ai
No oficial. No afiliado a Anthropic.
Available Tools
6 toolsassess_serverA
Aggregated pre-flight trust assessment across all tools on an MCP server. Same verdict shape as check_tool_trust. Use for "is THIS server worth integrating?" decisions. v1 advisory; conformance monitored not enforced; verdicts may be UNVERIFIED if not yet probed.
Inputs: server_id (required).
check_tool_trustA
Pre-invocation advisory screen for a specific tool on an MCP server. Returns an advisory verdict object (directive ALLOW | DENY | REVIEW | UNVERIFIED, dimensions, freshness). At v1 the public screen produces REVIEW or UNVERIFIED only — ALLOW/DENY are reserved. Not the in-path gate (mcpindex-gate). Agents SHOULD treat UNVERIFIED as "human review required", never as ALLOW.
Inputs: server_id (required), tool_name (required).
compare_serversA
Side-by-side comparison of 2-5 MCP servers - quality scores, install paths, transport types, env vars.
Inputs: slugs (required).
get_install_commandA
Get the exact install command for a given MCP server and client. Returns a JSON block ready to paste into the client config.
Inputs: client (required), server_slug (required).
recommend_mcp_for_taskA
Recommend the best MCP servers for a natural-language task. Returns top 3 ranked picks with reasoning, install commands, and quality scores. Use this when the user asks for the right MCP server for a task they want to do.
Inputs: task (required).
search_mcp_serversA
Keyword + semantic search across the full MCP server registry. Use when the user knows what tool category they want but not which server.
Inputs: query (required), limit, category.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool targets a clearly distinct purpose: search, recommend, compare, install, and two levels of trust assessment (server-level and tool-level). Even the trust tools are well-differentiated by scope.
All tool names follow a consistent verb_noun pattern using snake_case: assess_server, check_tool_trust, compare_servers, get_install_command, recommend_mcp_for_task, search_mcp_servers.
With 6 tools covering search, recommendation, comparison, installation, and trust, the number is well-scoped for a server registry/helper. No tools feel redundant or unnecessary.
The set covers the core workflow of finding, evaluating, and installing MCP servers. A minor gap is the lack of a tool to retrieve full metadata for a single server (e.g., description, version), but search and comparison partially fill that need.
Maintenance
Related MCP Connectors
Search and install 4,000+ security-scanned MCP servers from inside any MCP-aware AI client.
Search and get install details on MCP servers, right from your agent -- a unified marketplace index.
Find the right MCP server or skill for a task: ranked, install-ready results from 50K+ servers.
Search, vet & assemble MCP servers from your agent: verified tools, risk labels, and trust scores.
Related MCP Servers
- AlicenseAqualityNot gradedmaintenanceEnables browser automation through Playwright using accessibility tree snapshots instead of screenshots. Supports web scraping, form interactions, testing, and connecting to existing browser sessions with logged-in accounts.238,303 npm5-
- AlicenseAqualityBmaintenanceFilesystem MCP server for AI assistants. Search, read, edit, and manage local files in directories you choose.14708 npm36MIT
- AlicenseAqualityDmaintenanceEnables searching and retrieving details of 9,000+ MCP servers from the Agent Almanac catalog, allowing agents to discover, inspect, and install tools directly.357 npmMIT
- AlicenseNot gradedqualityBmaintenanceAI-first MCP server discovery tool that enables agents to search, inspect, and install MCP servers from multiple registries.16AGPL 3.0