Skip to content

Testing and defining support HTTPS for MCP Server backends #450

@david-martin

Description

@david-martin

Jira: https://issues.redhat.com/browse/CONNLINK-813

Although there is provision for using a protocol of https in an MCP server endpoint config (

endpoint := fmt.Sprintf("%s://%s%s", protocol, nameAndEndpoint, path)
), this hasn't been tested and verified as working.

Also, there is no provision for adding a custom CA, or allowing insecure servers for development, when connecting to a HTTPS enabled MPC Server.

In general, the story for HTTPS MCP Servers 'in cluster' is not well defined.

We should look to support HTTPS servers, and add e2e tests for them.
It should be possible for users to configure the MCP Gateway (i.e. the mcp-broker) with a CA for use when doing an init/tool list with backend MCP Servers.
We should also consider supporting an insecure flag in the MCPServer resource, mainly for development.

For tool calls, this shouldn't be a concern as requests don't hit the broker, only the router.
For that scenario, the https configuration should be handled at the Gateway & HTTPRoute, possibly via BackendTLSPolicy.

Metadata

Metadata

Assignees

Labels

priority/normalCan be worked on after critical and high priority items are accounted fortriage/acceptedHas been assessed, and accepted for work

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions