- Preserve schema-allowed argument types across composed schemas and string/numeric literal alternatives. Thanks @HengYangDS (#508).
- Reconnect a daemon transport on the next call after an HTTP rejection without replaying the failed request, and include its HTTP status. Thanks @zm2231 (#510).
- Keep the protected-resource identifier verbatim during silent OAuth refresh so origin-only resources match their authorization grant. Thanks @zm2231 (#511).
- Name missing or non-executable generated artifacts without internal spawn stacks, and list config doctor and daemon migrate in top-level help. Thanks @KrasimirKralev (#517, #509).
- Document numeric precision limits and the exact string-ID workaround for JSON output (#515).
Highlights: Keep the daemon available after a refused stop, improve OAuth credential handling and CLI argument fidelity, and patch six development dependency security advisories.
-
Keep the daemon serving after an upfront stop refusal and track owned descendants beneath verified foreign-owned helpers. Thanks @zm2231 (#498).
-
Use portable per-column process inventory arguments on BSD systems so daemon transport ownership can be verified. Thanks @e4779 (#499).
-
Wait for all OAuth cache operations to finish before reporting a failure, preventing delayed writes from racing cleanup or subsequent requests.
-
Keep server proxies non-thenable so awaiting them or returning them from async functions cannot dispatch an unintended then tool call. Thanks @JYunth (#503).
-
Use cached OAuth credentials when a resolved static Authorization header is empty, preserving valid static credentials and required environment validation. Thanks @koinzhang (#506, #505).
-
Preserve parsed call arguments when referenced or unconstrained schema branches may accept their type, while respecting explicit type exclusions. Thanks @HengYangDS (#501).
-
Preserve leading and trailing whitespace in string call arguments, including when coercion is disabled. Thanks @JYunth (#504).
-
Preserve quoted empty arguments in ad-hoc stdio commands and reject an empty executable in stdio and generated CLI commands. Thanks @SebTardif (#497).
-
Apply the documented server-name correction and suggestion rules to auth, keeping unknown names actionable and diagnostics off JSON stdout. Thanks @KrasimirKralev (#500).
-
Report remaining CLI argument errors once without internal stack traces, preserving messages, exit codes, and runtime diagnostics. Thanks @KrasimirKralev (#495).
-
Patch six Hono and Node adapter security advisories in development fixtures; refresh runtime helpers, bundling, and lint tooling while preserving Node 24 support, the 48-hour dependency cooldown, and existing security overrides.
Verification: npm, registry tarball, release CI, release rehearsal, and native assets. npm integrity: sha512-ukSt7Vjdw3h+7262yRzJ6o9kUcEszvmnKDnxxMgFujD7vcvIOrRo5UjXn8/TAGRP8NbrA4dzsawJG++xQxuW+g==.
Highlights: At the 256-transport limit, reclaim the least recently used quiet daemon transport before its idle deadline while preserving active calls and Chrome owners; improve CLI argument handling and patch minimatch, qs, and Glob security vulnerabilities.
-
Reclaim the least recently used quiet daemon transport only at the 256-transport limit, even before its idle deadline; preserve active calls, Chrome owners, unknown outcomes, and failed retirements. Thanks @vitalijssilins (#469, #468).
-
Patch the development cleanup dependency's Glob cancellation-bypass vulnerability (GHSA-3g3m-2fjr-6pw4) with 14.0.2, preserving Node 24 support and the 48-hour dependency cooldown.
-
Patch the development cleanup dependency's minimatch pattern-amplification vulnerability (GHSA-g3hv-75wg-m249) with 11.0.1, preserving the 48-hour dependency cooldown.
-
Refresh runtime helpers, Rolldown, Vitest/coverage, lint/format tooling, and type definitions while preserving Node 24 support, the 48-hour dependency cooldown, the patched MCP client, and security overrides.
-
Print daemon help before constructing clients or starting, stopping, or migrating daemons, while preserving help-shaped logging values. Thanks @HengYangDS (#483, #484).
-
Return exit code 1 from generated CLIs for MCP tool results with
isError: true, preserving every output format. Thanks @goutamadwant (#480, #481). -
Preserve boolean, null, and JSON-looking CLI values as strings when required by the tool schema, and discard stale coercion hints when explicit JSON or call expressions overwrite them. Thanks @jaeminbird (#477).
-
Accept UTF-8 BOM-prefixed JSON/JSONC configuration and editor imports. Thanks @jaeminbird (#478).
-
Write a bare
generate-cli --bundlebeside its template, with safe handling of ambiguous output paths. Thanks @KrasimirKralev (#479). -
Report emit-ts, daemon, and timeout argument errors once without internal stack traces. Thanks @KrasimirKralev (#482).
-
Preserve empty quoted arguments in stdio command strings and reject empty executable names. Thanks @remote-controlled-man (#486).
-
Reserve the generated CLI's
--rawJSON option when assigning schema flags, keeping conflicting tool properties independently callable. Thanks @remote-controlled-man (#487). -
Reject extra list targets and unknown options before contacting a server, while preserving exact configured names beginning with hyphens. Thanks @remote-controlled-man (#492).
-
Run CodeQL weekly and on pull requests or manual dispatch, retaining Actions and JavaScript analysis without duplicate scans on every main push.
-
Reuse the existing pinned Bun runtime for macOS CI formatting while retaining native typechecks and Node-only local commands.
-
Patch the development fixture's qs stringify denial-of-service vulnerability (GHSA-6pq8-jhm2-2vcw) with qs 6.16.1, preserving the 48-hour dependency cooldown.
-
Classify orderly daemon socket EOF as a transport disconnect so
daemon stoptolerates shutdown before a reply, while preserving authentication/protocol errors and never replaying tool calls. -
Update es-toolkit to 1.53.0 while preserving Node 24 support and the 48-hour dependency cooldown.
-
Add a runnable, isolated deed.page MCP example for publishing static HTML, with private owner-token storage and tested failure handling. Thanks @f-o-x11 (#472).
-
Let
--toolandtool=override the tool of a configuredserver.toolselector instead of silently calling the selector's tool, matching the ad-hoc HTTP path and the tool-calling docs. Thanks @KrasimirKralev (#474).
Verification: npm, registry tarball, release CI, release rehearsal, and native assets. npm integrity: sha512-H0rzo7Zcbg7b/mkoqKAbeZkneUIE+ugeR7KrPUzThmi3jvTBOIMajVz0viv98ugiT5AJr3Z4zkkV0FJew66VlA==.
Highlights: Patch native-build and dependency security vulnerabilities with Bun 1.4.4 and body-parser fixes, and restore silent OAuth refresh for header-only deployments.
- Require Bun 1.4.4 or newer for native MCPorter and generated CLI builds, rejecting affected compiler and release provenance versions; qualify Windows and both macOS architectures before release. Thanks @joshavant (#464).
- Refresh MCP client/server to 2.4.0 and development tooling, retaining OAuth request correlation, redirect protections, Node 24 support, and the 48-hour dependency cooldown; patch the body-parser fixture vulnerability.
- Patch URI parsing and IPv6 denial-of-service advisories in development fixtures while preserving the 48-hour dependency cooldown.
- Reuse saved protected-resource metadata during silent OAuth refresh, preserving header-only deployments and rejecting divergent saved issuers before sending credentials. Thanks @goutamadwant and @nannan00 (#463, #462).
- Preserve equals signs inside colon-style CLI argument values, including URLs, commands, and JSON, while retaining the
:=alias. Thanks @Oscar-Williams (#465). - Refresh jose and lint/format tooling while preserving Node 24 support and the 48-hour dependency cooldown; isolate daemon elicitation coverage from Windows process-query failures while retaining real process-retirement integration tests.
- Add a runnable, isolated Keenable MCP example for keyless web search and page fetching. Thanks @ilya-bogin-keenable.
Verification: npm, registry tarball, release CI, release rehearsal, and native assets. npm integrity: sha512-rVyBLZN/aIV8unDrn6VA5RWzskyM8HDVmsFJ4CfoeX7DFWSVchm1gfw66xkFgTiQHMnp7VVdGwug8PNhOrDQgg==.
Highlights: Encrypt OAuth secrets at rest, restore server instructions in listings, and patch a development dependency vulnerability.
- Add opt-in OAuth secret encryption with
MCPORTER_VAULT_PASSWORD, a required policy, persistent encryption markers, migration on write, and vault/token-cache diagnostics. Older binaries must use a separate state directory after opt-in; see the downgrade instructions. Thanks @alexminza (#425, #408). - Show server instructions in
mcporter list <server>text and JSON output again without--no-oauth; the uncached discovery connection closed before the instructions were read. Thanks @KrasimirKralev (#456, #455). - Update Vitest and V8 coverage to 5.0.5 and Hono to 4.13.13, fixing the fixture dependency's static-path middleware bypass advisory while preserving Node 24 support and the 48-hour dependency cooldown.
- Update Rolldown to 1.2.14 for generated CLI bundling, preserving Node 24 support and the 48-hour dependency cooldown.
- Move macOS CI and release verification to Xcode 27, execute Intel binaries under asserted Rosetta, and enforce the existing macOS 13.0 binary target in packaging, verification, and native CI smoke tests.
Verification: npm, registry tarball, release CI, native assets, and browser Gatekeeper proof. npm integrity: sha512-CrCc2zcDZ7B8WC1wTQNR1VuHjALnVoHb51Tt1p40c019jAkflZf/PJjqo44l0S15iBAJKa6hOq/zVlgI0Pxh8Q==.
Highlights: Keep healthy MCP servers available when another server fails, accept inline ad-hoc flags, add runnable MCP examples, and rehearse releases without publishing.
- Keep
mcporter servelisting tools from healthy servers when another served server fails to list (for example, one that still needs OAuth); the failure is logged to stderr, andtools/liststill errors when every served server fails. Thanks @vitalijssilins (#447). - Accept
--flag=valuefor ad-hoc server options, preserve embedded equals signs, keep ad-hoc calls on the runtime path, and document the supported--stdio-argflag. Thanks @notlakshitha (#443, #444). - Add an isolated, runnable FXMacroData MCP example for keyless USD indicators and release calendars. Thanks @roberttidball (#445).
- Add an opt-in Sem stdio MCP example for local repository navigation with an explicit checkout path. Thanks @rs545837 (#440).
- Default manual Release runs to a no-publish rehearsal of current main: validate, build, pack and smoke-test npm and both macOS architectures, including credential-free signing contract checks.
- Explicitly ad-hoc sign native rehearsal binaries before verification so Bun's Intel baseline output cannot retain an invalid upstream signature.
- Refresh Zod, Express fixtures, Vitest, Node/Bun types, and lint/format tooling while preserving Node 24 support, the 48-hour dependency cooldown, the OAuth client patch, and security overrides.
Verification: npm, registry tarball, release CI, native assets, and browser Gatekeeper proof. npm integrity: sha512-ts6g/7uhOFzUlKrLyt9yoCAgWyR3ns4kdDA8NkSHzlapc5EzjCNseJkWHplmptQf5zmiSeFr/kSM02LOY7E65w==.
Highlights: CLI calls and generated clients preserve arguments and configuration, HTTP streams and daemon recovery are more reliable, and dependency and generated-code security fixes are included.
- Preserve embedded environment placeholders, literal CLI arguments and string-typed call examples; normalize explicit home-relative config paths, print valid IPv6 bridge URLs, validate generated CLI options and import flag values, and honor documented config-list glob/source filters with bounded matching. Thanks @rudycelekli (#429–#436).
- Update MCP client/server to 2.3.1, legacy SDK fixtures to 1.32.1, Acorn, Rolldown, Vite, and lint/format tooling; fix the development source-map-js denial-of-service advisory while retaining the patched OAuth and redirect behavior, Node 24 support, and the 48-hour dependency cooldown.
- Keep schema format hints inside generated TypeScript comments, escaping comment closers and line separators in clients and declarations. Thanks @SebTardif (#426).
- Renew expired daemon views once only after a broker-confirmed rejection before dispatch, retaining configuration authority and preventing replay after replacement or shutdown. Thanks @mbac (#410).
- Preserve typed request IDs during replay, named arguments after failed proxy discovery, and JSON null result entries. Thanks @rudycelekli (#411, #413, #420).
- Decode compressed HTTP response streams and preserve session-termination DELETE across 301/302 redirects, including empty-body and streaming cancellation coverage. Thanks @rudycelekli (#416, #419).
- Preserve JSONC config selection, config-relative working directories, and explicit lifecycle/logging policies in generated CLI artifacts; validate boolean flags and honor required schema defaults. Thanks @rudycelekli (#414, #415, #417, #418).
- Emit valid TypeScript names for digit-leading servers and tools named
call,listTools, ornew; skip onlyclose/thenclient methods with a warning while keeping unrelated methods and types-only output available. Thanks @rudycelekli (#422). - Preserve empty positional arguments after
--and keepInfinity/-Infinityas strings instead of sending JSON null. Thanks @rudycelekli (#412, #421). - Inspect generated Node/Bun script metadata on Windows through the declared interpreter, keeping native binaries directly executable.
- Print unknown-server errors from
config getandconfig logoutwith one[mcporter]prefix. Thanks @KrasimirKralev (#409). - Add a runnable, isolated Parallel Search MCP example for anonymous web search and page extraction. Thanks @georgeatparallel (#427).
- Refresh MCP client/server to 2.3.0, legacy SDK fixtures to 1.32.0, Rolldown, Vite, Vitest and Node types; retain OAuth token correlation, method-preserving same-origin redirects, Node 24 support and the 48-hour dependency cooldown.
- Update Vite to 8.3.4 while retaining Node 24 support and the 48-hour dependency cooldown.
Verification: npm, registry tarball, native assets, and browser Gatekeeper proof. npm integrity: sha512-4VLoJDj1CXi7qfo+dtvEr/83lEVjhuToz9JC3zLpGPfpta2Al8/jbLVRFLJETutIq5Ord6VnU14cYv1Zx5b0+A==.
Highlights: npm installs retain OAuth refresh protection, Windows daemon startup tolerates transient process-query failures, and long help flags remain readable.
-
Bundle the patched MCP client in npm releases so installed packages preserve request-correlated OAuth refresh locking; verify the installed tarball in CI and release gates.
-
Update the MCP client/server to 2.2.0, legacy SDK fixtures to 1.31.0, Hono to 4.13.10, pnpm to 10.34.6, and lint/format tooling; retain the OAuth correlation patch, Node 24 support, and the 48-hour dependency release-age policy.
-
Retry transient Windows process-query failures once before blocking daemon startup or retirement, while retaining strict ownership checks and refusing malformed observations.
-
Refresh MCP clients and fixtures, bundling and test tooling, and Hono; preserve OAuth refresh-token correlation when OAuth overrides a configured Authorization header, Node 24 support, and the 48-hour dependency release-age policy.
-
Size the top-level help's global-flag column to its longest flag, so
--log-level <debug|info|warn|error>no longer runs into its description. Thanks @KrasimirKralev.
Verification: npm, registry tarball, native assets, and browser Gatekeeper proof. npm integrity: sha512-3ajjKzPLe/39hN582XqMuOw3S9vHQfLpSBq72zVakT03xso3GDXHcht/eVLu/l2MDqulIOtLevnTKreUxymHJQ==.
Highlights: Windows background commands stay quiet, and daemon activity logs honor the chosen server aliases.
- Honor
daemon start --log-serversfor each caller-visible server alias, suppressing unselected activity in both stdout and log files even when aliases share a connection. - Prevent Windows console flashes during stdio server cleanup and CLI generation by hiding background PowerShell, Bun, and npm subprocesses. Thanks @VladislavEkimtcov and @KalebCole (#398).
- Refresh eligible dependencies and development tools, including URI normalization and bounded brace parsing security fixes in development fixtures, while preserving Node 24 and the 48-hour dependency release-age policy (#400).
Verification: npm, registry tarball, native assets, and browser Gatekeeper proof. npm integrity: sha512-/6pvMjFPlCtFU3NhzWEV8vj2EwvbY2nisc8XYDwtPiyApj8v6A+B0Va5ul018oqSEkw7BiKCLoazBc4l+8QsdQ==.
Highlights: OAuth consent scopes are configurable, generated TypeScript clients preserve complete tool arguments, and cancellation, local state, and generated-code handling are safer.
- Keep server-controlled descriptions and metadata inside generated comments, preventing comment terminators or line breaks from becoming executable client code.
- Refresh runtime validation, generated-CLI bundling, and development tooling while preserving Node 24 support and the 48-hour dependency release-age policy.
- Cancel uncached discovery connections on list timeout or runtime close, retire late setup results before completing cleanup, and reject superseded callers without stale connection metadata. Thanks @SebTardif (#383).
- Emit strict-compatible object-argument clients that forward every tool argument and return
CallResult, including tools with reserved property names or named output schemas; preserve proxy defaults and validation. Thanks @nathanvale (#378, #379). - Avoid repeated warnings for already-ignored
uint32anduint64output-schema annotations while preserving schema metadata, dialect handling, and validation. Thanks @0xCUB3 (#377). - Reject non-object
--persistdestinations and invalidmcpServerscontainers with clear errors, preserving the existing file instead of silently losing the new server or replacing invalid data. Thanks @SebTardif (#387). - Preserve the saved tool timeout when regenerating a CLI with
--from, unless--timeoutexplicitly overrides it. Thanks @SebTardif (#384). - Bound
--tail-logreads to the last MiB of regular files, reject special files without blocking even if the path changes during opening, and avoid padding short reads. Thanks @SebTardif (#388). - Materialize Chrome compatibility preloads in private, unique directories with exclusive file creation, preventing shared-temp symlink overwrites and cleaning up with the transport. Thanks @SebTardif (#386).
- Retry transient Windows file-lock release failures without replaying the protected operation or deleting a successor's lock, while keeping permanent failures visible.
- Discover Claude Desktop's actual config filename and Cursor's default Linux user config, and honor redirected Windows
APPDATAlocations for both clients. Thanks @SebTardif (#382). - Verify private Windows daemon and Chrome handoff directories without requiring administrator elevation, while preserving owner and access restrictions. Thanks @yegetables for the report (#380).
- Resolve the daemon process inventory through
PATH, allowing retirement and migration on NixOS and other systems without/bin/ps. Thanks @tsln1998 (#381). - Honor cancellation during HTTP/1.1 request preparation so an already-cancelled MCP request is never sent after body serialization.
- Report asynchronous recording failures without unhandled rejections and always close the underlying MCP transport when recording writes fail.
- Accept narrowly normalized loopback redirects from fresh OAuth registrations, including Fastmail's portless localhost response, while preserving the actual callback and stale-client safeguards. Thanks @mikegreiling for the report (#354).
- Add per-server
oauthRequestedScopeandconfig add --oauth-requested-scopeto control OAuth consent scopes across authorization and reauthorization without changing default scope negotiation. Thanks @ronyrus for the report (#356). - Start OAuth on an initial unauthenticated HTTP challenge instead of treating missing credentials as a failed refresh; reuse credentials that another flow saved before retrying.
Verification: npm, registry tarball, native assets, and browser Gatekeeper proof. npm integrity: sha512-R60nKyUcW65WawhVjoESC0HeNibsf+1iqpX0wHPX9P60AFX/DYCBlhS7pDYcuWzeGYqYfZG2Xf5jWWkM74d/+A==.
Highlights: Literal and prototype-named keys are preserved through proxies, schemas, and CLI selectors, and configuration diagnostics show the selected path.
- Preserve literal keys through proxies, generated schemas, and canonical JSON, including prototype-named and empty fields; keep distinct cached tool names and require own properties for required arguments.
- Preserve prototype-named CLI selectors and argument keys across named, JSON, function-call, and positional syntax instead of dropping values or treating them as flag handlers.
- Show the selected
--configorMCPORTER_CONFIGpath in configuration diagnostics instead of reporting only default locations. - Recover lost Chrome relay connections by retiring the current MCP child before the next explicit call creates a fresh authenticated connection, preserving setup cleanup and never replaying interrupted tool calls.
- Verify Vitest 5 on Node 24 and 26 with strict CI engine checks, omit the unsupported non-LTS Node 25 development line while retaining the Node >=24 runtime floor, and ignore Vitest's generated reports.
- Refresh Zod to 4.6.2 across the runtime and protocol fixtures, plus JOSE and test coverage dependencies, preserving Node 24 support and the 48-hour dependency release-age policy.
- Refresh Zod, Hono, Node types, and Vite; pin GitHub Actions to verified releases and avoid duplicate CI builds while preserving Node 24 and the 48-hour dependency release-age policy.
Highlights: OAuth logout preserves unrelated files, and generated CLIs and typed clients keep unusual tool names callable and distinct.
- Clear only recognized OAuth credential files on reset and logout, preserving the configured cache directory and unrelated contents even when imported configuration points it at the home directory. (PR #357, thanks @SebTardif)
- Generate valid calls for digit-leading, dotted, and prototype-like tool names without renaming shared metadata, and preserve exact tool names and schemas across loose proxy aliases. (PR #353, thanks @MohammedAlkindi)
- Refresh runtime validation, CLI bundling, Bun types, lint/format tooling, and pnpm action setup while preserving Node 24 support and the 48-hour dependency release-age policy.
Highlights: OpenClaw relay cold starts get enough time and clear discovery errors, while plain Chrome launches work again for CLI generation and tool discovery.
- Allow 20 seconds for OpenClaw relay discovery, give Chrome auto-connect commands a 300-second cumulative startup deadline, and report discovery failures without guessing port 18799 or poisoning the retained browser owner. Preserve actionable discovery errors through daemon IPC and document canonical configuration for relay settings that must survive daemon respawns. (PR #358)
- Restore CLI generation and tool discovery for plain
chrome-devtools-mcplaunches without requiring an existing-Chrome owner, while retaining canonical ownership checks for auto-connect and refusing direct browser selectors and ambiguous wrappers. (PR #352)
Highlights: Generated CLIs keep the intended server when a config is supplied, and daemon launch failures report the executable and OS error immediately.
- Preserve explicit inline server definitions during CLI generation when
--configis also supplied, so unrelated or same-name configured servers cannot replace the tool-discovery target. (PR #350) - Report detached daemon launch failures with the executable and OS error instead of crashing the parent CLI or waiting for a readiness timeout. (PRs #347 and #351, thanks @SebTardif)
- Refresh generated CLI bundling and URI parsing dependencies and upgrade test coverage tooling to Vitest 5, preserving Node 24 support and the 48-hour dependency release-age policy. (PR #349)
Highlight: One daemon per OS user now serves every configuration. Ordinary CLI invocations and generated CLIs reuse the same retained MCP connections and a single canonical Chrome owner instead of racing competing per-config hosts. The new protocol requires a one-time mcporter daemon migrate after upgrading all clients.
- Serve every resolved configuration as an immutable view of one shared OS-user daemon, so ordinary and generated clients reuse the same retained connections and one canonical Chrome owner; configuration filenames, working directories, and HOME/XDG overrides no longer select another production daemon. (PR #346)
- Add
mcporter daemon migrateto inspect live legacy per-config daemons, stop them after a confirmed drain, and upgrade current-user-owned0755state directories to0700; ordinary startup refuses legacy permissions with migration guidance instead of changing them silently. (PR #346) - Return protocol errors, daemon-generation changes, and expired view handles to the caller rather than replaying a request whose outcome is uncertain, and keep active or uncertain work safe from idle shutdown. (PR #346)
- Keep list and serve visibility and tool filters local to each registered view, and scope OAuth vaults, refresh locks, and browser suppression to each connection while HTTP aliases retain separate credential identities. (PR #346)
- Decide daemon freshness from effective per-server relay settings, so unset policy, equivalent default controls, and fully overridden process values no longer restart a compatible daemon. Meaningful policy, profile, endpoint, credential rotation, and discovery inputs remain part of the retained relay identity, and key rotation or a changed discovery identity returns an owner conflict instead of silently replacing the host. (PR #345)
- Keep OAuth running when macOS
openor Windowsrundll32cannot start, so the printed authorization URL remains usable. (PR #341, thanks @SebTardif)
- Remove temporary environment overrides when a later value fails validation or resolution, preventing failed setup from affecting subsequent MCP connections. (PR #342, thanks @oodadoudou)
- Refresh runtime schema validation, query parsing, generated CLI bundling, and development tooling, including Zod's default-factory cycle-walk and reserved-key parsing fixes plus bounded
tsxtransform caching, while preserving Node 24 support and the 48-hour dependency release-age policy. (PRs #340 and #343) - Cover stored-credential validation guards for OAuth with additional tests. (PR #331, thanks @KrasimirKralev)
Highlight: Generated CLIs now handle unusual schema names without startup errors or argument collisions, and direct calls preserve dotted tool names and HTTP query parameters.
- Generate valid, distinct flags and property accesses for uppercase, numeric, separator-only, and colliding schema names; preserve explicit
--no-arguments and nullable-array item types; normalize output schema titles into TypeScript identifiers. (PR #332, integrated in #339, thanks @Yigtwxx) - Preserve dotted tool names and HTTP selector query parameters, including configured-server headers and OAuth settings. (PR #333, thanks @Yigtwxx)
- Preserve top-level daemon idle timeout settings when adding, removing, or copying config server entries. (PR #337)
- Reject unsupported
${env:VAR}placeholders with actionable syntax guidance instead of passing them literally to servers. (PR #324, thanks @goutamadwant) - Canonically serialize HTTP URLs without corrupting query values or encoded paths. (PR #325, thanks @vincentkoc)
- Normalize imported token expiry while preserving explicit absolute expiry timestamps, so delayed imports do not extend stale credentials. (PR #335, thanks @feniix)
- Schedule long deadlines in bounded timer slices and bucket daemon progress intervals, preserving timeout and idle budgets without excessive timer allocations. (PRs #326 and #330, thanks @vincentkoc)
- Keep text normalization linear for long inputs and parse documentation heading HTML safely. (PRs #327 and #329, thanks @vincentkoc)
- Refresh runtime, build, test, and lint dependencies plus GitHub Actions caching while preserving the 48-hour dependency release-age policy. (PR #336)
- Isolate fixture startup and guarantee subprocess cleanup in integration tests. (PR #338)
- Modernize hashing APIs while preserving existing relay fingerprints, credential identifiers, and refresh-lock keys. (PR #328, thanks @vincentkoc)
- Honor
TMPDIRwhen staging native releases so large artifacts can be built on external storage.
- Keep MCP transport headers out of OAuth discovery and send an identifying User-Agent from the HTTP/1.1 SSE compatibility path, preventing misleading 403 responses from header-sensitive load balancers. (Issues #320 and #321)
- Retry transient Homebrew tap workflow API failures and propagation gaps with bounded backoff while preserving request-correlated release proof.
- Report connection failures once at the prepared-call boundary instead of duplicating the same offline diagnostic during auto-correction.
- Allow up to 45 seconds for cold starts in automatic and explicit daemon launches, with one slow-start hint for Chrome relay discovery and actionable foreground logging guidance on timeout.
- Keep the SDK's automatic post-401 token redemption inside the cross-process refresh lock, so simultaneous rejected requests adopt one rotated token generation instead of replaying and revoking the shared token family. (Issue #307)
- Discover OpenClaw's active Chrome extension relay endpoint automatically, while preserving the explicit environment override and legacy
127.0.0.1:18799fallback.
Highlight: OAuth token refresh is now serialized across processes — two mcporter processes sharing a credential can no longer race the same refresh token into a provider-side replay revocation.
- Serialize the refresh transaction across processes with per-credential locks: waiters re-read persisted state and adopt the winner, a successful rotation persists before it is returned, dead lock holders are recovered, and unrelated credentials stay concurrent. Twelve concurrent callers now perform exactly one redemption where the previous behavior produced seven refreshes and six replays (#306, thanks @feniix)
- Let the SDK dynamically register a new client when expired tokens exist without stored client metadata, instead of failing preflight before interactive authorization could begin (found during #306 review)
- Track context7's protocol-era move to 2026-07-28 in the live conformance suite, verified against the real server (#304)
- Keep legacy HTTP list and call operations moving when standalone SSE response headers remain pending. A server that accepted the SSE socket but withheld its response headers would stall the first list or call until the outer command timeout, because a fetch promise does not settle until headers arrive. Readiness is now capped at 250 ms; the SSE request is not cancelled, so delayed server-to-client messages still arrive (PR #282, thanks @Quack6765)
- Describe the accepted
clientInfoshape invault sethelp, covering the string-array fields, timestamp fields, and preserved provider metadata that the validator already enforces (PR #302, thanks @Yigtwxx)
- Refresh the TypeScript toolchain.
- Accept
--paramsas an alias for JSON call arguments and reject undeclared long-form tool flags before dispatch.
- Preserve refreshable dynamic OAuth client registrations across fresh callback ports, replacing an obsolete redirect registration only when interactive authorization is required. (Issue #290, thanks @elecnix)
- Authenticate OpenClaw extension-backed Chrome control with Browser Relay Authentication v2 over one retained loopback socket from HMAC challenge through CDP upgrade, never transmitting the host key or retrying legacy relay auth, while preserving configurable
prefer/require/offrouting and the OS-protected one-use child handoff. - Tear down both sides of streamed
mcporter serve --httpresponses on client aborts or body errors, preventing orphaned readers. (PR #280, thanks @SebTardif)
- Invalidate keep-alive Chrome DevTools state when relay policy, URL, timeout, OpenClaw credential paths, or the derived relay
keyIdchange, keeprequirefail-closed across retries, and expose the last safe relay decision inmcporter daemon status. - Keep the daemon alive after asynchronous log-file ENOSPC/EIO failures by handling writer errors immediately and falling back to console logging. (PR #280, thanks @SebTardif)
- Honor
MCPORTER_OAUTH_NO_BROWSERacross serve/daemon OAuth flows, fail once with actionable reauthorization guidance without logging authorization URLs, and restart daemons when the normalized setting changes. (PR #284 / issue #283, thanks @vitalijssilins) - Accept RFC 7591 dynamic-client-registration arrays and timestamps in
mcporter vault setwhile preserving null-compatible partial client information and provider metadata. (PR #288 / issue #286, thanks @feniix) - Sanitize malformed
mcporter vault setJSON diagnostics and reject non-finiteexpires_at/expiresAttoken values before persistence. (Follow-up to PR #287, thanks @Yigtwxx)
- Refresh pnpm, GitHub Actions runtimes, and mature security overrides for fast-uri, Hono, ip-address, and nanoid.
- Remove the obsolete scoped-commit helper and use standard Git commands in isolated worktrees.
- Support MCP protocol revision
2026-07-28— the stateless core,server/discovernegotiation, per-request identity, and multi round-trip requests — while continuing to speak every legacy revision from2024-10-07to2025-11-25. - Negotiate each server automatically: probe with
server/discover, fall back to the legacyinitializehandshake, and keep stdio probing in-process instead of spawning a second server. - Add per-server
protocolVersion/protocol_versionoverrides forauto,legacy, and pinned2026-07-28connections, surfaced bymcporter list <server> --verbose. - Bridge both generations at once through
mcporter serve: a single endpoint answers 2026-07-28 and 2025-era clients, preserving primitive tool output schemas and projecting structured results per era. - Support interactive form and URL elicitation in terminals across legacy and 2026-07-28 multi-round-trip servers, with immediate declines and a terminal hint in headless or daemon-managed contexts.
- Attribute elicitation prompts and public handler callbacks to their requesting server, and neutralize terminal control sequences in server-supplied prompt text.
- Migrate the runtime and serve bridges to the MCP TypeScript SDK v2 client and server packages, keeping SDK v1 only as a legacy test fixture.
- Keep legacy SSE fallback on legacy negotiation and preserve pinned modern-version negotiation errors instead of masking them with a secondary SSE failure.
- Recover legacy stdio servers that exit on modern discovery by retrying initialization once with a fresh legacy-mode process.
- Use the SDK's 60-second stdio discovery timeout for slow-starting modern servers, configurable with
MCPORTER_STDIO_PROBE_TIMEOUT_MS. - Keep listing and calling usable when a server advertises the same tool name twice or two names that map to one proxy method.
- Follow
resources/listcursors automatically so paginated MCP resources are returned in full, and stop when a server repeats its cursor instead of churning duplicate pages. - Raise Node's untouched Happy-Eyeballs connect-attempt timeout from 250 ms to 1500 ms while preserving explicit user overrides, including quoted
NODE_OPTIONSvalues. - Restore bounded stdio process-tree teardown with pre-close PID capture, SIGTERM/SIGKILL escalation, and explicit stream destruction.
- Cancel in-flight connection handshakes during
runtime.close()instead of waiting for the full negotiation timeout. - Close bridge subscription handlers before the HTTP listener so active
subscriptions/listenstreams cannot deadlock shutdown. - Canonicalize decoded bridge server paths so percent-encoded aliases share one handler instead of allocating permanent duplicates.
- Preserve protocol-version pins and supported snake_case config aliases when generating or regenerating standalone CLIs.
- Normalize
--compilebundle targets consistently instead of returning a platform-native path only when an extension was supplied. - Resolve bundled dependency roots for packages whose
package.jsonis hidden behind export maps, avoiding an unnecessary npm fallback.
- Treat the daemon socket timeout as an idle liveness budget refreshed by progress frames, so interactive OAuth can outlive 30 seconds without restarting the daemon and opening a duplicate prompt. (PR #241, thanks @umutkeltek)
- Keep daemon protocol v1 and v2 interoperable while returning daemon-owned operation timeouts as non-retryable errors. (PR #241, thanks @umutkeltek)
- Keep replay recordings usable across MCP protocol-version and mcporter client-version changes.
- Preserve transport capabilities and request metadata through recording wrappers so modern HTTP cancellation remains stream-based.
- Replay accepted modern elicitation rounds with the caller's handler instead of unconditionally declining them.
- Re-emit recorded progress, logging, and list-change notifications during replay in their recorded order relative to responses.
- Validate RFC 9207 authorization-response issuers before redeeming callback codes, with server-specific mismatch errors, and preserve that validation while OAuth traffic is wrapped in recording mode.
- Bind persisted tokens and client registrations to their authorization-server issuer across interactive and silent refresh flows, discarding mismatches before credentials are transmitted and stamping successful refreshes.
- Add per-server
oauthClientMetadataUrl/oauth_client_metadata_urlconfiguration for Client ID Metadata Documents, with SDK-managed DCR fallback. - Reject invalid Client ID Metadata Document configuration before binding the loopback OAuth callback listener.
- Stop reflecting authorization-server callback errors into executable HTML or terminal-facing error messages.
- Validate imported and persisted OAuth credential shapes so malformed issuer stamps trigger reauthorization instead of runtime crashes.
- Export connection metadata and the named option/result types reachable through the package-root API.
- Add committed MCP 2025-11-25 and 2026-07-28 fixture servers with end-to-end CLI and bridge coverage over stdio and Streamable HTTP.
- Add an opt-in live conformance suite covering four protocol revisions against public servers, scheduled weekly rather than gating pull requests.
- Enforce coverage thresholds in CI, publishing the summary and report from the Linux job.
- Stop the test suite writing into the developer's real
~/.mcporterby isolatingHOMEand every XDG root.
- Rewrite the README around a verified quick start and move protocol and daemon details into focused guides.
- Refresh Acorn, Rolldown, Vite, Oxlint, Oxfmt, Node types, and security overrides within the repository's release-age policy.
- Resolve notarization profiles from the dedicated managed release keychain when packaging signed standalone binaries.
- Stop reading embedded digits (ports, durations, hostnames, request ids) as HTTP 401 auth signals in connection-error classification, and let known status codes win over message text, so unreachable servers are no longer promoted to
auth: "oauth". (PR #248, thanks @Yigtwxx) - Route
chrome-devtools-mcp --autoConnectthrough a paired OpenClaw Chrome-extension relay when one is live on this host, eliminating Chrome's per-session "Allow remote debugging?" dialog; falls back to plain auto-connect otherwise (MCPORTER_DISABLE_CHROME_DEVTOOLS_RELAY=1to opt out). - Correct the documented call timeout to 60 seconds and distinguish its
MCPORTER_CALL_TIMEOUTand--timeoutoverrides from the 30-second list timeout. (PR #230, thanks @KrasimirKralev) - Isolate long-lived SSE receive streams from ordinary HTTP requests so byte-idle servers cannot stall tool listing and calls. (PR #234, thanks @umutkeltek)
- Open the Windows OAuth browser via shell-free
rundll32 url.dll,FileProtocolHandlerinstead of acmd.execommand string, so quote- or ampersand-bearing authorization URLs cannot run shell side effects. (PR #242, thanks @SebTardif) - Serialize interactive OAuth authorization per provider/session: concurrent 401s (background SSE reconnect plus a bridged request) now join one pending PKCE transaction instead of opening duplicate prompts, and keep-alive daemons no longer restart and replay operations on auth failures. (Issue #247, thanks @mkaput)
- Recover rotating refresh tokens after transient OAuth refresh failures without clearing a concurrently persisted winner, and clear only the exact rejected token on
invalid_grant. (PR #227, thanks @feniix) - Treat a configured server URL change as a new OAuth trust boundary, clearing cached credentials permanently even if the URL is later reverted. (Issue #231, thanks @sourman)
- Replace the broken v0.12.3 standalone artifact path with exact-tag arm64 and x86_64 macOS builds that require Foundation Developer ID signing, hardened runtime, timestamping, Bun JIT entitlements, notarization, strict native execution proof, basename-only checksums, and exact provenance/inventory verification before GitHub, npm, or Homebrew publication.
- Isolate OAuth callback and session tests behind temporary HOME and XDG roots, with a regression sentinel proving ambient credentials stay untouched.
- Refresh compatible Rolldown, Oxlint, Oxfmt, tsx, and TypeScript-linting dependencies while retaining the Vitest-compatible Vite 8.1.4 peer line.
- Fix list signatures and call examples for typed arrays, keeping number, boolean, object, and unknown array values type-correct. (Issue #221, thanks @VincXiong)
- Refresh compatible runtime, bundling, type-checking, lint, and security-override dependencies while preserving the Node and pnpm toolchain.
- Prevent large piped CLI output from being truncated during forced shutdown, while keeping stalled readers bounded and treating broken pipes as normal shell behavior. (Issue #214, thanks @badmoo)
- Resolve configured and ad-hoc HTTP tool selectors consistently so targeted list and call commands keep server names separate from MCP tool names. (Issue #218, thanks @xinFu3576 and @TurboTheTurtle)
- Add
key=@pathand--key @pathcall arguments for exact UTF-8 file values, with@@escaping for literal leading@. (Issue #212, thanks @andr-ec) - Preserve replacement daemon socket and metadata ownership while a superseded daemon shuts down, preventing repeated keep-alive restarts and Chrome remote-debugging permission prompts.
- Skip imported server entries with unresolvable editor-specific environment placeholders, and allow later valid duplicates to take effect without relaxing validation for local config. (PR #209, thanks @Loveacup)
- Treat corrupt cached OAuth tokens and client metadata as missing so connections can re-authenticate, while keeping corrupt callback state data fail-closed. (Issue #207, thanks @KrasimirKralev)
- Refresh development dependencies and security overrides, including Vite, esbuild, and Hono.
- Add cache-friendly
disableOAuthsupport across headless runtime, CLI, daemon, proxy, andcallOncepaths so callers can suppress interactive OAuth without losing connection reuse. (Issues #197, #199, #201, thanks @feniix) - Recover cleanly from renamed OAuth server entries, invalid refresh tokens, and stale dynamic client registrations without reusing unrelated same-URL credentials.
- Prevent concurrent OAuth vault updates from briefly exposing empty lock files and losing credential entries under load.
- Add per-server Streamable HTTP paths for
mcporter serveat/mcp/<server>, exposing one keep-alive server with original tool names while preserving aggregate/mcpnamespacing. (PR #194, thanks @zm2231) - Add
mcporter recordandmcporter replayhelpers for capturing and replaying MCP JSON-RPC traffic, with server filters and daemon-safe manual env setup. (PR #192, thanks @LDMB123) - Prevent direct daemon starts from rebinding over an already-running healthy daemon, avoiding orphaned keep-alive processes during foreground or launch races. (PR #195, thanks @zm2231)
- Return a non-zero exit code for explicit
mcporter list <unknown-server>failures while preserving aggregate list health checks by default. (Issue #203, thanks @theo674) - Reconcile keep-alive daemon metadata with the responding process and serialize daemon startup across parallel clients, preventing duplicate orphaned daemons. (Issue #191, thanks @dtmsyi)
- Keep CloudBase MCP alive by default so device-code authentication can finish polling and persist credentials after returning
AUTH_PENDING. (PR #193, thanks @sevzq) - Keep daemon-managed stdio servers warm across repeated
mcporter listrequests instead of treating non-interactive tool listing as a throwaway process. (Issue #188, thanks @robertoronderosjr)
- Refresh development dependencies and satisfy the stricter
oxlintcheck.
- Fall back to
~/.mcporter/mcporter.json[c]whenXDG_CONFIG_HOMEpoints at an empty mcporter config directory, preventing embedders from accidentally hiding the user server registry. (Issue #184, thanks @ChrisBot2026)
- Add
mcporter list --status,--exit-code, and--quietfor concise server health checks without introducing a separate health command. - Make
generate-cli --bundleartifacts deterministic by removing bundle-only paths/timestamps from embedded metadata and sorting generated tool/schema output. (Issue #180, thanks @imroc) - Let daemon-managed OAuth servers reuse cached credentials for tool calls and tool listing after token expiry. (PR #182 / issue #181, thanks @bradhallett)
- Avoid restarting browser OAuth when an already-connected server has a still-valid cached access token. (Issue #179, thanks @jaigew and @StanAngeloff)
- Add the documented top-level
daemonIdleTimeoutMsconfig to shut down inactive keep-alive daemons. (Issue #174, thanks @jarek083)
- Make
generate-cli --runtime node --bundle <name>.mjsemit an ES module bundle with a localrequireshim, fixing.mjsartifacts that previously crashed at startup. - Classify generated
.mjsand.cjsoutputs as bundle artifacts in embedded metadata instead of reporting them as binaries. - Avoid leaving implicit
<server>.tstemplate files in the current directory when generating bundle-only artifacts without--output. - Print generated CLI help with a trailing newline so subsequent shell output no longer glues onto the help footer.
- Point generated CLI metadata and npm package metadata at
openclaw/mcporter. - Document the existing
generate-cli --timeout,--minify, and--no-minifyflags ingenerate-cli --help. - Suppress expected Rolldown unresolved-import warnings for Node built-ins during successful generated CLI bundling.
- Support
auth: "refreshable_bearer"with explicitrefreshsettings so cached OAuth tokens can be refreshed before HTTP connects or injected into stdio env vars. (Issue #173, thanks @tokyo-s) - Add
httpFetch: "node-http1"for HTTP MCP servers whose providers reject Node's built-infetch, and auto-apply it to Sunsama's endpoint. (Issue #158, thanks @mattash) - Resolve
${VAR}and${VAR:-fallback}placeholders across string-valued server config fields such asbaseUrl,command/args,tokenCacheDir, and pre-registered OAuth fields while keeping headers/env/bearer-token placeholders lazy until runtime. (PR #161 / issue #157, thanks @zxyasfas) - Add
mcporter vault set <server>andmcporter vault clear <server>so headless deployments can seed or clear OAuth vault credentials without reproducing mcporter's internal vault-key format. (Issue #156)
- Add
mcporter serve, exposing daemon-managed keep-alive servers as one MCP bridge with readableserver__toolnames for stdio and Streamable HTTP clients. (PR #172, thanks @zm2231) - Prefer MCP
structuredContentnested inside JSON-RPC result envelopes somcporter call --output jsonstays parseable for dual text/structured tool responses. (Issue #168, thanks @mar-zh) - Serialize read-modify-write config and OAuth vault updates, and write JSON/cache metadata atomically to avoid lost entries under parallel invocations. (Issue #167, thanks @alexminza)
- Patch
chrome-devtools-mcp --autoConnectlaunches at runtime somcporter call chrome-devtools.list_pagescan keep using a logged-in Chrome profile while upstream DevTools-window detection can hang on busy profiles.
- Add headless OAuth login support via
--no-browser,--browser none, andMCPORTER_OAUTH_NO_BROWSER, emitting parseable authorization URLs for remote auth flows. (PR #171 / issue #169, thanks @feniix) - Proactively complete OAuth for configured HTTP servers that allow unauthenticated
initialize/listToolsbut require credentials for tool calls, and close the local callback server promptly after browser authorization. (PR #159, thanks @Spacefish) - Refresh expired cached OAuth access tokens during non-interactive
mcporter listwithout opening a browser or clearing cached credentials when refresh fails. (Issue #166, thanks @chrisabad)
- Keep keep-alive daemon retry diagnostics on stderr so
mcporter call --output jsonstdout stays parseable after a daemon recovery. (PR #163 / issue #160, thanks @clawSean) - Increase the default OAuth browser wait from 60 seconds to 5 minutes so hosted MCP sign-ins have enough time for account and permission review.
- Skip the redundant daemon
statuspreflight for warm keep-alive access, cutting one socket round-trip from each routed list/call/resource request while preserving stale-config and dead-daemon recovery. - Route explicit default keep-alive calls like
chrome-devtools.list_pagesthrough a daemon-only fast path, avoiding full runtime startup on warm calls. - Further reduce warm keep-alive call startup by avoiding runtime/config schema imports on CLI boot and using a narrower daemon call path for simple explicit calls.
- Keep single-server
mcporter listnon-interactive by reusing cached OAuth without launching new auth flows, and clamp oversized OAuth startup errors so HTML responses do not flood stdout/stderr. - Label non-timeout
mcporter list <server>failures as unavailable instead of timed out. - Return concise/structured
mcporter resourceerrors for servers that do not implement MCP resources instead of dumping SDK stack traces. - Refresh Context7 examples for the live
resolve-library-idandquery-docsschemas. - Make
generate-cli --help,inspect-cli --help, andemit-ts --helpprint command help before flag parsing. - Auto-correct near-miss tool names when a server reports an unknown tool as MCP
isErrorcontent instead of throwing. - Keep auto-correct diagnostics on stderr for
mcporter call --output json/rawso stdout stays parseable. - Make generated CLIs keep
--output jsonparseable for plain text MCP results by falling back to the raw JSON envelope.
- Preserve existing stdio executable paths that contain spaces instead of splitting them as inline command strings, so app bundle helpers like Hopper's MCP server can be configured directly.
- Build
dist/once before the Vitest suite instead of letting parallel integration tests rebuild it mid-run.
- Fix Bun-compiled standalone binaries so
generate-cli --compilecan compile generated CLIs from empty directories by staging the matching publishedmcporterpackage dependencies when no local package tree is available.
- Add an opt-in standalone Bun release-binary smoke for the empty-directory generated CLI compile path.
- Return a non-zero exit code when MCP tool results are marked
isError, and preserve that status through the forced-exit cleanup path. (PR #154 / issue #153, thanks @jlapenna) - Give forced-exit cleanup a short stdout/stderr flush window so large JSON output is not truncated when
mcporteris run fromchild_process. (PR #151 / issue #145, thanks @yuhp) - Treat
key:=valueas a compatibility alias forkey=value, avoiding malformed keys such asprice:. (PR #150 / issue #100, thanks @solomonneas) - Restore
mcporter call --key value/--key=valuetool arguments, including JSON array/object coercion,--json -stdin payloads, schema-aware bare string-to-array wrapping, and kebab-case to camelCase field mapping. (Issues #119 and #126) - Quote generated
emit-tsmembers for tool names that are not valid TypeScript identifiers. (PR #149 / issue #30, thanks @solomonneas) - Resolve relative stdio args in generated CLI bundles against the generated script location instead of the caller's current directory. (PR #148 / issue #56, thanks @solomonneas)
- Print OAuth manual-completion URLs at the default warning log level so headless users can copy them. (PR #143 / issue #139, thanks @stainlu)
- Support repeatable
--header KEY=valueflags for ad-hoc HTTP servers and persisted ad-hoc entries. (Issue #117) - Let generated CLIs use
--rawwithout also passing required flags, and parse array flags containing JSON object items. (Issues #102 and #103) - Preserve
auth: "oauth"when an ad-hoc HTTP server is OAuth-promoted and saved with--persist. (Issue #82) - Let non-interactive
mcporter listuse existing OAuth token caches for HTTP servers even when older configs are missingauth: "oauth". (Issue #137) - Fail OAuth flows immediately when the server never creates an authorization URL, instead of waiting for a browser callback that cannot arrive. (Issue #115)
- Support
mcporter list server.tool --schemato print a single tool's schema instead of the whole server. (Issue #116) - Surface MCP server
instructionsfrom the initialize response in single-servermcporter listtext and JSON output. (Issue #76) - Add compact
mcporter list <server> --brief/--signaturesoutput for scanning signatures without doc blocks, examples, or schemas. (PR #144, thanks @yuhp) - Launch Bun-compiled macOS daemon children through
nohupso Homebrew binaries can start keep-alive daemons in the background on macOS 26. (Issue #66) - Let generated CLIs use the keep-alive daemon for embedded servers with
lifecycle: "keep-alive", preserving stdio server state across separate generated-CLI invocations. (Issue #101) - Add
mcporter resource <server> [uri]for listing and reading MCP resources, including keep-alive daemon routing. (Issue #134)
- Honor XDG Base Directory env vars for mcporter-owned config, data, cache, and state paths while preserving the legacy
~/.mcporterfallback when XDG vars are unset.MCPORTER_DAEMON_DIR,MCPORTER_CONFIG,--config, and per-servertokenCacheDirremain explicit overrides. (Issue #155) - Support pre-registered OAuth clients via
oauthClientId/oauthClientSecretEnvand token endpoint auth method overrides for providers without dynamic client registration. (Issue #132) - Respect configured stdio
cwdvalues, including relative paths resolved from the config file and~home expansion. (PR #147 / issue #146, thanks @solomonneas)
- Updated
zodto 4.4.3.
- Add per-server exact-name tool filtering with
allowedToolsandblockedTools, including config serialization and runtime call/list enforcement. (Rebuild of PR #39, thanks @tonylampada) - Escalate stuck stdio child-process shutdowns after close timeouts instead of treating the timeout as a clean exit. (PR #39, thanks @tonylampada)
- Quote OAuth browser URLs when launching
cmd.exeon Windows, preserving query parameters such asredirect_uri. (PR #136, thanks @cosminilie) - Document OAuth-protected server config setup with
mcporter config add --auth oauthandmcporter auth. (PR #34, thanks @prateek) - Respect schema-declared string parameters when coercing numeric-looking
mcporter callkey=value arguments, so Slack timestamps likethread_tsstay strings. (PR #141, thanks @Hamzaa6296)
- Bun-compiled/Homebrew binaries now embed the package version before boot, so
mcporter --versionreports the real release (for example0.8.1) instead of falling back to0.0.0-dev.
- Added regression coverage for the Bun compile wrapper so future release builds keep the embedded runtime version intact.
- npm publishes now use an explicit package allowlist, so local release tarballs/checksum files do not get bundled into the published package.
- Preserve OAuth flow vs post-auth transport failures so invalid OAuth/provider errors surface directly, while real legacy 404/405 transport mismatches still fall back to SSE correctly. (PR #97, thanks @mavam)
- Ignore static
Authorizationheaders once OAuth is active so imported editor configs cannot override fresh OAuth tokens. (PR #123, thanks @ahonn) - Keep
mcporter call --output jsonparseable by emitting valid JSON even when the command falls back to raw output. (PR #128, thanks @armanddp) - Render
resourcecontent blocks in call output helpers instead of dropping them, including markdown resources and JSON text payloads. (PR #124, thanks @mvanhorn) - Preserve full JSON/error payloads when
datais just one field instead of collapsing the response todataalone. (PR #106, thanks @AielloChan) - Generated CLIs now parse object-valued flags as JSON and render object placeholders/examples with JSON-shaped help text, so tools like Jira
fieldsno longer receive raw strings. (PR #114, thanks @v2nic) - Deduplicate concurrent keep-alive daemon restarts per server so repeated fatal errors only force-close the cached daemon transport once before retrying. (PR #125, thanks @zm2231)
mcporter config addnow accepts plural--argsas an alias for repeated stdio arguments, matching common CLI muscle memory. (PR #93, thanks @Jah-yee)- Preserve default imports when
mcporter config addwrites a config file, instead of forcing"imports": []. - OAuth: avoid crashing on headless Linux when
xdg-openis unavailable; clear stale dynamic-port client registrations; close callback server if stale-client persistence reads fail. (PR #72, thanks @mgonto) - Added optional
oauthScope/oauth_scopeconfig override as an escape hatch for providers that require explicit scopes. - OAuth wait/redirect now share one deferred to eliminate authorization race windows and preserve stable close-path errors, including wait-before-redirect and repeated-redirect flows. (PR #70, thanks @monotykamary)
createCallResult().json()now collects all parseable JSON entries from MCP content arrays (single item stays backward-compatible), and raw inspect depth now stays readable without unbounded traversal. (PR #91, thanks @Blankdlh)- Added
--raw-strings(numeric coercion off) and--no-coerce(all coercion off) formcporter callargument parsing so IDs/codes can stay literal strings. (PR #59, thanks @nobrainer-tech) - Added
CallResult.images()plus opt-inmcporter call --save-images <dir>so image content blocks can be persisted without changing existing stdout output contracts. (PR #61, thanks @daniella-11ways) - OAuth transport retries now classify HTTP 405 as HTTP (not auth) and OAuth promotion applies to configured HTTP servers too, so post-auth fallback flows no longer drop credentials on 405-only endpoints. (PR #48, thanks @caseyg)
- Config loading now parses project and explicit config files as JSONC, so
mcporter.json/mcporter.jsonccan include comments and trailing commas. (PR #42, thanks @aryasaatvik) - Added generated
mcporter.schema.jsonpluspnpm generate:schemafor IDE autocomplete/validation, including$schemaandoauthScope/oauth_scopecoverage. (PR #43, thanks @aryasaatvik)
- Updated dependencies to latest releases (including MCP SDK, Rolldown RC, Zod, Biome, Oxlint, Vitest, Bun types).
- Synced
biome.jsonschema URL to Biome2.4.5.
- Fixed generated CLIs to read Commander.js option values via camelCased properties so snake_case tool schemas map correctly. (Thanks @rawwerks, PR #28)
- Coerce generated CLI array arguments based on JSON Schema item types (including integer arrays). (Thanks @rawwerks, PR #27)
mcporter generate-clisupports--include-tools/--exclude-toolsto generate CLIs for a subset of server tools. (Thanks @zackleman, PR #24)
- Added regression coverage for typed array parsing in generated CLIs.
- Added regression coverage for snake_case, camelCase, and numeric option names in generated CLIs.
- Increased the Bun bundler integration-test timeout to reduce flakes on slower runners.
- Updated dependency set (SDK, Rolldown, Zod, Biome, Oxlint, Bun types).
- Synced the Biome schema URL to the current CLI version.
- Track config file mtimes for every loaded layer (home + project or explicit) in daemon metadata and auto-restart when any layer changes, so newly added keep-alive servers are picked up without manual restarts. Includes regression tests for stale-daemon detection.
- Centralized OAuth credentials in a shared vault (
~/.mcporter/credentials.json) while still honoring per-servertokenCacheDirwhen present; legacy per-server caches are migrated automatically. mcporter auth --resetnow clears the vault and legacy caches without crashing on corrupted credential files, making re-auth reliable for servers like Gmail.- StdIO servers that expose a separate auth subcommand (e.g., Gmail MCP) can now declare
oauthCommand.args;mcporter auth <server>will spawn that helper and wait for browser completion, so Gmail auth now works without running npx manually. - Raw output now prints full strings without Node’s 10k-character truncation (
util.inspectusesmaxStringLength: null), so large MCP responses and plans are preserved end-to-end. - Added regression coverage to ensure future raw output changes cannot reintroduce truncation.
- Prevented ENOENT crashes when no config file exists anywhere by only passing an explicit
--config/MCPORTER_CONFIGpath to the runtime; implicit defaults now fall back cleanly across list/config/daemon flows.
mcporter call|auth|list help/--helpnow print the command-specific usage text instead of attempting to run a server, matching the footer’s “mcporter --help” hint.- Added a hidden
list-toolsalias formcporter listto preserve older muscle memory and avoid “Unknown MCP server” errors when copied from legacy docs. - Ad-hoc HTTP flows now accept
--insecureas a hidden synonym for--allow-http, making plain-HTTP testing flags match common intuition.--ssealso aliases--http-urlto keep older examples working.
- Override transitive
body-parserto 2.2.1 (CVE-2025-13466) via pnpm overrides.
mcporter listnow uses cached OAuth access tokens (if present) for the all-servers view without opening browser windows, so previously authorized servers no longer show spurious “auth required” in non-interactive listings.pnpm test --filter <pattern>now works by translating to a Vitest file pattern, avoiding the prior “Unknown option --filter” error.
- Updated to
@modelcontextprotocol/sdk1.22.0; inline stdio test server now uses Zod schemas to remain compatible with the SDK’s JSON Schema conversion path.
listToolsnow follows SDK pagination, looping throughnextCursorso long catalogs return complete tool lists.
- Claude imports now preserve root-fallback parsing for legacy
.claude.jsonand.claude/mcp.jsonfiles while treating.claude/settings*.jsonas container-only configs, preventing metadata fields likestatusLinefrom being misdetected as MCP servers. - Added regression coverage for Claude settings and mcp.json imports to guard the root-fallback behavior.
- Propagate
--timeout/MCPORTER_CALL_TIMEOUTinto MCP tool calls (SDKtimeout,resetTimeoutOnProgress,maxTotalTimeout) so long-running requests are no longer capped by the SDK’s 60s default.
mcporter generate-clionce again treats single-token--commandvalues (e.g.,./scripts/server.ts) as STDIO transports instead of trying to coerce them into HTTP URLs, restoring the pre-0.6.1 behavior for ad-hoc scripts.- Global flag parsing moved into
cli-factoryfor consistent log-level/oauth-timeout handling across commands. daemonhost/client hardened and covered with new tests; idle eviction and restart paths verified.
- Reintroduced support for
OPENCODE_CONFIG_DIRso OpenCode imports continue to honor the documented directory override alongsideOPENCODE_CONFIG. - Platform-aware defaults for Cursor/Claude/Windsurf/VS Code/OpenCode configs now dedupe paths and include Windows-specific locations.
- Added
fs-helpersthat treat chmod/copy failures on NTFS/DrvFs as best-effort so CLI generation keeps working on WSL mounts. - Documented Windows/WSL workflows: install/test from ext4 copies, remount guidance for /mnt/c, and syncing tips.
- Added stdio e2e tests using in-repo filesystem & memory MCP fixtures to ensure list/call works via execPath.
createCallResultnow reads nestedraw.content/raw.structuredContentso tools that wrap responses render text/markdown/json correctly; new unit tests cover text joining, markdown, and JSON.
mcporter list --verbosenow surfaces every config path that registers the target server (primary first, then duplicates) in both text and JSON output, making it easier to trace where a name is coming from.- JSON list payloads include a new
sourcesarray when--verboseis set, mirroring the on-screen path list for programmatic consumers. - Verbose source listings now tag the import kind (cursor/vscode/codex, etc.) and explicitly label the primary entry vs. shadowed duplicates.
- Default config resolution now layers the system config (
~/.mcporter/mcporter.json[c]) before the project config (config/mcporter.json), so globally installed MCP servers remain available inside repos while allowing per-project overrides. --configandMCPORTER_CONFIGcontinue to select a single file without merging for explicit workflows.mcporter config add --scope home|projectlets you choose the write target explicitly (project remains the default;--persist <path>still wins when provided).
- Quick start examples in generated CLIs now derive from actual embedded tools (up to three), showing real command names/flags instead of generic placeholders.
- Generated CLIs now present the canonical kebab-cased tool names in help while accepting underscore aliases at runtime, eliminating the “unknown command” errors when copying names directly from server tool lists.
mcporter listsuppresses raw STDIO stderr dumps when enumerating all configured servers, keeping the summary output readable while still surfacing per-server health statuses.mcporter config <subcommand> --help(andmcporter config help <subcommand>) now display detailed usage, flags, and examples for every config subcommand instead of returning a placeholder message. Inline--helptokens are intercepted before executing the command, so flows likemcporter config add --helpno longer throw usage errors.mcporter config doctorprints the project and system config paths before reporting diagnostics, making it obvious which files were inspected when tracking down configuration issues.
- STDIO transports now interpolate
${VAR}/$env:VARtokens in the configured command and arguments before spawning child processes, so chrome-devtools inherits the liveCHROME_DEVTOOLS_URLvalue instead of receiving the literal placeholder. - Keep-alive detection skips any STDIO server whose command/args reference
CHROME_DEVTOOLS_URL, ensuring daemon mode relaunches chrome-devtools for each Oracle browser session instead of pinning a stale port. - Command arguments that escape placeholders as
\${VAR}(common when usingString.rawin TypeScript config helpers) now trim the backslash after interpolation so downstream servers receive clean URLs.
- Ad-hoc STDIO invocations that start with
npx -y <package>now infer the npm package name (stripping versions and ignoring arguments after--) instead of producing slugs likenpx-y, so repeatedmcporter list|callruns automatically reuse a readable server key without passing--name. - Quoted inline commands such as
mcporter list "npx -y xcodebuildmcp"now auto-detect the ad-hoc STDIO transport, so you can skip--stdioentirely when probing MCP packages vianpx.
- Added
mcporter daemon restart, a stop+start convenience that reuses logging flags so agents can bounce the keep-alive daemon with a single command. - Added
list_toolsas a hidden shortcut formcporter list <server>, sochrome-devtools.list_tools(and similar selectors) print the tool catalog instantly without requiring a real MCP tool. - Warn when colon-style arguments omit a value (e.g.,
command:) and suggest quoting/--argsJSON so agents don’t accidentally sendundefinedto STDIO servers.
- Reset cached keep-alive connections whenever STDIO transports hit fatal errors (timeouts, closed pipes, daemon restarts, etc.), so chrome-devtools automatically recovers after you close Chrome instead of requiring
mcporter daemon stop. - Daemon-routed calls now log a restart notice and automatically retry once after closing the stale transport, providing self-healing behavior when Chrome or other keep-alive servers crash mid-call.
- Added hidden agent shortcuts:
mcporter describe <server>now aliasesmcporter list, and calling<server>.helpautomatically falls back to the list output when a server lacks ahelptool (also wired into the legacypnpm mcp callpath) so agents always get a readable summary.
- Propagate the CLI’s per-call timeout (defaults to 60s or
--timeout) through the keep-alive daemon, so chrome-devtools and other persistent STDIO servers stop as soon as the caller times out. Runtime.callToolnow honorstimeoutMsdirectly, ensuring TanStack MCP clients and the CLI share a single source of truth for cancellation even outside the daemon.- Ad-hoc STDIO servers launched via
mcporter call "npx …"(or--stdio) inherit the same keep-alive heuristics and canonical names as config-defined entries, soMCPORTER_DISABLE_KEEPALIVE=chrome-devtoolsand similar overrides work without passing--name.
- Added regression coverage (
tests/daemon-client-timeout.test.ts,tests/runtime-call-timeout.test.ts, and updated keep-alive suites) to guard timeout propagation and canonical keep-alive detection.
- Fixed Claude imports so
mcporter listmerges project-scoped servers from.claude.json(matching the current workspace) and ignores metadata-only keys liketipsHistory/cachedStatsigGates, resolving GitHub issues #6 and #7. - OpenCode imports now read only the documented
mcpcontainer (no root-level fallback), matching the current OpenCode schema and preventing stray metadata from being misinterpreted as servers.
mcporter call "<stdio command>" ...now auto-detects ad-hoc STDIO servers, so you can skip--stdio/--stdio-argentirely and just quote the command you want to run.- When a server exposes exactly one tool,
mcporter callinfers it automatically (and prints a dim log), letting one-tool servers like Vercel Domains run with only their arguments. - STDIO transports now inherit your current shell environment by default, so ad-hoc commands see the same variables as your terminal; keep
--env KEY=valuefor explicit overrides.
mcporter config listandmcporter config doctorno longer crash when the project config is missing or contains malformed JSON; we log a single warning and keep going, matching the behavior of the top-levelmcporter list.
- Added a per-login daemon that auto-starts when keep-alive MCP servers (e.g., Chrome DevTools, Mobile MCP, Playwright) are invoked. The daemon keeps STDIO transports alive across agents, exposes
mcporter daemon <start|status|stop>, and supports idle shutdown plus manual restarts. - Keep-alive detection now honors the
lifecycleconfig flag/env overrides and also inspects STDIO command signatures, so renamingchrome-devtools(or other stateful servers) no longer disables the daemon accidentally. - Introduced daemon logging controls (
mcporter daemon start --log|--log-file,--log-servers,MCPORTER_DAEMON_LOG*env vars, and per-serverlogging.daemon.enabled).mcporter daemon statusreports the active log path, and a newtests/daemon.integration.test.tssuite keeps the end-to-end flow covered.
mcporter list(and every CLI entry point) once again treats missing project configs as empty instead of throwing ENOENT, matching the 0.4.x behavior when you run the CLI outside a repo.
- Daemonized keep-alive servers. A new per-login daemon automatically spins up whenever keep-alive MCP servers (Chrome DevTools, Mobile MCP, Playwright, etc.) are invoked. It keeps STDIO transports warm across agents, exposes
mcporter daemon <start|status|stop>, supports idle shutdowns/manual restarts, and respects thelifecycleconfig flag plus STDIO command metadata so renamed servers stay eligible. - Fixed
createKeepAliveRuntimeso the daemon wrapper’slistToolsimplementation matches the baseRuntimesignature;pnpm build(and any command that shells out topnpm build) succeeds again. - Cursor imports now cover both workspace and user
.cursor/mcp.jsonfiles plus the platform-specificCursor/User/mcp.jsondirectories, and the VS Code/Windsurf walkers dedupe paths so editor-managed MCP servers are auto-discovered consistently across macOS, Linux, and Windows. - Windows installs now enumerate
.cursor/mcp.json,%USERPROFILE%\\.cursor\\mcp.json,%APPDATA%\\Cursor\\User\\mcp.json,.vscode/mcp.json, and the Windsurf/Codeium directories automatically, while STDIO transports on Windows tear down entire process trees viapowershell.exe Get-CimInstance Win32_Processto avoid orphaned child servers.
- Fixed the npm
binentry so it points todist/cli.jswithout a leading./, keeping the executable in the published tarball and restoringnpx mcporterfunctionality. Also bumped the embedded runtime version to 0.4.4 so the CLI reports the correct release. - Added
MCPORTER_CONFIGplus a home-directory fallback (~/.mcporter/mcporter.json[c]) so the CLI automatically finds your system-wide config when a project file is missing.
- Consolidated the external MCP import matrix into
docs/import.md, removing the short-liveddocs/mcp-import.mdduplication, and clarified the release checklist to stop immediately on failing tests or lint warnings.
- Added OpenCode imports (project
opencode.json[c],OPENCODE_CONFIG_DIR, user config, and theOPENCODE_CONFIGoverride) plus JSONC parsing somcporter list/configcan auto-discover servers defined in OpenCode. - Claude Code imports now honor
.claude/settings.local.jsonand.claude/settings.jsonahead of the legacymcp.json, and we skip entries that lack a URL/command (e.g., permissions blocks) so malformed settings no longer break the merge.
- Documented the full import matrix (including OpenCode + Claude settings hierarchy) directly in
docs/import.mdanddocs/config.md.
mcporter list(and other commands that load imports) now skip empty or malformed Claude Desktop / Cursor / Codex config files instead of throwing, so a blankclaude_desktop_config.jsonno longer blocks the rest of the imports.- Bundled sample config adds the Mobile Next MCP definition, making it available out of the box when you run
mcporter listbefore customizing your own config.
- Fixed the fallback when
config/mcporter.jsonis missing somcporter listcontinues to import Cursor/Claude/Codex/etc. configs even when you run the CLI outside a repo that defines its own config, matching the 0.3.x behavior. - Added regression coverage that exercises the “no config file” path to ensure future changes keep importing user-level MCP servers.
mcporter config listnow displays only local entries by default, appends a color-aware summary of every imported config (path, counts, sample names), and still lets you pass--source import/--jsonfor the merged view.mcporter config get,remove, andlogoutnow use the same fuzzy matching/suggestion logic asmcporter list/call, auto-correcting near-miss names and emitting “Did you mean …?” hints when ambiguity remains.
mcporter listnow prints copy/pasteable examples for ad-hoc servers by repeating the HTTP URL (with quoting) so the commands shown underExamples:actually work before you persist the definition.
- Staged the actual dependency directories (
commander,mcporter) directly into the Bun bundler workspace sonpx mcporter generate-cli "npx -y chrome-devtools-mcp" --compilesucceeds even when npm hoists dependencies outside the package (fixes the regression some users still saw with 0.3.5).
- Ensure the Bun bundler resolves
commander/mcportereven whennpx mcporter generate-cli … --compileruns inside an empty temp directory by symlinking mcporter’s ownnode_modulesinto the staging workspace before invokingbun build. This keeps the “one weird trick” workflow working post-0.3.4 without requiring extra installs.
- Added a global
--oauth-timeout <ms>flag (and the matchingMCPORTER_OAUTH_TIMEOUT_MSoverride) so long-running OAuth handshakes can be shortened during debugging; the runtime now logs a clear warning and tears down the flow once the limit is reached, ensuringmcporter list/call/authalways exit.
- Documented the new OAuth timeout flag/env var across the README and tmux/hang-debug guides so release checklists and manual repro steps call out the faster escape hatch.
- When a server definition omits
description,mcporter generate-clinow asks the MCP server for its owninstructions/serverInfo.titleduring tool discovery and embeds that value, so generated CLIs introduce themselves with the real server description instead of the generic “Standalone CLI…” fallback. - Embedded tool listings inside generated CLIs now show each command’s flag signature (no
usage:prefix) separated by blank lines, and per-command--helpoutput inherits the same colorized usage/option styling as the mainmcporterbinary for readability on rich TTYs. - Added a
--bundler rolldown|bunflag tomcporter generate-cli, defaulting to Rolldown but allowing Bun’s bundler (when paired with--runtime bun) for teams that want to stay entirely inside the Bun toolchain. The generator now records the chosen bundler in artifact metadata and enforces the Bun-only constraint so reproduction via--fromstays deterministic. - When Bun is installed (and therefore selected as the runtime),
mcporter generate-clinow automatically switches the bundler to Bun as well—no need to pass--bundler bunmanually—while keeping Rolldown as the default for Node runtimes. - Bundling with Bun copies the generated template into mcporter’s install tree before invoking
bun build, ensuring localcommander/mcporterdependencies resolve even when the user runs the generator from an empty temp directory.
- Embedded the CLI version so Homebrew/Bun builds respond to
mcporter --versioneven whenpackage.jsonis unavailable. - Revamped
mcporter --helpto mirror the richer list/call formatting (name + summary rows, grouped sections, quick-start examples, and ANSI colors when TTYs are detected). - Fixed
mcporter listso it no longer errors whenconfig/mcporter.jsonis absent—fresh installs now run without creating config files, and a regression test guards the optional-config flow. - Generated standalone CLIs now print the full help menu (same grouped layout as the main CLI) when invoked without arguments, matching the behavior of
mcporteritself.
- Generated binaries now default to the current working directory (using the inferred server name) when
--compileis provided without a path, and automatically append a numeric suffix when the target already exists. - Standalone CLIs inherit the improved help layout (color-aware title, grouped command summaries, embedded tool listings, and quick-start snippets) so generated artifacts read the same way as the main CLI.
- Swapped the bundler from esbuild to Rolldown for both JS and Bun targets, removing the fragile per-architecture esbuild binaries while keeping aliasing for local dependencies and honoring
--minifyvia Rolldown’s native minifier. - Improved
generate-cliso inline stdio commands (e.g.,"npx chrome-devtools-mcp") parse correctly even when invoked from empty directories.
readPackageMetadata()now tolerates missingpackage.jsonfiles; when invoked from a directory without a manifest it falls back to mcporter’s own version string, sogenerate-cliworks even when you call it vianpxin an empty folder.
- Short-circuited global
--help/--versionhandling so these flags no longer fall through command inference and always print immediately, regardless of which command the user typed first. - Added regression coverage for the new shortcuts and kept the existing
runClihelper exported so tests (and downstream tools) can exercise argument parsing without forking the entire process.
- Fixed
mcporter generate-cli --bundle/--compilein empty directories by aliasingcommander/mcporterimports to the CLI’s own installation so esbuild always resolves dependencies. Verified with a new fixture that bundles from temp dirs withoutnode_modules(fixes #1). - Added an end-to-end integration test that runs
node dist/cli.js generate-clitwice—once for bundling and once for--compile—as well as a GitHub Actions step that installs Bun so CI exercises the compiled binary path on every PR.
- Added configurable log levels (
--log-level/MCPORTER_LOG_LEVEL) that default towarn, promoting noisy transport fallbacks to warnings so critical issues still surface. - Forced the CLI to exit cleanly after shutdown (opt out with
MCPORTER_NO_FORCE_EXIT) and patchedStdioClientTransportso stdio MCP servers no longer leave Node handles hanging; stderr from stdio servers is buffered and replayed viaMCPORTER_STDIO_LOGS=1or whenever a server exits with a non-zero status.
- Rebuilt
mcporter list: spinner updates stream live, summaries print only after discovery completes, and single-server views now render TypeScript-style doc blocks, inline examples, inferred return hints, and compact// optional (N): …summaries. The CLI guarantees at least five parameters before truncating, introduced a single--all-parametersswitch (replacing the--required-only/--include-optionalpair), and shares its formatter withmcporter generate-cliso signatures are consistent everywhere. - Verb inference and parser upgrades let bare server names dispatch to
list, dotted invocations jump straight tocall, colon-delimited flags (key:value/key: value) sit alongsidekey=value, and the JavaScript-like call syntax now supports unlabeled positional arguments plus typo correction heuristics when tool names are close but not exact. - Ad-hoc workflows are significantly safer:
--http-url/--stdiodefinitions (with--env,--cwd,--name,--persist) work acrosslist,call, andauth, mcporter reuses existing config entries when a URL matches (preserving OAuth tokens / redirect URIs), andmcporter auth <url>piggybacks on the same resolver to persist entries or retry when a server flips modes mid-flight. - Hardened OAuth detection automatically promotes ad-hoc HTTP servers that return 401/403 to
auth: "oauth", broadens the unauthorized heuristic for Supabase/Vercel/GitHub-style responses, and performs a one-time retry whenever a server switches into OAuth mode while you are connecting.
- Generated CLIs now embed their metadata (generator version, resolved server definition, invocation flags) behind a hidden
__mcporter_inspectcommand.mcporter inspect-cli/mcporter generate-cli --from <artifact>read directly from the artifact, while legacy.metadata.jsonsidecars remain as a fallback for older binaries. - Shared the TypeScript signature formatter between
mcporter listandmcporter generate-cli, ensuring command summaries, CLI hints, and generator help stay pixel-perfect and are backed by new snapshot/unit tests. - Introduced
mcporter emit-ts, a codegen command that emits.d.tstool interfaces or ready-to-run client wrappers (--mode types|client,--include-optional) using the same doc/comment data that powers the CLI, so agents/tests can consume MCP servers with strong TypeScript types. mcporter generate-clinow accepts inline stdio commands via--command "npx -y package@latest"or by quoting the command as the first positional argument, automatically splits the command/args, infers a friendly name from scripts or package scopes, and documents the chrome-devtools one-liner in the README; additional unit tests cover HTTP, stdio, scoped package, and positional shorthand flows.
- Added
docs/tool-calling.md,docs/call-syntax.md, anddocs/call-heuristic.mdto capture every invocation style (flags, function expressions, inferred verbs) plus the typo-correction rules. - Expanded the ad-hoc/OAuth story across
README.md,docs/adhoc.md,docs/local.md,docs/known-issues.md, anddocs/supabase-auth-issue.md, detailing when servers auto-promote to OAuth, how retries behave, and how to persist generated definitions safely. - Updated the README, CLI reference, and generator docs to cover the new
--all-parametersflag, list formatter, metadata embedding, themcporter emit-tsworkflow, and refreshed branding so the CLI and docs consistently introduce the project as MCPorter. - Tightened
docs/RELEASE.mdwith a zero-warning policy sopnpm check,pnpm test,npm pack --dry-run, and friends must run clean before publishing. mcporter callnow rejects unknown long flags like--sourceinstead of silently treating them as positional tool arguments; usekey=value,--args, or--for literal--valuepositionals (PR #35, thanks @beverm2391).
-
Added non-blocking
mcporter listoutput with per-server status and parallel discovery. -
Introduced
mcporter auth <server>helper (and library API support) so OAuth flows don’t hang list calls. -
Set the default list timeout to 30 s (configurable via
MCPORTER_LIST_TIMEOUT). -
Tuned runtime connection handling to avoid launching OAuth flows when auto-authorization is disabled and to reuse cached clients safely.
-
Added
mcporter auth <server> --resetto wipe cached credentials before rerunning OAuth. -
mcporter listnow prints[source: …](andSource:in single-server mode) for servers imported from other configs so you can see whether an entry came from Cursor, Claude, etc. -
Added a
--timeout <ms>flag tomcporter listto override the per-server discovery timeout without touching environment variables. -
Generated CLIs now show full command signatures in help and support
--compilewithout leaving template/bundle intermediates. -
StdIO-backed MCP servers now receive resolved environment overrides, so API keys flow through to launched processes like
obsidian-mcp-server. -
Hardened the CLI generator to surface enum defaults/metadata and added regression tests around the new helper utilities.
-
Generated artifacts now emit
<artifact>.metadata.jsonfiles plusmcporter inspect-cli/mcporter regenerate-cliworkflows (with--dry-runand overrides, now handled viagenerate-cli --from <artifact>) so binaries can be refreshed after upgrading mcporter. -
Fixed
mcporter call <server> <tool>so the second positional is treated as the tool name instead of triggering the "Argument must be key=value" error, acceptedtool=/command=selectors now play nicely with additional key=value payloads, and added a default call timeout (configurable viaMCPORTER_CALL_TIMEOUTor--timeout) that tears down the MCP transport—clearing internal timers and ignoring blank env overrides—so long-running or completed tools can’t leave the CLI hanging open.
- Initial release.
- Added
fs-helpersthat treat chmod/copy failures on NTFS/DrvFs as best-effort so CLI generation keeps working on WSL mounts. - Documented Windows/WSL workflows: install/test from ext4 copies, remount guidance for /mnt/c, and syncing tips.
- Global flag parsing moved into
cli-factoryfor consistent log-level/oauth-timeout handling across commands. daemonhost/client hardened and covered with new tests; idle eviction and restart paths verified.- Imports now include platform-aware defaults for Cursor/Claude/Windsurf/VS Code/OpenCode configs with path dedupe.
- Added stdio e2e tests using in-repo filesystem & memory MCP fixtures to ensure list/call works via execPath.
createCallResultnow reads nestedraw.content/raw.structuredContentso tools that wrap responses render text/markdown/json correctly; new unit tests cover text joining, markdown, and JSON.
- New
docs/windows.mdwith WSL/NTFS tips; added to docs index.