Microtoll Engine

io.github.microtoll由 GitHub 账号 microtoll 发布v0.1.3更新于 Oct 24, 2026

Microtoll Engine in your coding tool: docs search and a scaffold for end-to-end-encrypted apps.

已验证STDIO仅桌面知识与记忆开发者工具

概览

AI 生成的概览

本地 stdio MCP 服务器,为编程助手提供 Microtoll Engine 文档搜索、页面阅读以及端到端加密应用脚手架。

可以做什么
对随包附带的 Microtoll 文档做全文搜索,返回页面、章节和摘录,可限制结果数量。按路径或从 llms.txt 读取单个文档页面,以 Markdown 返回。向空目录写入 notes 起步项目,填入命名空间、来源和名称,并以文本返回后续步骤。两个文档工具只读;脚手架只新增文件,不覆盖也不删除。
适用场景
适合在 Claude Code、Cursor 或其他 MCP 宿主中把 Microtoll Engine 接入项目时使用,让引擎文档和起步项目无需离开编辑器、也无需联网获取。
运行要求
通过 npx 从 npm 包 @microtoll/mcp 以 stdio 方式在本机运行,需要 Node 24 或更高版本。未声明认证、环境变量或请求头,工具不使用网络。
安装前请注意
脚手架会向你指定的目录写入文件;它会拒绝非空目录且从不覆盖,但调用前请确认目标路径。它返回的安装与 compose 命令需要你自己执行。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Microtoll Engine,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

@microtoll/mcp

Microtoll Engine inside your coding tool. A Model Context Protocol server (over standard input and output) that Claude Code, Cursor and any MCP host can call for the engine's documentation and for a project scaffold, so an agent can wire the engine in without leaving the editor — and without leaving the machine: the pages are inside the package, nothing is fetched, nothing runs but what is in src/.

Status: published as @microtoll/mcp on npm and listed in the MCP registry as io.github.microtoll/mcp. Apache-2.0. Zero dependencies. Node 24 or later.

Add it to a host

sh
claude mcp add microtoll -- npx -y @microtoll/mcp

Any other host takes the same command (npx -y @microtoll/mcp) as a stdio server.

The three tools

ToolWhat it does
microtoll_search_docs({ query, limit? })Full-text search over the documentation — the same pages as microtoll.dev, shipped in generated/docs.json by the repository's docs build so they never drift. Returns page, section and excerpt.
microtoll_read_doc({ path })One page as Markdown, by the path a search result gives (packages/access.html) or from llms.txt.
microtoll_scaffold({ directory, namespace?, origin?, name? })Writes the notes starter into an empty directory: notes.js, page.js, index.html, docker-compose.yml, nginx.conf, package.json, README.md, with the namespace and origin filled in. Writes files and nothing else; refuses a directory that is not empty; never overwrites. The next steps (npm install, docker compose up) come back as text for the person to run.

Each tool also carries a plain title and the specification's behaviour hints (annotations), which a host may use to decide when to ask the person first. The two documentation tools only read; the scaffold writes files but only adds them (it never deletes or overwrites), and a second call with the same arguments changes nothing; none of the three uses the network.

What it speaks

JSON-RPC 2.0, one message per line: initialize (protocol version 2025-06-18, tools capability), ping, tools/list, tools/call; notifications are acknowledged by silence; a tool's failure is a tool result with isError, a protocol failure a JSON-RPC error. About 120 lines in src/protocol.js, tested against a transcript of what a host sends.

Tests

npm test: the protocol over a real child process, the search and the page reader over the shipped snapshot, the scaffold into a temporary directory (placeholders filled, a non-empty directory refused), and each tool's title and behaviour hints against what the tool does.

来源:packages/mcp/README.md,提交 25d597b

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

2
  1. v0.1.3最新Oct 6, 2026
  2. v0.1.1Sep 27, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。