First, install our tty-use tool (on Linux machines):
git clone https://github.com/sail-sg/tty-use.git
cd tty-use
pip install .- Install the Claude Code following its setup guide.
- Register the MCP server with:
claude mcp add tty-use --scope user -- /absolute/path/to/python -m tty_use.mcp_server
- Launch
claude, run/mcp, and verify that thetty-usetool appears in the connected MCP list.
- Install the Codex CLI following its setup guide.
- Register the MCP server with:
codex mcp add tty-use -- /absolute/path/to/python -m tty_use.mcp_server
- Launch
codex, run/mcp, and verify that thetty-usetool appears in the connected MCP list.