What problem does Tool Gating MCP solve?
It solves context bloat caused by loading 100+ tools from multiple MCP servers at startup, and removes the need to restart Claude Desktop to add new servers during a conversation.
@ajbmachon
Basic information
Implements a tool gating and discovery system to preserve LLM context and focus while having access to many MCP servers
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"tool-gating-mcp": {
"command": "uv",
"args": [
"venv"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Tool Gating MCP is an intelligent proxy/router for the Model Context Protocol (MCP) that allows clients like Claude Desktop to dynamically discover and use tools from multiple MCP servers through a single connection point. It prevents context bloat by selecting only the most relevant tools for each task.
Install Python 3.12+ and uv, clone the repo, create a virtual environment, install dependencies, and run tool-gating-mcp (HTTP API server) or integrate it as a native MCP server using mcp-proxy. Configure Claude Desktop to point to Tool Gating MCP; then use built-in tools like discover_tools, provision_tools, and register_tool.
It solves context bloat caused by loading 100+ tools from multiple MCP servers at startup, and removes the need to restart Claude Desktop to add new servers during a conversation.
It uses semantic search and token budget enforcement to select and provision only the most relevant tools (typically 2–3) out of a large pool, cutting token consumption by over 90%.
Python 3.12+, the `uv` package manager, and optionally `mcp-proxy` for native MCP integration with Claude Desktop.
Tools are registered with metadata, tags, and token estimates. User queries are embedded using a sentence transformer, and tools are scored by cosine similarity plus tag matches (0.2 boost per matching tag).
Yes. You can register tools from external MCP servers via the API endpoints (`/api/tools/register`) or use the AI-assisted server registration endpoint (`/api/mcp/ai/register-server`).
MCP Toolbox for Databases is an open source MCP server for databases.

Model Context Protocol Servers

Model Context Protocol Servers
Open-source MCP to use Blender with any LLM
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
Comments