API development and testing platform
## Postman MCP Server: API Development and Testing Platform The **Postman MCP Server** integrates comprehensive API development and testing capabilities into Google Antigravity, enabling seamless API exploration, testing, documentation, and collaboration through AI-assisted workflows. ### Why Postman MCP? - **API Exploration**: Discover and test APIs quickly with intelligent request building and response parsing - **Collection Management**: Organize API requests into collections for reuse, sharing, and automated testing - **Environment Variables**: Manage multiple environments with variable substitution for dev, staging, and production - **Automated Testing**: Write and run test scripts that validate API responses and performance - **Documentation Generation**: Automatically generate beautiful API documentation from your collections ### Key Features #### 1. API Requests ```python from anthropic import Anthropic client = Anthropic() response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Send a POST request to create a new user and save the response to a Postman collection" }] ) ``` #### 2. Collection Management ```python # Manage API collections response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Create a Postman collection for the payment API with requests for charges, refunds, and webhooks" }] ) ``` #### 3. Environment Configuration ```python # Set up environments response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Create Postman environments for development, staging, and production with appropriate base URLs" }] ) ``` #### 4. Test Automation ```python # Write API tests response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Add test scripts to verify authentication endpoints return correct status codes and tokens" }] ) ``` ### Configuration ```json { "mcpServers": { "postman": { "command": "npx", "args": ["-y", "@anthropic/mcp-server-postman"], "env": { "POSTMAN_API_KEY": "your-postman-api-key", "POSTMAN_WORKSPACE_ID": "your-workspace-id" } } } } ``` ### Use Cases **API Development**: Build and test APIs iteratively with immediate feedback on request/response cycles. **Integration Testing**: Automate API integration tests as part of CI/CD pipelines for quality assurance. **Team Collaboration**: Share collections and environments across teams for consistent API usage. **API Documentation**: Generate and maintain up-to-date API documentation directly from tested requests. The Postman MCP Server transforms API development from a manual, tool-switching process into a streamlined AI-assisted workflow that accelerates development and improves quality.
{
"mcpServers": {
"postman": {
"mcpServers": {
"postman": {
"env": {
"POSTMAN_API_KEY": "your-postman-api-key"
},
"args": [
"-y",
"postman-mcp-server"
],
"command": "npx"
}
}
}
}
}