# WezTerm MCP Server

Enable integration of WezTerm terminal emulator with external tools and resources through the Model Context Protocol. Enhance your terminal experience by allowing dynamic access to data and actions v…

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add hiraishikentaro/wezterm-mcp

# Browse available tools
npx -y @smithery/cli@latest tool list hiraishikentaro/wezterm-mcp

# Get full schema for a tool
npx -y @smithery/cli@latest tool get hiraishikentaro/wezterm-mcp write_to_terminal

# Call a tool
npx -y @smithery/cli@latest tool call hiraishikentaro/wezterm-mcp write_to_terminal '{}'
```

## Tools (6)

- `write_to_terminal` — Writes text to the active WezTerm pane - often used to run commands
- `read_terminal_output` — Reads output from the active WezTerm pane
- `send_control_character` — Sends control characters to the active WezTerm pane
- `list_panes` — Lists all panes in the current WezTerm window
- `switch_pane` — Switches to a specific pane in WezTerm
- `write_to_specific_pane` — Writes text to a specific WezTerm pane by pane ID

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get hiraishikentaro/wezterm-mcp <tool-name>
```

---

Source: https://github.com/hiraishikentaro/wezterm-mcp | License: MIT
