-
Notifications
You must be signed in to change notification settings - Fork 1
Add more environment variables #9
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR enhances environment variable handling and configuration management by introducing environment-specific .env files and adding support for configurable API and OAuth URLs. The changes enable dynamic configuration based on the deployment environment (development vs. production) while maintaining backward compatibility.
- Adds environment-specific configuration loading with variable expansion support
- Introduces configurable API and OAuth URLs via environment variables
- Creates separate environment files for development and default configurations
Reviewed Changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| upsun-mcp/src/mcpUpsun.ts | Adds createConfig() method to inject environment-based API/OAuth URLs into UpsunClient configuration |
| upsun-mcp/src/index.ts | Updates dotenv loading to support environment-specific files and variable expansion |
| upsun-mcp/package.json | Adds dotenv-expand dependency for environment variable interpolation |
| .env.development | Introduces development-specific environment configuration with test/staging URLs |
| .env | Adds default environment configuration with production URLs |
Files not reviewed (1)
- upsun-mcp/package-lock.json: Language not supported
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
98c7ec8 to
2a0f784
Compare
|
Coverage after merging dyn_oauth2 into main will be
Coverage Report
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
2a0f784 to
46c997f
Compare
|
Coverage after merging dyn_oauth2 into main will be
Coverage Report
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
46c997f to
05b688f
Compare
|
Coverage after merging dyn_oauth2 into main will be
Coverage Report
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
05b688f to
cf35d3e
Compare
|
Coverage after merging dyn_oauth2 into main will be
Coverage Report
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 29 out of 30 changed files in this pull request and generated 2 comments.
Files not reviewed (1)
- upsun-mcp/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
cf35d3e to
613d344
Compare
|
Coverage after merging dyn_oauth2 into main will be
Coverage Report
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 29 out of 30 changed files in this pull request and generated 2 comments.
Files not reviewed (1)
- upsun-mcp/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.