Skip to content

Server-side tool filtering for MCP servers with large capability sets #142

Description

@jalcine

When an underlying MCP server advertises 100+ tools (e.g. a Git platform, a cloud provider CLI, or an all-in-one automation tool), mcp-hub currently exposes every tool to the connected client with no way to reduce the surface area.

This creates two problems:

  1. Noise — clients (especially LLMs) receive an unwieldy tool list, making it harder to select the right tool for a task.
  2. No control — there's no server-side mechanism to limit which tools a given client can see or call. Fields like autoApprove are passed through as metadata but aren't applied by the hub itself, and disabled_tools isn't implemented in the standalone server.

The Neovim plugin handles filtering client-side, but standalone mcp-hub clients have no equivalent option.

It would be useful to have a server-side tool filtering mechanism, whether through the config file, the REST API, or both.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions