Skip to main content
Glama

mcp-server-wezterm

MCP server that exposes WezTerm terminal control via the Model Context Protocol.

Usage

Claude Desktop / Claude Code

With uvx (recommended):

{
  "mcpServers": {
    "wezterm": {
      "command": "uvx",
      "args": ["mcp-server-wezterm-rs"]
    }
  }
}
claude mcp add wezterm -- uvx mcp-server-wezterm

With rvx:

{
  "mcpServers": {
    "wezterm": {
      "command": "rvx",
      "args": ["mcp-server-wezterm"]
    }
  }
}

With Nix:

nix run github:vaporif/mcp-server-wezterm

With cargo:

cargo install mcp-server-wezterm

Tools

Pane Management

Tool

Description

list_panes

List all windows, tabs and panes

get_text

Read terminal screen/scrollback content

get_pane_direction

Get adjacent pane ID in a direction

split_pane

Split a pane (left/right/top/bottom)

activate_pane

Focus a pane by ID

activate_pane_direction

Focus adjacent pane by direction

kill_pane

Kill a pane

adjust_pane_size

Resize a pane directionally

zoom_pane

Zoom/unzoom/toggle a pane

move_pane_to_new_tab

Move a pane into a new tab

Tab & Window

Tool

Description

activate_tab

Activate a tab by ID, index, or relative offset

set_tab_title

Change tab title

set_window_title

Change window title

Other

Tool

Description

list_clients

List connected clients

spawn

Spawn a command in a new window or tab

send_text

Send text to a pane (bracketed paste)

rename_workspace

Rename a workspace

Development

Requires just, taplo, and typos.

just check    # clippy + test + fmt + taplo + typos
just build    # cargo build
just test     # cargo test
just fmt      # format code and TOML
just lint     # cargo clippy
just deny     # cargo deny check

License

MIT

-
security - not tested
A
license - permissive license
-
quality - not tested

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vaporif/wezterm-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server