MCP server for tmux operations
Project description
tmux-mcp-tools
Provide MCP tools for interacting with tmux sessions.
Configuration
- Custom XDG:
$XDG_CONFIG_HOME/tmux-mcp-tools/ mcp.json: MCP server configuration following Cursor formatprompt.md: System prompt template for the AI agent
Tmux Configuration
Add the following to your .tmux.conf file to create a keybinding that opens the client in a new pane:
bind-key M-k split-window -h -p 33 "uvx --from tmux-mcp-tools tmux-agent --target \"$(tmux display-message -t ! -p '#{pane_id}')\" ;"
This will bind Alt+K to open a new pane with the client, targeting the current pane.
Features
tmux_capture_pane: Capture the content of a tmux panetmux_send_command: Send commands to a tmux pane with automatic Enter keytmux_write_file: Write content to a file using heredoc pattern in a tmux pane
Usage
{
"mcpServers": {
"tmux-mcp-tools": {
"command": "uvx",
"args": ["tmux-mcp-tools"]
}
}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tmux_mcp_tools-0.2.2.tar.gz
(9.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tmux_mcp_tools-0.2.2.tar.gz.
File metadata
- Download URL: tmux_mcp_tools-0.2.2.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1ec182c3a33e62b38e52058600a66f52bb32f5acab18819b7719fc46b86f2bf
|
|
| MD5 |
471332ce5d0cf1342e79505409de933d
|
|
| BLAKE2b-256 |
26ab671345e4d1c6b76ea1bae9693290b4c4040a980311daf686f07729293718
|
File details
Details for the file tmux_mcp_tools-0.2.2-py3-none-any.whl.
File metadata
- Download URL: tmux_mcp_tools-0.2.2-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37bf9b9bcfc9ad022d401ef7d814f144e82d1c6c44498d3eb93c23add07162c6
|
|
| MD5 |
b3d8c9c27c5a308033498b9add882024
|
|
| BLAKE2b-256 |
094ad51bdef0904f5c003e25baac594eae4653b5ec89aafd853b446cc30ee24e
|