FRD Orchestrator MCP Server

Local setup required. This server has to be cloned and prepared on your machine before you register it in Claude Code.
1

Set the server up locally

Run this once to clone and prepare the server before adding it to Claude Code.

Run in terminal
uv sync
2

Register it in Claude Code

After the local setup is done, run this command to point Claude Code at the built server.

Run in terminal
claude mcp add frd-orchestrator -- node "<FULL_PATH_TO_BOILERPLATE_NESTJS_MCP>/dist/index.js"

Replace <FULL_PATH_TO_BOILERPLATE_NESTJS_MCP>/dist/index.js with the actual folder you prepared in step 1.

README.md

Automated NestJS boilerplate generation powered by MCP and structured FRDs

FRD Orchestrator - MCP Server

๐Ÿš€ Automated NestJS boilerplate generation powered by MCP and structured FRDs

MCP (Model Context Protocol) server that exposes NestJS boilerplate FRDs so GitHub Copilot can regenerate the complete architecture from scratch in any project, following Clean Architecture, SOLID principles, and best practices.

mcp-vscode

๐Ÿค” What is MCP and why use it?

MCP (Model Context Protocol) is a standardized way for AI assistants like GitHub Copilot to access external tools and data sources. Think of it as a "bridge" that allows Copilot to:

  • ๐Ÿ“– Read live documents (your FRDs) instead of outdated copies
  • ๐Ÿ”ง Access specialized tools beyond basic file operations
  • ๐Ÿ“Š Get structured data with validation and logging
  • ๐Ÿ”„ Always stay updated - changes to FRDs are immediately available

Why FRDs via MCP instead of just reading files?

Traditional File Reading MCP + FRDs
โŒ Stale content when files change โœ… Always fresh content
โŒ No validation or error handling โœ… Built-in validation and logging
โŒ Manual file path management โœ… Structured ID-based access
โŒ No usage tracking โœ… Full audit trail of what was read

๐ŸŽฏ What does this server do?

This MCP server exposes 5 carefully crafted FRDs that define a complete NestJS boilerplate:

  • FRD-00: ๐ŸŽญ Master orchestration - How GitHub Copilot should execute the 4 phases
  • FRD-01: ๐Ÿ—๏ธ Boilerplate core - Basic NestJS + Products CRUD + Swagger
  • FRD-02: ๐Ÿ—„๏ธ Database layer - TypeORM + migrations + repository pattern
  • FRD-03: ๐Ÿ” Authentication - JWT + Passport + protected endpoints
  • FRD-04: ๐Ÿงช Unit testing - Jest + mocks + coverage for all modules

๐Ÿ”„ How does the orchestration work?

When you tell GitHub Copilot to generate a boilerplate, here's what happens:

  1. ๐Ÿ“‹ Copilot reads FRD-00 (master orchestration) to understand the plan
  2. ๐Ÿ—๏ธ Phase 1: Reads FRD-01 โ†’ Creates basic NestJS + Products CRUD
  3. ๐Ÿ—„๏ธ Phase 2: Reads FRD-02 โ†’ Adds database + TypeORM + migrations
  4. ๐Ÿ” Phase 3: Reads FRD-03 โ†’ Implements JWT auth + protected routes
  5. ๐Ÿงช Phase 4: Reads FRD-04 โ†’ Generates unit tests for everything
  6. ๐Ÿ“ Final: Generates comprehensive README with setup instructions

Each phase is automatic - no manual intervention required. GitHub Copilot follows the FRDs religiously and ensures each phase works before moving to the next.

โœจ Complete workflow example

# 1. You say this to GitHub Copilot:
"folder name: my-api. Start the orchestration."

# 2. GitHub Copilot automatically:
# - Reads FRD-00 to understand the plan
# - Creates `my-api/` directory
# - Executes Phase 1: Basic NestJS setup
# - Executes Phase 2: Database integration  
# - Executes Phase 3: JWT authentication
# - Executes Phase 4: Unit tests
# - Generates final README

# 3. Result: Complete production-ready API with:
# โœ… Products CRUD with validation
# โœ… Swagger documentation at /api
# โœ… Database persistence (SQLite by default)
# โœ… JWT authentication protecting all routes
# โœ… Unit tests with >80% coverage
# โœ… Clean Architecture + SOLID principles
# โœ… Complete setup documentation

The entire process takes 5-10 minutes and results in a production-ready NestJS API that you can deploy immediately.

Requirements

  • Python 3.10+
  • VS Code with GitHub Copilot enabled
  • uv (recommended) or pip

Installation

1. Clone/Copy this folder to your project

# Add this MCP server to your existing project
git clone <your-repo> mcp-server
cd mcp-server

2. Install dependencies

Option A: With uv (recommended)

uv sync

Option B: With pip

pip install fastmcp

3. Verify installation

python main.py

You should see logs like:

[FRD-Orchestrator] 12:34:56 | INFO | Starting MCP FRD-Orchestrator server (stdio)
[FRD-Orchestrator] 12:34:56 | INFO | FRD Directory: /path/to/mcp-server/frd

VS Code + GitHub Copilot Configuration

1. Create MCP configuration in your workspace

Create .vscode/mcp.json in your project root:

{
  "_note": "This configuration is for academic purposes. The command path depends on the execution environment and may vary based on where the UV tool is installed on different systems.",
  "servers": {
    "frd-orchestrator": {
      "type": "stdio", 
      "command": "/Users/[your-username]/.local/bin/uv",
      "args": ["run", "main.py"]
    }
  }
}

โš ๏ธ Important:

  • Adjust the path to UV according to your system
  • Use which uv to find your UV installation path
  • If using Python directly: "command": "python" and "args": ["main.py"]

2. Ensure GitHub Copilot has MCP access

GitHub Copilot in VS Code automatically detects MCP servers configured in .vscode/mcp.json when MCP s

Tools (1)

read_frdAccesses structured FRD documents to guide the AI in generating NestJS architecture phases.

Configuration

claude_desktop_config.json
{"servers": {"frd-orchestrator": {"type": "stdio", "command": "/Users/[your-username]/.local/bin/uv", "args": ["run", "main.py"]}}}

Try it

โ†’Start the orchestration for a new project named 'user-management-api'.
โ†’Read FRD-01 and generate the basic NestJS boilerplate with Products CRUD.
โ†’Execute the full 4-phase orchestration to build a production-ready NestJS API.
โ†’Generate the database layer using the specifications in FRD-02.

Frequently Asked Questions

What are the key features of FRD Orchestrator?

Automated multi-phase NestJS boilerplate generation. Structured FRD-based orchestration for consistent architecture. Built-in validation and logging for generated code. Support for Clean Architecture and SOLID principles. Automatic generation of unit tests and documentation.

What can I use FRD Orchestrator for?

Rapidly scaffolding production-ready NestJS APIs with standardized architecture. Ensuring consistent implementation of JWT authentication and database patterns across projects. Automating the creation of unit tests and Swagger documentation for new services. Reducing manual setup time for NestJS projects from hours to minutes.

How do I install FRD Orchestrator?

Install FRD Orchestrator by running: uv sync

What MCP clients work with FRD Orchestrator?

FRD Orchestrator works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep FRD Orchestrator docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare