Exposes tools for controlling and automating the WezTerm terminal emulator, allowing for programmatic management of panes, tabs, and windows, as well as the ability to read terminal content and send text to active sessions.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@wezterm-mcpsplit the current pane and run npm start"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-server-wezterm
MCP server that exposes WezTerm terminal control via the Model Context Protocol.
Requirements
Rust 1.75+ (or Nix)
WezTerm with
wezterm cliavailable on PATH
Install
From source
cargo build --release
# binary at target/release/mcp-server-weztermNix
nix run github:vaporif/mcp-server-weztermUsage
Add to your MCP client configuration (e.g. Claude Code ~/.claude.json):
{
"mcpServers": {
"wezterm": {
"command": "/path/to/mcp-server-wezterm"
}
}
}Or with rvx (no Rust toolchain needed and no installation required):
{
"mcpServers": {
"qdrant": {
"command": "rvx mcp-server-wezterm",
}
}
}Tools
Tool | Description |
| List all windows, tabs and panes |
| List connected clients |
| Read terminal screen/scrollback content |
| Get adjacent pane ID in a direction |
| Split a pane (left/right/top/bottom) |
| Spawn a command in a new window or tab |
| Send text to a pane (bracketed paste) |
| Focus a pane by ID |
| Focus adjacent pane by direction |
| Kill a pane |
| Resize a pane directionally |
| Zoom/unzoom/toggle a pane |
| Move a pane into a new tab |
| Activate a tab by ID, index, or relative offset |
| Change tab title |
| Change window title |
| Rename a workspace |
Development
cargo run # Run in dev mode
cargo build --release # Release build
cargo clippy # Lint
cargo test # Test
nix develop # Nix devShell with wezterm + cargo-nextestLicense
MIT
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.