Skip to main content
Glama

Descargo de responsabilidad

Bueno, esto es difícil. Desafortunadamente, tomará algo de tiempo configurarlo. Sin embargo, si logras simplificarlo, por favor, envíame tus comentarios.

Servidor MCP mcp-inception

Llama a otro cliente mcp desde tu cliente mcp. Delega tareas y libera ventanas de contexto. ¡Un agente para tu agente!

Este es un servidor MCP basado en TypeScript que implementa un sistema de consulta LLM simple.

  • Servidor y cliente MCP en uno

  • Hecho con el uso de mcp-client-cli

  • Descargar ventanas de contexto

  • Delegar tareas

  • Ejecución paralela y map-reduce de tareas

Características

Herramientas

  • execute_mcp_client : realiza una pregunta a un LLM independiente, ignora todos los pasos intermedios que realiza al consultar sus herramientas y devuelve el resultado.

    • Toma la pregunta como parámetros obligatorios

    • Devuelve la respuesta, ignorando todo el contexto intermedio.

  • execute_parallel_mcp_client: Toma una lista de entradas y un indicador principal, y ejecuta el indicador en paralelo para cada cadena de la entrada. Por ejemplo, obtiene la hora actual de seis ciudades importantes: Londres, París, Tokio, Río, Nueva York y Sídney.

    • toma como mensaje principal "¿Qué hora es en esta ciudad?"

    • toma lista de entradas, Londres París etc.

    • ejecuta el indicador en paralelo para cada entrada

    • Nota: espere esto antes de usar esta función.

  • execute_map_reduce_mcp_client : procesa varios elementos en paralelo y luego reduce secuencialmente los resultados a una única salida.

    • Toma mapPrompt con marcador de posición {item} para el procesamiento de elementos individuales

    • Toma reducePrompt con marcadores de posición {accumulator} y {result} para combinar resultados

    • Toma una lista de items para procesar

    • initialValue opcional para el acumulador

    • Procesa elementos en paralelo y luego reduce secuencialmente los resultados.

    • Ejemplo de caso de uso: analizar varios documentos y luego sintetizar la información clave de todos ellos en un resumen

Related MCP server: Orchestration MCP

Desarrollo

Dependencias:

  • Instalar mcp-client-cli

    • También instale el archivo de configuración y los servidores mcp que necesita en ~/.llm/config.json

  • Cree un archivo bash en algún lugar que active venv y ejecute el ejecutable llm

#!/bin/bash
source ./venv/bin/activate
llm --no-confirmations

paquete de instalación

Instalar dependencias:

npm install

Construir el servidor:

npm run build

Para desarrollo con reconstrucción automática:

npm run watch

Instalación

Para utilizar con Claude Desktop, agregue la configuración del servidor:

En MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json En Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "mcp-inception": {
      "command": "node",
      "args": ["~/Documents/Cline/MCP/mcp-inception/build/index.js"], // build/index.js from this repo
      "disabled": false,
      "autoApprove": [],
      "env": {
        "MCP_INCEPTION_EXECUTABLE": "./run_llm.sh", // bash file from Development->Dependencies
        "MCP_INCEPTION_WORKING_DIR": "/mcp-client-cli working dir"
      }
    }
  }
}

Depuración

Dado que los servidores MCP se comunican a través de stdio, la depuración puede ser complicada. Recomendamos usar el Inspector MCP , disponible como script de paquete:

npm run inspector

El Inspector proporcionará una URL para acceder a las herramientas de depuración en su navegador.

Available Tools

3 tools
execute_map_reduce_mcp_clientC

Process multiple items in parallel then sequentially reduce the results to a single output.

Inputs: mapPrompt (required), reducePrompt (required), items (required), initialValue.

execute_mcp_clientB

Offload certain tasks to AI. Used for research purposes, do not use for code editing or anything code related. Only used to fetch data.

Inputs: command (required).

execute_parallel_mcp_clientC

Execute multiple AI tasks in parallel, with responses in JSON key-value pairs.

Inputs: prompt (required), items (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.9/5.0

    Scored across 3 tools

    Disambiguation2/5

    The three tools have overlapping purposes centered around executing MCP client tasks, with unclear boundaries. execute_map_reduce_mcp_client and execute_parallel_mcp_client both handle parallel execution, while execute_mcp_client is described more broadly for offloading tasks, leading to potential confusion about when to use each.

    Naming Consistency5/5

    All tool names follow a consistent snake_case pattern with a 'execute_' prefix, making them predictable and readable. The naming structure is uniform across the set, with no deviations in style or convention.

    Tool Count3/5

    With only 3 tools, the set feels thin for a server named 'MCP Inception MCP Server', which suggests a broader scope. While the tools cover parallel and sequential execution, the limited count may not fully support complex workflows or diverse use cases implied by the server name.

    Completeness2/5

    The tool set is severely incomplete for an MCP server, lacking basic operations like configuration, monitoring, or error handling. It focuses narrowly on execution variants without covering setup, management, or integration aspects, leaving significant gaps for agent-driven tasks.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A TypeScript-based server that connects MCP Clients to Dify applications, dynamically exposing Dify applications as tools that can be used directly within the MCP Client.
      5
      MIT
    • F
      license
      A
      quality
      D
      maintenance
      A TypeScript MCP server for launching, tracking, and managing external coding-agent runs across local and remote backends like Codex and Claude Code. It allows top-level agents to orchestrate subagents through tools for spawning tasks, polling events, and handling interactive sessions.
      7
      2
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      A self-hosted MCP server that provides a single execute_code tool, enabling agents to write TypeScript to call multiple REST APIs via fetch() with transparent credential injection, reducing token usage by keeping intermediate results in the sandbox.
      11
      BSD 3-Clause
    • A
      license
      Not graded
      quality
      D
      maintenance
      A TypeScript gateway that aggregates multiple MCP servers into a single endpoint, enabling AI agents to access tools from many backends through one connection.
      2
      ISC