code2postman-mcp
0
Code2Postman MCP is an MCP server that generates Postman collections from a codebase by analyzing code files and identifying API endpoints. It supports authentication configuration and variable management to enhance the generated collections' flexibility and usability.
Overview
Code2Postman MCP is an open-source tool that leverages the Model Context Protocol to help developers quickly generate Postman collections from their codebase. This tool analyzes your code files, identifies API endpoints, and creates structured Postman collections that you can use for testing, documentation, and sharing.
Features
- Code Analysis: Automatically scan your codebase to identify API endpoints and their parameters
- Collection Generation: Create complete Postman collections with proper structure
- Folder Organization: Organize endpoints logically in folders based on code structure
- Variables Support: Add and manage collection variables for greater flexibility
- Authentication Configuration: Set up authentication methods automatically based on code patterns
- Event Scripts: Generate pre-request and test scripts when applicable
Usage with Claude Desktop
- Add Code2Postman MCP to your
claude_desktop_config.json
file. - Launch Claude Desktop and start using the MCP tools to analyze your code and generate Postman collections.
Command Line Usage
You can also use Code2Postman MCP directly from the command line.