Overview

ModRouter can connect to MCP-compatible servers and make their tools available to AI requests. A connected MCP server can be local, remote, or streaming.

STDIO Server

When ModRouter runs in Docker, STDIO tools must be installed inside the container. If the command is not available in the container, use an HTTP or SSE MCP server instead.

HTTP Server

SSE Server

Authentication

For HTTP and SSE servers, choose the authentication mode that matches the upstream MCP server:

Use Tools in Inference Requests

Once an MCP server is connected, ModRouter can make its tools available to chat and responses requests.
Use Tool Filtering to choose which connected tools are available for a request.