Skip to main content
Glama

MCP Inception MCP Server

免责声明

好吧,这个问题有点难。很遗憾,需要一些设置。不过,如果你能把这个问题简化一下,请给我发个 PR。

mcp-inception MCP 服务器

从您的 mcp 客户端调用另一个 mcp 客户端。委托任务,卸载上下文窗口。为您的代理提供代理!

这是一个基于 TypeScript 的 MCP 服务器,实现了一个简单的 LLM 查询系统。

  • MCP 服务器和客户端合二为一
  • 使用mcp-client-cli制作
  • 卸载上下文窗口
  • 委派任务
  • 任务的并行和 Map-Reduce 执行

特征

工具

  • execute_mcp_client - 向单独的 LLM 提出问题,忽略查询其工具时所需的所有中间步骤,并返回输出。
    • 将问题作为必需参数
    • 返回答案,忽略所有中间上下文
  • 执行_parallel_mcp_client - 获取输入列表和主提示符,并针对输入中的每个字符串并行执行提示符。例如,获取 6 个主要城市的当前时间:伦敦、巴黎、东京、里约、纽约、悉尼。
    • 接受主要提示“这个城市的时间是几点?”
    • 获取输入列表,伦敦巴黎等
    • 为每个输入并行运行提示
    • 注意:使用此功能请等待
  • execute_map_reduce_mcp_client - 并行处理多个项目,然后按顺序将结果减少为单个输出。
    • 使用mapPrompt{item}占位符来处理单个项目
    • 使用reducePrompt{accumulator}以及{result}占位符来合并结果
    • 获取要处理的items清单
    • 累加器的可选initialValue
    • 并行处理项目,然后按顺序减少结果
    • 用例示例:分析多个文档,然后将所有文档中的关键见解综合成摘要

发展

依赖项:

  • 安装 mcp-client-cli
    • 还要安装配置文件,以及~/.llm/config.json中所需的 mcp 服务器
  • 在某处创建一个 bash 文件,用于激活 venv 并执行llm可执行文件
#!/bin/bash source ./venv/bin/activate llm --no-confirmations

安装包

安装依赖项:

npm install

构建服务器:

npm run build

对于使用自动重建的开发:

npm run watch

安装

要与 Claude Desktop 一起使用,请添加服务器配置:

在 MacOS 上: ~/Library/Application Support/Claude/claude_desktop_config.json在 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" } } } }

调试

由于 MCP 服务器通过 stdio 进行通信,调试起来可能比较困难。我们推荐使用MCP Inspector ,它以包脚本的形式提供:

npm run inspector

检查器将提供一个 URL 来访问浏览器中的调试工具。

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

基于 TypeScript 的服务器,允许从您自己的 MCP 客户端调用其他 MCP 客户端,促进任务委派和上下文窗口卸载,以增强多代理交互。

  1. mcp-inception MCP 服务器
    1. 特征
    2. 发展
    3. 安装

Related MCP Servers

  • A
    security
    F
    license
    A
    quality
    A TypeScript-based MCP server designed for experimentation and integration with Calude Desktop and Cursor IDE, offering a modular playground for extending server capabilities.
    Last updated -
    2
    1,071
    4
    JavaScript
  • -
    security
    F
    license
    -
    quality
    A TypeScript implementation of the MCP Agent framework, providing tools for building context-aware agents with advanced workflow management, logging, and execution capabilities.
    Last updated -
    5
    TypeScript
  • A
    security
    A
    license
    A
    quality
    A TypeScript server implementing the Model Context Protocol (MCP) that provides datetime and timezone information to AI agents and chat interfaces, allowing them to access current time in various timezones.
    Last updated -
    4
    2
    TypeScript
    Mozilla Public License 2.0
  • -
    security
    F
    license
    -
    quality
    A TypeScript framework for building Model Context Protocol (MCP) servers with automatic discovery and loading of tools, resources, and prompts.
    Last updated -
    67
    TypeScript
    • Apple

View all related MCP servers

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tanevanwifferen/mcp-inception'

If you have feedback or need assistance with the MCP directory API, please join our Discord server