postman-escape-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Postman Escape MCP server for deterministic, offline migration from Postman Collections (v2.0/v2.1), Environments, and HTTP .har captures to Git-native Bruno (.bru) workspaces and CI-runnable Hurl (.hurl) suites. Call scan_api_collection_secrets before committing API files to detect leaked Bearer tokens, JWTs, Basic passwords, Cookies, and API keys. Call audit_pm_script_compatibility to inspect pm.* pre-request/test scripts for non-transpilable pm.sendRequest or CryptoJS calls before running convert_postman_to_bruno or convert_postman_to_hurl.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| prompts | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| convert_postman_to_brunoA | Convert a Postman Collection (v2.0 or v2.1 JSON) and optional Postman Environment JSON into Git-friendly Bruno (.bru) request/collection/environment files, a scrubbed .env.example, .gitignore, and MIGRATION_REPORT.md. Automatically repairs Bruno #8680 enabled:null importer crashes, normalizes dotted/hyphenated variable names (e.g. api.base.url -> api_base_url), transpiles pm.* scripts, and moves live credentials into vars:secret. |
| convert_postman_to_hurlA | Compile a Postman Collection (v2.0/v2.1 JSON) or browser HTTP Archive (.har JSON) into CI-runnable Hurl (.hurl) test files, combined hurl/suite.hurl, and scrubbed hurl/hurl.vars.example with deterministic [Captures], [Asserts], status checks, and secret-vault redaction. |
| scan_api_collection_secretsA | Audit Postman Collection/Environment JSON, HTTP .har captures, or Bruno .bru text for live Bearer tokens, JWTs, Basic auth credentials, session Cookies, AWS/Stripe/OpenAI/GitHub keys, and x-api-key headers before git commit. Returns exact 1-based line numbers, redacted previews, and suggested vars:secret identifiers without exposing raw secrets. |
| audit_pm_script_compatibilityA | Analyze Postman pm.* pre-request and test scripts (either a full Postman Collection JSON or a raw JavaScript snippet) to verify Bruno/Hurl transpilation coverage and flag non-transpilable constructs such as pm.sendRequest(...) or CryptoJS with exact line numbers and Bruno/Hurl migration code guidance. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| migrate-postman-workspace | Step-by-step workflow to audit a Postman Collection + Environment for leaked secrets and pm.* compatibility, then generate Bruno (.bru) and Hurl (.hurl) suites. |
| pre-commit-api-secret-gate | Audit staged Postman, HAR, or Bruno (.bru) files for live credentials before committing to Git. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Postman to Bruno & Hurl Deterministic Migration Reference | Reference table covering Bruno #8680 enabled:null repair, dotted variable normalization, vars:secret redaction, and pm.* script transpilation rules. |
| GitHub Action PR Secret & Script Gate Setup | Copy-paste .github/workflows YAML for blocking leaked Postman/HAR/Bruno credentials in pull requests via z121245017-ai/postman-escape-mcp@v1. |
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: secret scanning, pm.* script compatibility auditing, and two separate converters targeting different output formats (Bruno vs Hurl). The two convert_* tools share a source but are unambiguous because the destination format is explicit in the name and description. An agent can reliably select the right tool from the request intent.
All names are snake_case with a leading verb (scan_, audit_, convert_), which gives a predictable pattern. The two convert_postman_to_* tools are perfectly parallel, though the noun phrases vary in length/shape across the audit tools, which is a minor stylistic deviation only.
Four tools is a tight, well-scoped surface for a Postman-to-Bruno/Hurl migration workflow, with each tool earning its place. It is slightly lean—one could imagine a dedicated environment-only or validation tool—but nothing feels redundant or missing for the core scope.
The surface covers the main migration lifecycle: secret detection, script transpilability auditing, and conversion to both Bruno and Hurl with scrubbed artifacts. Minor gaps exist around validating/round-tripping converted output (e.g., no re-parse or reverse conversion, and Hurl handles .har while Bruno conversion does not), but agents can work around these.