Nestjs MCP Server

NestJS codebase automation providing 40+ tools for scaffolding, testing, and security.

Data last scanned yesterday · Reviewed last month

1644 tools4TypeScript

Overview

NestJS MCP Server is a dedicated toolset designed to streamline the development lifecycle of NestJS applications. It offers over 40 specialized tools accessible through any MCP-compliant client, such as Claude Desktop or Cursor, enabling automated generation of controllers, services, and full CRUD resources. Beyond scaffolding, this server supports project setup with pre-configured databases and authentication. It includes features for automated test generation, deployment configuration like Docker and Kubernetes, and built-in security auditing to assist in identifying common vulnerabilities.

Our verdict

With a security score of 16/100, this server is classified as high risk and should be used with significant caution. The lack of a clear license creates legal ambiguity regarding its usage, and the project has not been editorially reviewed. Given that it is maintained by a single contributor and has not received updates for over 200 days, it is best suited for experimental environments rather than mission-critical or production workflows.

  • Provides over 40 specialized tools for NestJS development.
  • Includes automated security auditing and test generation.
  • Features only one direct dependency for a smaller surface area.
  • High-risk security score of 16/100.
  • No license detected for clear legal usage terms.
  • Stagnant development with no commits for over 200 days.
  • Maintained by a single contributor without official vendor support.

Setup

Claude Desktop
{
  "mcpServers": {
    "nestjsmcp": {
      "args": [
        "-y",
        "nestjs-mcp"
      ],
      "command": "npx"
    }
  }
}

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows), then restart Claude Desktop. Some servers require API keys or tokens as environment variables — check the project's README and add an "env" object if needed.

  • No read-only mode — running this grants full read/write access.
  • No built-in authentication — anyone with access to this config can invoke every tool it exposes.

Tools

ToolDescriptionRisk
nestjs_generate_controllerGenerate controllers with optional CRUD operationsmedium
nestjs_generate_serviceGenerate services with repository integrationmedium
nestjs_generate_moduleGenerate modules with providers and importsmedium
nestjs_generate_resourceGenerate complete CRUD resources (module, controller, service, entity, DTOs)medium
nestjs_generate_dtoGenerate DTOs with class-validator decoratorsmedium
nestjs_generate_entityGenerate TypeORM/Mongoose entitiesmedium
nestjs_generate_guardGenerate auth, roles, or custom guardsmedium
nestjs_generate_interceptorGenerate logging, transform, cache, or timeout interceptorsmedium
nestjs_generate_pipeGenerate validation or transform pipesmedium
nestjs_generate_filterGenerate exception filtersmedium

Compatibility

ClientLocalDockerRemoteRead-only
ChatGPT
Claude Desktop
Cursor
VS Code
Windsurf

Frequently asked questions

What are the system requirements to run the NestJS MCP server?

You must have Node.js version 18.x or higher and npm version 9.x or higher installed.

Does this server require specific path configurations?

Yes, when configuring the server in Claude Desktop, Cursor, or Claude Code CLI, you must provide the absolute path to your local installation's dist/index.js file.

Which AI clients are compatible with this MCP server?

The server is compatible with any MCP-compliant client, including Claude Desktop, Cursor, and the Claude Code CLI.

What database options are available when using the project scaffolding tool?

The scaffolding tool supports generating projects pre-configured with PostgreSQL, MySQL, MongoDB, or SQLite.

Can the server perform security analysis on my existing code?

Yes, the server includes a security auditing tool that checks your codebase for common vulnerabilities like SQL injection and XSS, and provides a security best practices checklist.

Alternatives

Changelog

Badge

Nestjs MCP Server security score, rated on RepoAI

Maintain this server? Add the live badge to your README.