NestJS to Postman Collection Generator MCP tool

NestJS to Postman Collection Generator MCP tool

nestjs-api-postman-mcp•bychiragkr04

An MCP tool that converts NestJS controllers into importable Postman API collections and works with MCP-compatible AI assistants.

License: ISC License•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Transforms NestJS controllers into complete Postman collections with a single command.
  • •Detects request and response types to generate meaningful examples.
  • •Identifies authentication guards and adds appropriate auth configurations.
  • •Captures routes, methods, request bodies, and query parameters for endpoint documentation.

BEST FOR

  • •Generating a Postman collection for a NestJS controller via an AI assistant.
  • •Keeping a Postman collection in sync as API endpoints change.
  • •Documenting APIs without adding Swagger/OpenAPI decorators to the codebase.

ABOUT NESTJS-API-POSTMAN-MCP

NestJS to Postman Collection Generator MCP tool is cataloged as an MCP server attributed to chiragkr04. An MCP tool that converts NestJS controllers into importable Postman API collections and works with MCP-compatible AI assistants. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: ISC License. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for NestJS to Postman Collection Generator MCP tool are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does it require modifying the NestJS codebase?

No; it works without modifying your NestJS codebase, requiring no decorators or comments.

What inputs are available when used as an MCP tool?

The MCP tool accepts controllerFilePath, projectPath, and collectionName parameters.

Upstream README

View this exact version on GitHub

README.md · d15fe1b4e485 · Fetched 2026-11-13 11:29:14 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

NestJS to Postman Collection Generator (MCP)

License: ISC

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.

Features

  • 🚀 Automatic API Collection Generation: Transform NestJS controllers into complete Postman collections with a single command
  • 🔍 Intelligent Type Detection: Automatically detects request and response types to generate meaningful examples
  • 🔐 Auth Integration: Identifies authentication guards and adds appropriate auth configurations
  • 📊 Complete Endpoint Documentation: Captures routes, methods, request bodies, and query parameters
  • 🧩 Clean Integration: Works without modifying your NestJS codebase (no decorators or comments needed)
  • 🔌 MCP Integration: Works as an AI tool with any Model Context Protocol compatible assistant

Installation

  1. Clone the repository:
git clone https://github.com/ChiragKr04/nestJS-api-postman-MCP.git
cd nestJS-api-postman-MCP
  1. Install dependencies and build the project:
npm install
npm run build

Usage

As an MCP Tool

This tool is designed to work with any AI assistant that supports the Model Context Protocol. After installation, you need to configure your MCP-compatible AI assistant to use this tool.

Configuration

For Claude Desktop

Add the following configuration to your Claude Desktop settings:

{
  "mcpServers": {
    "Nest-Js-MCP-Postman-Generator": {
      "command": "node",
      "args": [
        "/path/to/your/clone/nestJS-api-postman-MCP/dist/main.js",
        "start"
      ]
    }
  }
}
For GitHub Copilot/Cursor/Windsurf/Other VS Code based AI tools

Add the following configuration to your VS Code settings.json:

{
  "mcp": {
    "servers": {
      "Nest-Js-MCP-Postman-Generator": {
        "command": "node",
        "args": [
          "/path/to/your/clone/nestJS-api-postman-MCP/dist/main.js",
          "start"
        ]
      }
    }
  }
}

Note: Replace /path/to/your/clone/ with the actual path where you cloned the repository.

Usage

Once configured:

  1. Just ask the AI to generate a Postman collection for your NestJS controller
  2. The AI will use this tool to analyze your controller and generate the collection

Example prompt:

Generate a Postman collection for my user.controller.ts file in my NestJS project.

Direct Command Line Usage

The tool also provides a command-line interface for direct usage:

# Generate using the CLI
node dist/main.js generate /path/to/nestjs/project -o collection.json -n "My API Collection"

API Reference

When used as an MCP tool, the following parameters are available:

ParameterTypeDescription
controllerFilePathstringPath to the NestJS controller file (relative to project root)
projectPathstringPath to the NestJS project (containing tsconfig.json)
collectionNamestringName for the generated Postman collection

Why Use This?

No More Manual Updates

Each time you change your API endpoints, your Postman collection automatically stays in sync.

Clean Code

Unlike Swagger/OpenAPI decorators that clutter your codebase with documentation:

// No more of this annotation clutter
@ApiOperation({ summary: 'Create a new user' })
@ApiBody({ type: CreateUserDto })
@ApiResponse({ status: 201, description: 'User created successfully' })
@ApiResponse({ status: 400, description: 'Bad Request' })
@Post()
create(@Body() createUserDto: CreateUserDto) {
  return this.userService.create(createUserDto);
}

Accurate Documentation

The tool analyzes your actual code including:

  • Route paths from controller decorators
  • HTTP methods from method decorators
  • Request body types from parameter decorators
  • Query parameters and their types
  • Authentication requirements

Example Output

The generated Postman collection will look like this:

{
  "name": "User API",
  "item": [
    {
      "name": "POST /api/users (createUser)",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/users",
          "host": ["{{baseUrl}}"],
          "path": ["api", "users"],
          "query": []
        },
        "body": {
          "mode": "raw",
          "raw": "{\n  \"email\": \"user@example.com\",\n  \"password\": \"password123\",\n  \"name\": \"John Doe\"\n}"
        },
        "description": "Generated from createUser in UserController."
      }
    }
  ]
}

Requirements

  • Node.js 16+
  • A NestJS project with TypeScript

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the ISC License - see the LICENSE file for details.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for NestJS to Postman Collection Generator MCP tool from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/nestjs-api-postman-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools