Single MCP Mode
Single MCP mode is the simplest way to use dynmcp. Whatever comes after -- is the command that launches the upstream. No config file needed.
dynmcp -- <upstream-command> [upstream-args...]Examples
Section titled “Examples”chrome-devtools-mcp:
npx dynmcp@latest -- npx -y chrome-devtools-mcp@latestThe official filesystem MCP, scoped to /tmp:
npx dynmcp@latest -- npx -y @modelcontextprotocol/server-filesystem /tmpA binary already on your PATH:
npx dynmcp@latest -- my-mcp-binary --some-flag valueNo namespace prefix
Section titled “No namespace prefix”With only one upstream, there’s nothing to disambiguate. Tool names pass through to the host verbatim:
browser_navigateis stillbrowser_navigate.read_fileis stillread_file.
Any existing prompts or instructions that reference upstream tools by name keep working.
What still works
Section titled “What still works”Single MCP mode still proxies the full MCP protocol — resources, prompts, completion, logging, notifications, cancellation, progress, and server-initiated requests. The tool catalog is the only thing it reshapes, behind discover_tool / use_tool.
What doesn’t work
Section titled “What doesn’t work”load_mcpisn’t registered. There’s no config file in which to declare a lazy MCP. See Dynamic Discovery.- The
--config/-cflag is ignored when--is present (see Mode Resolution).
When to reach for it
Section titled “When to reach for it”- You want to try
dynmcpagainst an MCP you already use. - You’re only proxying one MCP and don’t want a config file in the repo.
Need to proxy more than one? Move to Config File Mode.