mcpField
Y
Yeoman

Yeoman

Local
github.com/thirdstrandstudioDeveloper Tools2Updated 65w ago

About Yeoman

Yeoman is an MCP server for AI agents to find Yeoman templates on npm, inspect generator options, and run generators to scaffold projects.

Key features

  1. 01Search Yeoman templates on npm
  2. 02Inspect generator options and arguments
  3. 03Run generators to create projects
  4. 04Use persistent generator storage

Use cases

  1. 01Find a Yeoman template for a project
  2. 02Check a generator’s required parameters
  3. 03Generate an app in a chosen directory

MCP support

It exposes MCP tools for template search, generator-option lookup, and running Yeoman generators.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"yeoman": {
"command": "npx",
"args": [
"-y",
"@thirdstrandstudio/mcp-yeoman"
]
}
}
}
Run commandnpx -y @thirdstrandstudio/mcp-yeoman

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@thirdstrandstudio/mcp-yeoman

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

MCP Yeoman Server

Third Strand Studio

smithery badge

A Model Context Protocol (MCP) server that provides integration with Yeoman generators, allowing AI agents to search for and run Yeoman templates programmatically.

Cursor_CIuNzjl6ca

Tools

This server implements the following MCP tools:

Template Search Methods
  1. yeoman_search_templates - Search for Yeoman templates on npm
    • Parameters:
      • query (string): Search keywords separated by commas
      • pageSize (number, optional): Number of results to return (default: 20)
Generator Methods
  1. yeoman_get_generator_options - Get the required options and arguments for a Yeoman generator

    • Parameters:
      • generatorName (string): Name of the generator (without 'generator-' prefix)
  2. yeoman_generate - Run a Yeoman generator

    • Parameters:
      • generatorName (string): Name of the generator (without 'generator-' prefix)
      • cwd (string): Working directory where the generator should run
      • appName (string): The name of the application to create
      • version (string): The version of the application to create
      • options (object, optional): Options to pass to the generator
      • args (array, optional): Additional positional arguments to pass to the generator

Installation

Installing via Smithery

To install mcp-yeoman for Claude Desktop automatically via Smithery:

npx @smithery/cli@latest install mcp-yeoman --client claude
Prerequisites
  • Node.js (v16 or later)
  • npm or yarn
Installing the package
# Clone the repository
git clone https://github.com/thirdstrandstudio/mcp-yeoman.git
cd mcp-yeoman

# Install dependencies
npm install

# Build the package
npm run build

Usage with Claude Desktop

Add the following to your claude_desktop_config.json:

Using npx
{
  "mcpServers": {
    "yeoman": {
      "command": "npx",
      "args": ["@thirdstrandstudio/mcp-yeoman"]
    }
  }
}
Direct Node.js
{
  "mcpServers": {
    "yeoman": {
      "command": "node",
      "args": ["/path/to/mcp-yeoman/dist/index.js"]
    }
  }
}

Replace /path/to/mcp-yeoman with the actual path to your repository.

Command-line Arguments

The server supports the following command-line arguments:

  • --generator-dir <path>: Specify a persistent directory for installing Yeoman generators. By default, generators are installed in a temporary directory that is removed when the operation completes. Using a persistent directory can improve performance for repeated operations with the same generators.

Example:

{
  "mcpServers": {
    "yeoman": {
      "command": "node",
      "args": ["/path/to/mcp-yeoman/dist/index.js", "--generator-dir", "/path/to/generator-storage"]
    }
  }
}

Examples

Search for Templates
// Search for React-related templates
const templates = await callTool("yeoman_search_templates", {
  query: "react,typescript",
  pageSize: 10
});
Get Generator Options
// Get options for the React generator
const options = await callTool("yeoman_get_generator_options", {
  generatorName: "react"
});
Run a Generator
// Run the React generator
const result = await callTool("yeoman_generate", {
  generatorName: "react",
  cwd: "/path/to/project",
  appName: "my-react-app",
  version: "1.0.0",
  options: {
    typescript: true,
    sass: true
  }
});

Development

# Install dependencies
npm install

# Start the server in development mode
npm start

# Build the server
npm run build

Error Handling

The server includes comprehensive error handling:

  • Validation errors for invalid parameters
  • Interactive prompt detection and guidance for required options
  • Detailed error logging for debugging
  • Automatic cleanup of temporary directories (unless using --generator-dir)
  • Safe error propagation through MCP protocol

License

This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request. When contributing, please:

  1. Fork the repository
  2. Create a feature branch
  3. Submit a pull request with a clear description of changes
  4. Ensure all tests pass and code style is maintained

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.