Skip to content

Conversation

hevervie
Copy link

@hevervie hevervie commented Sep 8, 2025

Add mcp endpoint related parameters, to support customize sse and streamable http access path:

  • HealthEndpoint: customize health check endpoint
  • SSEEndpoint: customize sse access endpoint
  • SSEMessageEndpoint: customize sse message access endpoint
  • StreamableHttpEndpoint: customize streamable http access endpoint

@@ -48,6 +48,14 @@ type StaticConfig struct {
StsScopes []string `toml:"sts_scopes,omitempty"`
CertificateAuthority string `toml:"certificate_authority,omitempty"`
ServerURL string `toml:"server_url,omitempty"`
// HealthEndpoint is the health check endpoint
HealthEndpoint string `toml:"health_endpoint,omitempty"`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Every new flag complicates the maintenance and user experience. Why do we need to modify all these endpoints?. Why do we need to add a functionality to modify SSE endpoints, as it is already a deprecated functionality?.

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.

2 participants