Skip to content

Conversation

@JesuTerraz
Copy link
Contributor

@JesuTerraz JesuTerraz commented Jan 9, 2026

Remove some legacy code. The base url should be set using the MCP_PLATFORM_ENDPOINT environment variable.

@JesuTerraz JesuTerraz marked this pull request as ready for review January 9, 2026 20:02
@JesuTerraz JesuTerraz requested a review from a team as a code owner January 9, 2026 20:02
Copilot AI review requested due to automatic review settings January 9, 2026 20:02
Copy link
Contributor

Copilot AI left a 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 removes legacy development environment handling from the GetMcpBaseUrl() method, simplifying the URL resolution logic. The method now consistently uses the MCP_PLATFORM_ENDPOINT environment variable (or the production default) instead of having special-case logic for development environments.

Key Changes

  • Removed conditional logic that checked for 'development' environment
  • Removed special handling for MOCK_MCP_SERVER_URL environment variable
  • Simplified method to always delegate to getMcpPlatformBaseUrl()

@JesuTerraz JesuTerraz enabled auto-merge (squash) January 9, 2026 21:32
@JesuTerraz JesuTerraz merged commit ea0ab84 into main Jan 10, 2026
7 checks passed
@JesuTerraz JesuTerraz deleted the users/jterrazas/fix-mcp-base-url branch January 10, 2026 04:43
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.

4 participants