Chassis

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

Scaffold an Express 5 + TypeScript backend: database, auth, optional Next.js front end.

已验证STDIO仅桌面效率与工作流开发者工具

概览

AI 生成的概览

Chassis 用于搭建 Express 5 + TypeScript 后端,让助手生成一个已通过类型检查、lint 和测试的项目,并可选择数据库、认证方式和可选的 Next.js 前端。

可以做什么
列出可用的预设、数据库、认证方式和附加项,并在运行前按底层 CLI 支持的选项进行校验。在新建或空目录中搭建后端项目,并报告目录结构、API 根路径和后续命令。读取生成项目的编码约定,包括控制器、响应、错误、校验和完成标准。可选生成包含 API 与 Next.js 前端的全栈 monorepo,两端接入认证,并移除未选择的模块。
适用场景
当你希望助手根据“带 Postgres 和认证的 API”这类技术栈描述,直接得到一个已通过类型检查、lint 和测试的项目,而无需了解 CLI 参数时使用。它适合新建项目,不用于处理已有代码库。
运行要求
作为本地 stdio 进程运行,通常通过 npx 启动,因此需要 Node.js 和 npm。创建项目时会从 GitHub 下载模板,因此需要网络访问。未声明任何账号、API 密钥或环境变量。
安装前请注意
创建项目会向磁盘写入文件并从 GitHub 下载模板。目标目录非空时会被拒绝,因此不会覆盖已有内容。依赖安装默认关闭,需自行运行或显式请求。此服务器用于创建项目,并非暴露生成项目自身 API 的那个 MCP 服务器。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

chassis-mcp

An MCP server that scaffolds Chassis backends — a decorator-driven Express 5 + TypeScript starter with an optional database, auth provider and Next.js front end.

It lets an agent go from "build me an API with Postgres and auth" to a project that already typechecks, lints and tests green, without knowing the CLI's flags.

Install

Point your MCP client at the package. No global install needed:

json
{  "mcpServers": {    "chassis": {      "command": "npx",      "args": ["-y", "chassis-mcp"]    }  }}
Where that file lives
  • Claude Desktop — claude_desktop_config.json
  • Claude Code — claude mcp add chassis -- npx -y chassis-mcp
  • Cursor — .cursor/mcp.json
  • VS Code — .vscode/mcp.json

Tools

ToolWhat it does
list_chassis_optionsThe presets, databases, auth providers and add-ons on offer. Call it first when the stack isn't decided.
create_chassis_projectScaffolds into a new or empty directory and reports the layout, the API root and the next commands.
chassis_conventionsHow to write code in the result — controllers, responses, errors, validation, definition of done.

The option list is imported from create-chassis, not restated here, so this server can't advertise a stack the CLI doesn't support. An unsupported value is rejected with the list of valid ones before the CLI runs.

Example

Build me an API with Postgres, JWT auth and a Next.js front end, in ./shop

list_chassis_options       → sees `fullstack`, and that web=true implies a monorepocreate_chassis_project     → { directory: "./shop", preset: "fullstack" }                           ← { monorepo: true, apiRoot: "apps/api", nextSteps: [...] }chassis_conventions        → reads ./shop/AGENTS.md before writing any code

What lands is a workspaces monorepo with apps/api and apps/web, auth wired on both sides, and only the modules that were chosen — declined ones are removed from the source and from package.json.

Notes

  • Nothing is overwritten. A non-empty target directory is refused.
  • install defaults to false because it's slow; run npm install yourself, or pass install: true.
  • Creating a project downloads the template from GitHub, so it needs network access.
  • This is not the MCP server inside a generated project (npm run mcp), which exposes that project's API as tools. This one creates projects.

MIT · source · docs

来源:mcp-server/README.md,提交 fae8662

工具

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

版本历史

1
  1. v0.1.2最新Sep 16, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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