directory-federation
Installation
SKILL.md
directory-federation
Purpose
Traditional MCP "routers" act as a middleman that receives a tool execution request, proxies it to the subordinate server, and proxies the result back. This creates execution bottlenecks, limits streaming potential, and drastically increases attack surface.
Federating the router into a pure Directory shifts the execution back to the client.
Usage
Instead of wrapping subordinate tools inside your router, expose a single meta-tool that returns connection strings to the agents.
from mcp.server.fastmcp import FastMCP
mcp = FastMCP("Directory Service")