Skip to content

feat: bundle proxy and implement resilience fallback#16

Merged
snehshah22 merged 1 commit into
mainfrom
feat/bundle-proxy-and-resilience
Apr 10, 2026
Merged

feat: bundle proxy and implement resilience fallback#16
snehshah22 merged 1 commit into
mainfrom
feat/bundle-proxy-and-resilience

Conversation

@snehshah22
Copy link
Copy Markdown
Contributor

Pull Request: Bundle IDE Proxy and Implement Resilience Fallback

Summary

This PR finalizes the production readiness of the standalone Notebook MCP server by eliminating hard reliance on external machine paths and adding failure resilience.

Key Changes in this PR:

  1. Bundled Execution Proxy: Added the compiled mcp_proxy_bundle.js into the repository under notebook_mcp/bin/. This allows flawless execution of the server strictly via npx github:... without forcing users to pre-clone or configure absolute paths on host machines.
  2. Resilience Standalone Fallback: Refactored server.ts to implement an automatic fallback. If the proxy helper cannot locate or establish a socket connection with the wrapping IDE within 5 seconds (tuned to 5 quick reconnect attempts), it stops gracefully and defaults control back to running the local Node stdio MCP actions natively. This prevents frozen sessions in environments lacking extensions.

@snehshah22 snehshah22 requested review from a team as code owners April 10, 2026 03:06
@github-actions github-actions Bot requested a review from chriskinzel April 10, 2026 03:06
@snehshah22 snehshah22 force-pushed the feat/bundle-proxy-and-resilience branch 2 times, most recently from 5f066d0 to 2b61ae5 Compare April 10, 2026 04:07
Comment thread notebook_mcp/server.ts
@snehshah22 snehshah22 merged commit 6b160e5 into main Apr 10, 2026
16 checks passed
@snehshah22 snehshah22 deleted the feat/bundle-proxy-and-resilience branch April 10, 2026 06:42
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.

3 participants