Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀 feat: Add Code API Proxy Support and Update MCP SDK #6203

Merged
merged 4 commits into from
Mar 6, 2025

Conversation

danny-avila
Copy link
Owner

Summary

  • Added proxy configuration in axios options for getCodeOutputDownloadStream and uploadCodeEnvFile when process.env.PROXY is defined.
  • Refactored axios request options, including inline type annotations, to support proxy setups and improved error logging using logAxiosError.
  • Bumped the "@modelcontextprotocol/sdk" dependency from ^1.4.1 to ^1.6.1 in package.json.
  • Updated build scripts in package.json to use @rollup/plugin-typescript and revised rollup flags.
  • Modified rollup.config.js to streamline the build process into an ESM-only output with updated plugin configurations.

Change Type:

  • New feature (non-breaking change which adds functionality)

Testing:

  • Manually tested file download and upload endpoints with a proxy environment variable set.
  • Ran local unit tests (npm test) to ensure all changes work as expected and no warnings are emitted.
  • Verified the updated build commands in the MCP package complete successfully.

Checklist:

  • My code adheres to this project's style guidelines
  • I performed a self-review of my code
  • I commented in any complex areas of my code
  • I made pertinent documentation changes
  • My changes do not introduce new warnings
  • I wrote tests demonstrating that my changes are effective
  • Local unit tests pass with my changes
  • Any changes dependent on mine have been merged and published in downstream modules

@danny-avila danny-avila changed the title 🚀 feat: Add Proxy Support and Update MCP SDK 🚀 feat: Add Code API Proxy Support and Update MCP SDK Mar 6, 2025
@danny-avila danny-avila merged commit 8cb7f34 into main Mar 6, 2025
7 checks passed
@danny-avila danny-avila deleted the chore/final-updates branch March 6, 2025 17:48
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.

[Bug]: Code interpreter not working for upload/download due to proxy issues
1 participant