MCP servers
Which MCP servers does each agent have, do they start, and can the others use them too? Yardmaster lists the servers every agent is configured with, starts one on request to see which tools it offers, and copies a server to other agents through their own commands. It never copies a secret, never replaces a server that is already there, and never starts anything in the background.
List the servers
Section titled “List the servers”Open ConfigMCP. The same server in several agents is one row, with a transport icon (stdio or remote), the command or URL, and the agents that have it. Click a row to show each agent’s entry and the last check.


yardmaster config --what mcpyardmaster config --what mcp --agent codex --usageMCP SERVERS┌────────────┬──────────────────────────────────┬────────────────────────────┐│ NAME ┆ HOW ┆ AGENTS │╞════════════╪══════════════════════════════════╪════════════════════════════╡│ docs ┆ https://docs.example.com/mcp ┆ Codex, Claude Code ││ storefront ┆ npx -y storefront-mcp ┆ Claude Code (off) │└────────────┴──────────────────────────────────┴────────────────────────────┘Tool: get_config with what: "mcp" (read-only).
{ "mcp": [ { "name": "docs", "agents": ["Codex", "Claude Code"], "transport": "http https://docs.example.com/mcp", "enabled": true, "has_secrets": false, "entries": [{ "agent": "Codex", "file": "~/.codex/config.toml" }] } ]}The result never includes arguments, query strings, or environment values.
has_secrets says whether a file holds a credential for the server, not what it is.
Ask your agent: “Which MCP servers do I have configured, and in which agents?”
Check that a server starts
Section titled “Check that a server starts”A check starts a stdio server the way its agent would (remote servers get one request),
asks for its tools, and stops it. Every check ends within 10 seconds. A server that needs
a sign-in is reported as needs sign-in, not as a failure.
In ConfigMCP, click Check on a row, or Check all to check every server that is switched on, a few at a time. The result shows how long it took and the tools it listed.


yardmaster mcp check storefrontyardmaster mcp check --allyardmaster mcp check docs --agent codexNAME is the name yardmaster config --what mcp shows; every entry with that name
is checked, even a disabled one. --all checks every enabled server. --agent
limits it to one agent’s entries. The command exits 2 when a server failed or timed
out.
┌────────────┬─────────────┬─────────┬────────┬───────┬───────┬────────┐│ SERVER ┆ AGENT ┆ SCOPE ┆ RESULT ┆ TOOLS ┆ TIME ┆ DETAIL │╞════════════╪═════════════╪═════════╪════════╪═══════╪═══════╪════════╡│ storefront ┆ Claude Code ┆ user ┆ ok ┆ 7 ┆ 1.4 s ┆ │└────────────┴─────────────┴─────────┴────────┴───────┴───────┴────────┘
Tools: storefront (Claude Code): list_orders, get_order, refund_order, ...
1 ok.Results are ok, needs sign-in, failed, timed out, or not checked.
Not available over MCP. The server has no health check, so an agent cannot start other servers through Yardmaster.
A server’s environment values go to the child process that is started and nowhere else: not to a log, a report, or a command line. A remote server gets no credentials from Yardmaster. The child is ended by its handle, never by process id.
Copy a server to other agents
Section titled “Copy a server to other agents”In ConfigMCP, a server that some agents lack has a button such as Add to Codex, Gemini CLI…. It opens the dry run: one row per agent with the exact command. Review it, then apply. The dry run says “refused” for any agent it will not touch, with the reason.


yardmaster mcp copy docs # dry runyardmaster mcp copy docs --from claude --to codex,geminiyardmaster mcp copy docs --to codex --yes # apply--from picks the source entry when agents use the name for different servers.
--to lists the agents (default: every installed agent that does not have it).
Without --yes nothing is written.
Copy docs (http https://docs.example.com/mcp from Claude Code, user)┌─────────────┬──────┬─────────┬────────────────────────────────────────────────────┐│ AGENT ┆ ITEM ┆ ACTION ┆ DETAIL │╞═════════════╪══════╪═════════╪════════════════════════════════════════════════════╡│ Codex ┆ docs ┆ run ┆ codex mcp add docs --url https://docs.example.com… ││ Cursor ┆ docs ┆ refused ┆ Cursor has no command to add a server │└─────────────┴──────┴─────────┴────────────────────────────────────────────────────┘1 change to make. Run again with --yes to apply.Not available over MCP. The server has no write tools by design.
What a copy will and will not do:
- It runs the target agent’s own command:
claude mcp add,codex mcp add,gemini mcp add,opencode mcp add,qwen mcp add, orpi mcp add. Yardmaster never edits the agent’s config file itself. - It refuses a server that carries environment values, headers, or a credential-shaped argument or URL, so no secret ever reaches a command line.
- It never replaces a server that has the same name in the target agent.
- It refuses agents without an add command (Cursor, Kimi Code, Antigravity) and says where to add the server by hand.
- Each step is re-checked before it runs, and the result is read back afterwards.
Connect Yardmaster’s own MCP server
Section titled “Connect Yardmaster’s own MCP server”Connecting adds yardmaster-mcp (or the app binary started with --mcp) to your agents,
so they can list ports, stop their own servers safely, and check secrets, rules, skills,
and limits. The tools are listed on the MCP reference.
In ConfigMCP, the Yardmaster MCP panel shows the command agents will run and one line per agent with its state. Click Connect on an agent or Connect all to preview the change. Disconnect removes the entry again. Test starts the server once, asks for its tools, and stops it. Copy JSON gives you the entry to paste for agents that cannot be set up from here (Cursor, Antigravity). The panel also has a switch for each tool, so you can turn individual tools off.


yardmaster mcp statusyardmaster mcp connect # dry runyardmaster mcp connect --to claude,codex --yesyardmaster mcp disconnect --from codex --yesyardmaster mcp tools --disable kill_portconnect --program sets the binary agents start (yardmaster-mcp on your PATH
by default, or the app binary). disconnect runs the agent’s mcp remove only for an
entry that starts Yardmaster, re-checked before it runs and verified after; agents
without a remove command are refused with where to do it by hand. mcp tools lists
the tools and turns them on or off. A change applies the next time an agent starts
the server.
┌─────────────┬───────────────┬────────────────────────────────┬──────────────────────────────────┐│ AGENT ┆ STATE ┆ COMMAND ┆ WHERE │╞═════════════╪═══════════════╪════════════════════════════════╪══════════════════════════════════╡│ Claude Code ┆ connected ┆ yardmaster-mcp ┆ ~/.claude.json ││ Codex ┆ not connected ┆ ┆ ││ Cursor ┆ not connected ┆ ┆ add by hand: Cursor Settings → MCP │└─────────────┴───────────────┴────────────────────────────────┴──────────────────────────────────┘`yardmaster mcp connect` previews adding it to the 1 not connected.Not available over MCP. The server is read-only, so an agent cannot connect or
disconnect anything. Its read tool for this page is get_config (see above).