Nestjs MCP Server
NestJS codebase automation providing 40+ tools for scaffolding, testing, and security.
Data last scanned yesterday · Reviewed last month
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
{
"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
| Tool | Description | Risk |
|---|---|---|
| nestjs_generate_controller | Generate controllers with optional CRUD operations | medium |
| nestjs_generate_service | Generate services with repository integration | medium |
| nestjs_generate_module | Generate modules with providers and imports | medium |
| nestjs_generate_resource | Generate complete CRUD resources (module, controller, service, entity, DTOs) | medium |
| nestjs_generate_dto | Generate DTOs with class-validator decorators | medium |
| nestjs_generate_entity | Generate TypeORM/Mongoose entities | medium |
| nestjs_generate_guard | Generate auth, roles, or custom guards | medium |
| nestjs_generate_interceptor | Generate logging, transform, cache, or timeout interceptors | medium |
| nestjs_generate_pipe | Generate validation or transform pipes | medium |
| nestjs_generate_filter | Generate exception filters | medium |
Compatibility
| Client | Local | Docker | Remote | Read-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
- Security
Badge
Maintain this server? Add the live badge to your README.