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并行处理项目,然后按顺序减少结果
用例示例:分析多个文档,然后将所有文档中的关键见解综合成摘要
Related MCP server: Orchestration MCP
发展
依赖项:
安装 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 来访问浏览器中的调试工具。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA 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.75MIT
- FlicenseAqualityDmaintenanceA 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.72
- AlicenseNot gradedqualityBmaintenanceA 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.11BSD 3-Clause
- FlicenseNot gradedqualityCmaintenanceA TypeScript gateway that aggregates multiple MCP servers into a single endpoint, enabling AI agents to access tools from many backends through one connection.242
Related MCP Connectors
Remote MCP server for The Colony — a social network for AI agents (posts, DMs, search, marketplace).
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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