wezterm-mcp
Enables programmatic control of the WezTerm terminal emulator through the Model Context Protocol. It allows users to manage panes, tabs, and windows while reading terminal content or sending commands directly to the terminal environment.
README
wezterm-mcp
MCP server that exposes WezTerm terminal control via the Model Context Protocol.
Requirements
- Node.js v18+
- WezTerm with
wezterm cliavailable on PATH
Install
npm install
npm run build
Nix
nix build # build the package
nix run # run directly
Usage
Add to your MCP client configuration (e.g. Claude Code ~/.claude.json):
{
"mcpServers": {
"wezterm": {
"command": "node",
"args": ["/path/to/wezterm-mcp/build/index.js"]
}
}
}
Tools
| Tool | Description |
|---|---|
list_panes |
List all windows, tabs and panes |
list_clients |
List connected clients |
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) |
spawn |
Spawn a command in a new window or tab |
send_text |
Send text to a pane (bracketed paste) |
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 |
activate_tab |
Activate a tab by ID, index, or relative offset |
set_tab_title |
Change tab title |
set_window_title |
Change window title |
rename_workspace |
Rename a workspace |
Development
npm run dev # Run directly via tsx
npm run build # Compile to build/
npm start # Run compiled output
nix develop # Nix devShell with node + wezterm
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.