
Bevy Manual MCP
io.github.kinkirill由 GitHub 账号 kinkirill 发布v0.5.2更新于 Oct 30, 2026
Version-accurate Bevy API docs, Book, migration guides and examples for AI agents.
概览
本地运行的 Rust MCP 服务器,为助手提供与项目所用 Bevy 版本精确对应的 API 文档、Book 内容、示例和迁移指南。
- 可以做什么
- 在 Bevy 语料中做 API 与文档的混合检索,并按符号精确查询真实签名与文档
- 查找可运行的内置与 Book 示例,以及性能主题和变更检测提示
- 跨版本对比:版本间破坏性变更、单个符号在多个版本中的情况、最新发布版本与插件兼容性
- 检查项目:启用的 Cargo 特性、某符号是否可用,以及本安装可回答哪些 Bevy 版本
- 检查系统访问模式的语法问题、解释粘贴的 panic 或警告、生成自包含插件骨架
- 读取 bevy:// 资源,涵盖版本、API 路径、kind、模块、crate、owner 与 rustdoc 文件
- 适用场景
- 适合在开发 Bevy 游戏时使用,希望回答与项目实际引擎版本一致,而不是泛泛或过时的文档。可用于 API 查询、Bevy 版本间迁移、插件兼容性判断和 panic 排查。
- 运行要求
- 以 stdio 在本地运行,需 Rust 工具链通过 cargo 安装,不需要 Node 或 npm。它从 BEVY_PROJECT_ROOT 下的 Cargo.lock 或 Cargo.toml 读取 Bevy 版本,也可用 BEVY_VERSION 指定。索引包默认从 GitHub Releases 下载,存放在 BEVY_MCP_DATA_DIR,可用 BEVY_MCP_OFFLINE=1 关闭或用 BEVY_MCP_INDEX_BASE_URL 指向镜像。
安装
在 SourceWeft 中
- 打开 控制台中的 Bevy Manual MCP,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
bevy-manual-mcp
This MCP was designed by a human and built using AI tools to increase development speed.
Bevy is a fast-moving project that changes with every release. Its documentation is large and scattered, so finding an answer that actually matches your version often means digging through rustdoc signatures, the Bevy Book, migration guides, release notes and runnable examples - and still landing on something written for a different release. This server tries its best to remove that friction.
You ask your agent a question and it answers from knowledge pinned to the exact Bevy version your project is using.
Key points:
-
MCP Registry name:
mcp-name: io.github.kinkirill/bevy-manual-mcp -
Native. Rust, stdio MCP, no Node or npm in the user's path. (The initial version of this MCP was written in JS and later in TS.)
-
Small. A 33 MB bundle per Bevy version (125 MB corpus + 15 MB tantivy index, zstd-compressed).
-
Fast. ~10 ms cold start, 22–30 ms concept queries, sub-millisecond exact lookups.
-
Honest. Every tool says what it cannot do:
bevy_validate_systemsis a syntax-level linter, compatibility can be"unknown", and missing metadata is reported as missing.
Install
Requires a Rust toolchain. There is no prebuilt binary matrix and no npm shim.
The server starts answering immediately. If the detected Bevy version has no installed index, it downloads the prebuilt bundle in the background (progress on stderr) and reloads the index when the install completes. To install it explicitly before starting the server:
Index releases are per Bevy minor (v0.20); an exact-patch corpus is used
when present, otherwise the same minor's newest corpus answers for the patch.
Status, search results and resources report both the project version and the
corpus version that actually supplied the data. BEVY_MCP_OFFLINE=1 disables
all downloads, including the background fetch.
Use it
The bare command is the MCP server (stdio), exactly as MCP clients launch it.
MCP client configuration
Most clients only need a command:
BEVY_PROJECT_ROOT is optional if the client's working directory is the Cargo
project; the version is read from Cargo.lock first and Cargo.toml second.
Tools
bevy_validate_systems does not type-check and cannot decide Bevy runtime
panics; it recognises the B0001/B0002 access patterns and says when its analysis
is incomplete. bevy_generate_plugin reports compile_verified: false because
no compiler runs. bevy_ecosystem_compat is offline-only and returns
compatible: "unknown" for requirement operators it does not evaluate.
Resources
The server also exposes bevy:// resources and templates:
Listings page at 50 items with query-bound cursors; reads open the requested version on demand.
Configuration
File (bevy-mcp.config.json), environment and defaults combine in that order;
environment variables win.
The config file additionally accepts a corpora array for plugin corpora:
Plugin corpora live under data/corpora/<crate>/<version>/ and are built with
the normal build command.
Rebuilding indexes
A full 0.20.0 rebuild from 8,665 rustdoc pages takes ~30 s in release mode and produces exactly the canonical corpus: 253,196 records, 653,264 symbol keys, 15.2 MB tantivy index. See GETTING-API-DOCS.md and HOW-IT-WORKS.md.
Development
See docs/DEVELOPING.md for the layout, tests, index rebuilds and release process.
License
MIT. Vendored Bevy metadata and website prose are covered in docs/THIRD-PARTY-NOTICES.md.
来源:README.md,提交 f3ea7b0
工具
0版本历史
2- v0.5.2最新Oct 30, 2026
- v0.2.2Oct 29, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分