Server data from the Official MCP Registry
Scaffold an Express 5 + TypeScript backend: database, auth, optional Next.js front end.
Scaffold an Express 5 + TypeScript backend: database, auth, optional Next.js front end.
Chassis is a well-architected backend framework with solid security practices. The codebase demonstrates careful attention to testing, input validation, and modular design. Minor code quality observations exist around broad error handling and logging patterns, but no security vulnerabilities were identified. The MCP server integration is opt-in and properly scoped. Supply chain analysis found 4 known vulnerabilities in dependencies (1 critical, 1 high severity). Package verification found 1 issue (1 critical, 0 high severity).
4 files analyzed ยท 8 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Unverified package source
We couldn't verify that the installable package matches the reviewed source code. Proceed with caution.
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-dvd90-chassis-mcp": {
"args": [
"-y",
"chassis"
],
"command": "npx"
}
}
}From the project's GitHub README.
A lightweight, decorator-driven Express + TypeScript backend starter. Clone, run, ship.
๐ Documentation ยท Getting started ยท create-chassis on npm
Chassis gives you NestJS-style controller ergonomics on plain Express 5 โ in a handful of small files you can actually read. Zero configuration required: the server boots standalone, and every integration switches on only when you add its environment variable. Scaffold with a preset or pick ร la carte โ a database (Mongo, Postgres, or SQLite, ORM included), an auth provider (Auth0, JWT, or Clerk), an optional Next.js front end, Sentry, an MCP server, and x402 payments โ and the CLI ships only what you chose.
export class UserController extends Routable {
constructor() {
super('/users');
}
@route('get', '/:id')
async show(req: Request) {
const user = await findUser(req.params.id);
if (!user) throw new AppError(ERROR_CODES.NOT_FOUND, 'User not found');
return req.resHandler.ok(user);
}
@protectedRoute('post', '/', [validate({ body: createUserSchema })])
async create(req: Request) {
return req.resHandler.created(await createUser(req.body));
}
}
Export the class from src/controllers/index.ts โ that's the whole wiring.
npm create chassis my-api -- --yes # zero prompts: Postgres + JWT + Sentry + Docker
npm create chassis my-app -- --preset fullstack --yes # the same, plus a Next.js front end
npm create chassis my-api # interactive โ pick a preset
npm create chassis my-api -- --db postgres --auth jwt --mcp # ร la carte
npm create chassis my-api -- --bare # nothing โ standalone build
Or use the template directly:
git clone https://github.com/dvd90/chassis.git my-api
cd my-api && npm install && npm run dev
That's it โ no database, no env file, no accounts needed. Open http://localhost:8000/status.
New here? Follow the step-by-step getting-started guide โ zero to a tested API in ~10 minutes.
Every path is non-interactive: --yes and --bare never prompt, and the CLI
skips prompts automatically whenever stdin isn't a TTY. One command produces a
project that already typechecks, lints and tests green.
Generated projects carry AGENTS.md, CLAUDE.md, llms.txt and an
add-resource skill, so whichever agent opens one writes code that matches the
rest of the codebase rather than fighting it.
@route / @protectedRoute on controller methods, controllers auto-mountreq.resHandler.ok() / .notFound() / .validation() with structured loggingcallId (or propagates x-call-id), echoed in responses and logssrc/config; the app refuses to boot on bad configvalidate({ body, query, params }) middleware with structured 400spackage.json carries only what you chose@paidRoute('get', '/report', '$0.01') via the x402 protocol (opt-in)--web adds an App Router app and makes the project an npm-workspaces monorepo (apps/api + apps/web); the auth provider you picked is wired on both sidesnpm run mcp, opt-in)/healthz (liveness) and /readyz (readiness, checks enabled integrations)npm run gen user scaffolds a controller + test wired to your ORM (Drizzle or Mongoose)AGENTS.md, CLAUDE.md, llms.txt, and an add-resource skill so agents write code that matches the conventions (see below)Most people scaffolding a backend today have an AI agent in the loop. Chassis is built so that agent-written code reads like hand-written code โ because the framework gives agents rails and a verifiable finish line:
AGENTS.md + CLAUDE.md ship in every project โ Claude Code, Cursor, Copilot, and Codex pick them up automatically and follow the conventions (thin controllers, resHandler responses, throw AppError, config in one place).npm run verify (strict TypeScript + ESLint + tests) is a deterministic quality gate agents iterate against until green..claude/skills/add-resource turns "add a books resource" into one consistent, checklisted operation.llms.txt gives doc-fetching tools a compact map of the conventions.Nothing to install โ it's all in the scaffold. See AGENTS.md.
| Command | What it does |
|---|---|
npm run dev | Start with hot reload (tsx watch) |
npm test / npm run test:watch | Run the vitest suite |
npm run verify | Typecheck + lint + test (CI runs this) |
npm run build / npm start | Compile to dist/ and run production build |
npm run gen <Name> | Generate a controller + test |
npm run lint / npm run format | ESLint / Prettier |
Copy .env.example to .env. Each integration turns on when its variables are set โ and stays completely dormant otherwise:
| Integration | Enable by setting | What you get |
|---|---|---|
| MongoDB | MONGODB_URI | Mongoose connection, readiness check, graceful disconnect |
| Auth0 | AUTH0_DOMAIN + AUTH0_AUDIENCE | JWT verification on every @protectedRoute |
| Sentry | SENTRY_DSN | Automatic error reporting from the central error handler |
Using a different IdP? Call setAuthProvider([...yourMiddleware]) at boot and @protectedRoute uses it โ see src/core/auth.ts.
src/
โโโ config/ # zod-validated env โ typed config + feature flags
โโโ core/ # the framework: Routable, decorators, responses, errors, validation
โโโ middleware/ # callId correlation, dev request logging
โโโ integrations/ # opt-in modules: mongo, auth0, sentry
โโโ controllers/ # your endpoints โ exported classes auto-mount
โโโ __tests__/ # vitest + supertest
โโโ app.ts # pure app factory (no I/O โ trivially testable)
โโโ server.ts # boot: integrations โ listen โ graceful shutdown
Read them at dvd90.github.io/chassis โ
searchable, one page. The source lives in docs/ and the site
is generated from it, so the two can never disagree:
docker compose up --build # API + MongoDB
docker build -t my-api . # production image only
Be the first to review this server!
by Modelcontextprotocol ยท Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno ยท Developer Tools
Toleno Network MCP Server โ Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace ยท Developer Tools
Create, build, and publish Python MCP servers to PyPI โ conversationally.