MCP.so
Sign In
Servers

generator-mcp

@formulahendry

Yeoman Generator to quickly create a new MCP Server

Overview

What is generator-mcp?

generator-mcp is a Yeoman generator that quickly scaffolds a new MCP (Model Context Protocol) Server project. It is intended for developers who want to create a new MCP server from scratch with minimal setup.

How to use generator-mcp?

First, install Yeoman and generator-mcp globally via npm (Node.js must be pre-installed). Then run yo mcp in your terminal to generate a new project. Open the generated project in VS Code and press F5 to start debugging; MCP Inspector will open automatically in your browser.

Key features of generator-mcp

  • Creates a new MCP Server project with Yeoman scaffolding.
  • Supports debugging in VS Code with integrated MCP Inspector.
  • One-command generation via yo mcp.
  • Works on any platform with Node.js and npm.
  • Follows the standard Yeoman generator format.

Use cases of generator-mcp

  • Bootstrapping a new MCP server project quickly.
  • Standardizing MCP server project structure across a team.
  • Learning how to build an MCP server by examining the generated code.
  • Integrating with VS Code debugging workflow for rapid development.

FAQ from generator-mcp

What prerequisites are required?

Node.js and npm must be installed. Additionally, Yeoman (yo) and generator-mcp need to be installed globally using npm install -g yo and npm install -g generator-mcp.

How do I generate a new MCP server project?

Run the command yo mcp in your terminal. The generator will create the project files in the current directory.

How do I debug the generated MCP server in VS Code?

Open the project folder in VS Code and press F5. After a short wait, MCP Inspector will automatically open in your default browser, allowing you to test and debug the server.

More from Developer Tools