Skip to content

API to discover/list MCP servers behind a gateway #499

@onmete

Description

@onmete

Feature Request: API to discover/list MCP servers behind a gateway

Use Case

OpenShift Lightspeed (OLS) is an AI-powered assistant that will integrate with MCP Gateway. As an MCP client, OLS needs to:

  1. Discover available MCP servers behind the gateway
  2. Expose this list to administrators/users so they can select which MCPs should be available to the assistant
  3. Connect to a subset of MCPs relevant to the OLS use case (not all MCPs behind the gateway)

Problem

Currently, discovering MCP servers behind a gateway requires access to MCPServerRegistration resources and scanning/following them manually. This is not ideal for clients that need programmatic discovery.

Proposed Solution

Provide an API or mechanism for MCP clients to:

  • List all MCP servers registered with a gateway
  • Retrieve metadata about each MCP server (name, available tools, description)
  • Optionally filter by virtual server or other criteria

Context

In a multi-tenant environment where multiple teams register their MCP servers with a shared gateway, clients like OLS need to:

  • Know what's available
  • Allow users to configure which MCPs are relevant to their use case
  • Avoid receiving tools from irrelevant MCPs

This ties into the virtual MCP server concept and the X-Mcp-Virtualserver header mechanism.

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage/needs-triageIssues that need review and decisions about their milestones and priority

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions