Skip to content

chore: sync tools and stdio/tests from postman-mcp-server#180

Open
mcpopenapibot[bot] wants to merge 2 commits into
mainfrom
sync-tools-from-postman-mcp-server
Open

chore: sync tools and stdio/tests from postman-mcp-server#180
mcpopenapibot[bot] wants to merge 2 commits into
mainfrom
sync-tools-from-postman-mcp-server

Conversation

@mcpopenapibot

@mcpopenapibot mcpopenapibot Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

This PR syncs the following from postman-mcp-server to postman-api-mcp:

Source files (src/):

  • All tools (generated + orchestrators like getCollection/, runner/)
  • STDIO entrypoint (index.ts)
  • Postman API client (clients/postman.ts)
  • Template renderer utility (tools/utils/templateRenderer.ts)
  • Error template renderer utility (tools/utils/errorTemplateRenderer.ts)
  • Generated views (.njk templates)
  • Error templates (views/errors/*.njk)
  • Constants and utilities
  • Environment configuration (env.ts)
  • Enabled resources configuration
  • Integration tests and factories

Compiled files (dist/src/):

  • All corresponding .js files

Import paths are automatically adjusted to match the public repo structure.

Co-authored-by: Andrea De Pirro <andrea.depirro@postman.com>
Co-authored-by: Christos Gkoros <christos.gkoros@postman.com>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Diego Garcia <diego.garcia@postman.com>
Co-authored-by: Diego García <diego.garcia@postman.com>
Co-authored-by: Ruben Baraut <116556424+rubenbaraut@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR syncs portions of the Postman MCP server implementation (tools/runner behavior, telemetry formatting, and the stdio entrypoint) including compiled dist/ outputs, aiming to align behavior and interfaces across repos while adding per-request progress reporting support.

Changes:

  • Add per-tool-call progress reporting wiring in the stdio entrypoint (and pass progress/signal into tool handlers).
  • Improve Newman runner error handling by listening for explicit error events.
  • Apply telemetry code formatting/structure updates and sync corresponding compiled dist/ files.

Reviewed changes

Copilot reviewed 6 out of 10 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/tools/runner/executor.ts Adds Newman error event handling during collection runs.
src/telemetry/session.ts Formatting-only updates for telemetry session helpers.
src/telemetry/noop.ts Adjusts parameter formatting (trailing comma) for noop telemetry client.
src/telemetry/index.ts Adjusts telemetry client interface formatting (trailing comma).
src/telemetry/client.ts Formatting-only updates for telemetry client implementation.
src/index.ts Adds progress reporter creation and passes progress/signal into tool handlers (but currently imports progress from a non-existent path).
dist/src/tools/runner/executor.js Compiled output for Newman runner error handling change.
dist/src/telemetry/session.js Compiled output for telemetry session formatting change.
dist/src/telemetry/client.js Compiled output for telemetry client formatting change.
dist/src/index.js Compiled output for stdio entrypoint progress wiring (but currently imports progress from a non-existent path).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/index.ts Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants