boilerforge
Architecture governance MCP server for AI-built codebases, enabling health checks, template management, and project scaffolding with migration support.
README
boilerforge
Architecture governance wedge for AI-built codebases — doctor-first health checks and guardrails for production teams.
Boilerforge is now doctor-first. Instead of starting from a boilerplate registry, you start by checking architecture quality:
boilerforge doctor .
It scores your project, detects stack metadata, validates governance guardrails, and gives actionable recommendations.
Quickstart
npx -y @cometforge/boilerforge@latest doctor .
CI gate:
boilerforge doctor . --ci --min-score 70
Badge snippet:
boilerforge doctor . --badge
Example output:

Commands
boilerforge doctor [path]
Architecture health report with weighted score (/100).
Flags:
--jsonoutput machine-readable JSON--cifail with non-zero exit if below threshold--min-score <number>threshold for--ci(default 70)--badgeprint markdown badge snippet + score
boilerforge analyze [path]
Detect stack metadata:
- language/runtime
- framework
- package manager
- baseline project metadata
boilerforge validate [path]
Evaluate architecture guardrails and return:
- pass/fail
- score
- categorized issues (
critical,warning,info) - recommendations
boilerforge extract [path] [--name <template-name>]
Extract current project into local template registry:
- writes
.boilerforge-template.yamlin source project - creates template under
~/.boilerforge/registry/<template-name>/ - copies sane files only (excludes
.git,node_modules,dist, build artifacts, env secrets)
boilerforge create <template-name> [target-path]
Scaffold a project from local registry template and write lockfile (boilerforge.lock.json).
boilerforge upgrade [path]
Upgrade project based on lockfile + local template version:
- compares locked template version vs latest local registry
- applies migration hooks in order when present (
writeFile,appendFile,deleteFile,copyFromTemplate,patchJSON) - writes updated lockfile
Doctor Rule Engine (100 points)
- CI workflow exists — 12
- Env schema validation present — 10
- Typecheck script exists — 10
- Test script + test files exist — 12
- Lint configured — 10
- Security headers configured (web stacks) — 10
- Centralized logging present — 8
- Observability hook present (Sentry/OpenTelemetry/etc) — 8
- Dependency hygiene — 10
- Docs baseline (README + setup) — 10
Outputs include:
- score
/100 - detected stack summary
- categorized issues
- actionable recommendations
Local Registry Model
Registry root:
~/.boilerforge/registry
Template layout:
<template>/
template.yaml
files/
migrations/ (optional)
template.yaml accepts YAML (not just JSON), and is strictly validated for required fields (name, version, createdAt) with clear parse/validation errors.
Lockfile (boilerforge.lock.json) stores template name/version/source for deterministic upgrades.
Lifecycle Compatibility
Existing lifecycle workflows remain supported:
boilerforge init <project-name> [--workflow=claude]
boilerforge update [--dry-run]
boilerforge protect add <category> <name>
boilerforge protect remove <category> <name>
boilerforge status
MCP Server Tools (unchanged)
list_boilerplatesget_boilerplatesearch_boilerplatesscaffold_projectcheck_project_updates
Running the package without CLI args in non-interactive MCP context still starts the MCP server.
CI/CD
GitHub Actions workflows included:
ci.yml: install, lint, typecheck, test, build,doctor --ci --min-score 70, CLI smoke checks, and npm package integrity (npm pack) verification.publish.yml: release-driven publish pipeline (lint + typecheck + test + build + doctor gate + npm publish with provenance).
Minimal CI snippet for your own repos:
- name: Architecture gate
run: boilerforge doctor . --ci --min-score 70
doctor --ci exits non-zero when below threshold, so it can be used as a hard merge/release gate.
Development
git clone https://github.com/MRKT365-India/boilerforge.git
cd boilerforge
npm install
npm run build
npm test
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.