hk agent mcp
- Usage:
hk agent mcp <--target <TARGET>> - Effect: read-only
Print an MCP server configuration
Flags
--target <TARGET>— MCP host to generate the server configuration forChoices:
codex,claude-desktop,claude-code,vscode-h --help— Print help
Examples
Print an MCP configuration for your host, then review its project path.
sh
hk agent mcp --target codex
hk agent mcp --target claude-desktop