Nestjs Api To Postman Collection
@ChiragKr04
About Nestjs Api To Postman Collection
A Model Context Protocol (MCP) tool that automatically converts your NestJS controllers into importable Postman API collections. This eliminates the need to manually create Postman collections or implement complex swagger documentation directly within your code.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"Nest-Js-MCP-Postman-Generator": {
"command": "node",
"args": [
"<path_of_cloned_repo>/nestjs-mcp-generator/dist/main.js",
"start"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Nestjs Api To Postman Collection?
Nestjs Api To Postman Collection is a Model Context Protocol (MCP) server that automatically converts NestJS controllers into importable Postman API collections. It eliminates manual collection creation or Swagger clutter by analyzing controller decorators and generating complete Postman JSON.
How to use Nestjs Api To Postman Collection?
Install dependencies, build the project, then configure your MCP‑compatible AI assistant (e.g., Claude Desktop, VS Code tools) with the command and path to dist/main.js. Alternatively, run the CLI directly: node dist/main.js generate <project-path> -o output.json. Example prompt: "Generate a Postman collection for my user.controller.ts file."
Key features of Nestjs Api To Postman Collection
- Automatically generates Postman collections from NestJS controllers
- Detects request/response types and creates meaningful examples
- Identifies authentication guards and adds auth configurations
- Captures routes, methods, request bodies, and query parameters
- Works without modifying your NestJS codebase
- Integrates with any MCP‑compatible AI assistant
Use cases of Nestjs Api To Postman Collection
- Quickly generate Postman collections for existing NestJS APIs
- Keep collections in sync as endpoints change
- Avoid cluttering code with Swagger/OpenAPI decorators
- Automate API documentation for testing and team sharing
- Streamline onboarding by providing ready‑to‑use collections
FAQ from Nestjs Api To Postman Collection
How does this differ from Swagger‑based Postman generation?
It works directly from NestJS controller code without requiring Swagger decorators, keeping your codebase clean. Collections are generated just in time rather than being built from a separate document.
What are the runtime requirements?
Node.js 16 or later and a NestJS project written in TypeScript with a tsconfig.json.
Where does the generated collection data live?
The output is a local JSON file (specified by the -o flag or saved by the AI assistant) that can be imported into Postman.
Does it modify my NestJS source code?
No. The tool reads controllers and decorators without adding any annotations or comments to your project.
What transport and authentication are supported?
It uses the MCP stdio transport (node subprocess). Authentication is handled by detecting NestJS guards and adding corresponding auth headers/parameters to the collection.
More Developer Tools MCP servers
Unity MCP (Server + Plugin)
IvanMurzakAI Skills, MCP Tools, and CLI for Unity Engine. Full AI develop and test loop. Use cli for quick setup. Efficient token usage, advanced tools. Any C# method may be turned into a tool by a single line. Works with Claude Code, Gemini, Copilot, Cursor and any other absolutely for fr
OpenSumi
opensumiA framework helps you quickly build AI Native IDE products. MCP Client, supports Model Context Protocol (MCP) tools via MCP server.
Grafana MCP server
grafanaMCP server for Grafana
Deepwiki MCP Server
regenrek📖 MCP server for fetch deepwiki.com and get latest knowledge in Cursor and other Code Editors
DevDocs by CyberAGI 🚀
cyberagiincCompletely free, private, UI based Tech Documentation MCP server. Designed for coders and software developers in mind. Easily integrate into Cursor, Windsurf, Cline, Roo Code, Claude Desktop App
Comments