wezterm-mcp
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.
Usage
Claude Desktop / Claude Code
With uvx (recommended):
{
"mcpServers": {
"wezterm": {
"command": "uvx",
"args": ["mcp-server-wezterm-rs"]
}
}
}claude mcp add wezterm -- uvx mcp-server-weztermWith rvx:
{
"mcpServers": {
"wezterm": {
"command": "rvx",
"args": ["mcp-server-wezterm"]
}
}
}With Nix:
nix run github:vaporif/mcp-server-weztermWith cargo:
cargo install mcp-server-weztermTools
Pane Management
Tool | Description |
| List all windows, tabs and panes |
| Read terminal screen/scrollback content |
| Get adjacent pane ID in a direction |
| Split a pane (left/right/top/bottom) |
| 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 |
Tab & Window
Tool | Description |
| Activate a tab by ID, index, or relative offset |
| Change tab title |
| Change window title |
Other
Tool | Description |
| List connected clients |
| Spawn a command in a new window or tab |
| Send text to a pane (bracketed paste) |
| 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 checkLicense
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.
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