WeWorkBuddy

[分享创造] 让 AI 写了个轻量级 MCP 代理 mcp-meta:把 104 个工具折叠成 2 个按需加载,每轮请求 Schema 体积减少 99.4%

https://github.com/monkey-sking/mcp-meta 平时挂多个 MCP Server 时,不管用不用得上,所有工具的完整 JSON Schema 都会在每一轮请求时硬塞进上下文。实测挂 14 个 Server ( 104 个工具) ,模型还没读 Prompt 就先烧掉 14.2 万字符 。 写了 mcp-meta 解决这个痛点。它夹在客户端和任意数量的上游 Server 之间,对模型只暴露 2 个懒加载元工具 : mcp_tools :查看上游 Server 概览,或按紧凑签名(如 search(query: string, [limit: integer]) )按需拉取某个 Server 的工具列表。 mcp_call :指定目标 Server 和工具名发起调用。 接入后每轮请求 Schema 降至 892 字符(-99.4%) ,同时保留所有工具的完整调用能力。 核心特性 零依赖 :纯 Python 3.9+ 标准库实现。 全兼容 :前端 stdio ;后端支持 stdio + HTTP (兼容 SSE 、会话保持、分页与协议自动降级)。 易配置 :支

Read original source
Source page screenshot: [分享创造] 让 AI 写了个轻量级 MCP 代理 mcp-meta:把 104 个工具折叠成 2 个按需加载,每轮请求 Schema 体积减少 99.4%
Source page screenshot · www.v2ex.com

Source record

Research analysis

Project record

Source account: https://github.com/monkey-sking/mcp-meta 平时挂多个 MCP Server 时,不管用不用得上,所有工具的完整 JSON Schema 都会在每一轮请求时硬塞进上下文。实测挂 14 个 Server ( 104 个工具) ,模型还没读 Prompt 就先烧掉 14.2 万字符 。 写了 mcp-meta 解决这个痛点。它夹在客户端和任意数量的上游 Server 之间,对模型只暴露 2 个懒加载元工具 : mcp_tools :查看上游 Server 概览,或按紧凑签名(如 search(query: string, [limit: integer]) )按需拉取某个 Server 的工具列表。 mcp_call :指定目标 Server 和工具名发起调用。 接入后每轮请求 Schema 降至 892 字符(-99.4%) ,同时保留所有工具的完整调用能力。 核心特性 零依赖 :纯 Python 3.9+ 标准库实现。 全兼容 :前端 stdio ;后端支持 stdio + HTTP (兼容 SSE 、会话保持、分页与协议自动降级)。 易配置 :支

Observed adoption & comparisons

Recent records to compare: “D4Vinci/Scrapling” (GitHub Trending, Nov 5, 2026); “garrytan/gstack” (GitHub Trending, Nov 5, 2026). Shared themes are navigation hints; they have not been verified as the same need or independent corroboration.

Adoption decision

Evaluate it against the tool or manual workflow it would replace. The stored record supports discovery; it does not yet establish reliability, lower operating cost or commercial adoption.

Unverified requirements

Not verified: license permissions, required hardware, installation steps, maintenance status and a representative task with its failure cases.

Next test

Choose one real task and a current alternative. Record the commit, environment, input, output, elapsed time and failure behavior; retain the result before recommending adoption.