Skip to content

Releases

MCP Slim v0.1.0-preview.1 — source preview

Choose a tag to compare

@LeeJUNhao791 LeeJUNhao791 released this 06 Dec 02:20

MCP Slim v0.1.0-preview.1 — source preview

Source: ec7be8985349a23360a9b1eb7972231f1119a5dd in
LeeJUNhao791/mcp-slim.
Python 3.11+, standard library only; no binaries or dependencies are bundled.

English

  • Audits saved MCP tool catalogs and routes trusted local stdio backends through
    discover_tools and call_tool, with exact allow lists that default to empty.
  • This extracted preview passed all 30 local tests and the five README commands
    on Windows. An existing MCP SDK 2.3.0 client started the extracted gateway,
    discovered demo/sum_numbers, received sum 7 for 2 + 5, and confirmed
    that an unlisted tool was denied. The SDK was external and is not bundled.
  • The separately recorded 2026-12-06 Codex CLI demo also completed discovery
    and the 2 + 5 call with sum 7, exit 0, using temporary
    --approve-for-me settings. This is limited client/demo evidence, not a claim
    about arbitrary hosts, approval modes or production workloads.
  • Original UTF-8 byte measurements and the common bytes/4 estimate are not
    model token counts or billing savings
    . Comparison includes discovery overhead.
    The catalog is fixed per process: no hot reload; restart after changes.
  • Hosted CI
    passed all nine Windows/Linux/macOS and Python 3.11/3.12/3.13 combinations
    at this exact source commit.
  • This is a preview of the stdio tools subset. Backend schemas pass through
    without complete JSON Schema validation.

Verify the ZIP against SHA256SUMS. Its source-manifest.json lists the exact
commit, Git tree and every source-file SHA-256. Extract, open that folder and
follow README.md; no installation is required.

中文

  • 审计保存的 MCP 工具目录,将可信本地 stdio 后端接到 discover_tools 和
    call_tool,采用默认空名单的精确调用权限。
  • 本次解压预览在 Windows 上通过 30 项测试及 README 五步。已有 MCP SDK 2.3.0
    客户端成功启动解压后的网关,发现 demo/sum_numbers,调用 2 + 5 返回
    7,并确认未列入名单的工具被拒绝。SDK 仅用于验证,未打包进源码。
  • 另有 2026-12-06 实际 Codex CLI 记录:在临时 --approve-for-me 配置下,
    发现与调用均完成,返回 7、退出码 0。该证据只覆盖当次客户端与示例,
    不代表任意客户端、审批模式或生产工作流均兼容。
  • 原始字节及统一 bytes/4 估算不是真实模型 token 或账单节省,比较计入
    发现额外开销。目录在当前进程中固定,不支持热更新,变更后需要重启。
  • 同一精确提交的托管 CI
    已通过 Windows/Linux/macOS 与 Python 3.11/3.12/3.13 的全部九种组合。
  • 本预览只覆盖 stdio 工具子集;后端 schema 原样传递,不做完整 JSON Schema 验证。

请用 SHA256SUMS 核对 ZIP。包内 source-manifest.json 记录提交、Git tree 和
每个源码文件的 SHA-256。解压后按 README.zh-CN.md 运行,无须安装依赖。