Skip to the cargo

hk agent mcp ​

  • How to hail it: hk agent mcp <--target <TARGET>>
  • Effect: read-only (looks, never touches)

Print an MCP server configuration, matey

Flags to fly ​

  • --target <TARGET> — The MCP host to write the server configuration for

    Choose from: codex, claude-desktop, claude-code, vscode

  • -h --help — Print help, for when ye've lost yer bearings

Tales from the deck ​

Print an MCP configuration for yer host, then look over its project path so it points at the right ship.

sh
hk agent mcp --target codex
hk agent mcp --target claude-desktop

Further charts ​

Coding agents: the clockwork hands · Troubleshooting: the ship's log · All the bosun's calls

MIT LicenseCopyright © 2026jdx.dev