Skip to content

Quick Start

The fastest way to use dynmcp is to prefix any existing MCP invocation with dynmcp --. Everything after the -- is the command that launches the upstream MCP.

A normal MCP invocation that dumps every tool schema into your host’s context:

Terminal window
npx -y chrome-devtools-mcp@latest

The host sees every tool the upstream defines (often dozens) and every schema lands in context.

Terminal window
npx dynmcp@latest -- npx -y chrome-devtools-mcp@latest

The host now sees two tools: discover_tool and use_tool. A full schema enters context only when the agent asks for one through discover_tool.

discover_tool’s description is a compact catalog of every upstream tool, just names and one-line summaries. The agent scans it, calls discover_tool to load the full schema of whatever tool it picks, then calls use_tool to run it.

In single-MCP mode, tool names are exposed as-is. No namespace prefix. browser_navigate is browser_navigate, not chrome-devtools/browser_navigate.

Any host that can launch an MCP via a command will work. A JSON-style host config looks like:

{
"mcpServers": {
"chrome-devtools": {
"command": "npx",
"args": ["-y", "dynmcp@latest", "--", "npx", "-y", "chrome-devtools-mcp@latest"]
}
}
}