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 Tools
tmux_capture_pane: Capture the content of a tmux panetmux_send_command: Send commands to a tmux pane with automatic Enter keytmux_send_keys: Send keys to a tmux pane without automatic Entertmux_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.3.1.tar.gz
(10.9 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.3.1.tar.gz.
File metadata
- Download URL: tmux_mcp_tools-0.3.1.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d30562bd18742e243a0486a1f3016ffc39028f8bc78f8a9943fc0ad09c099157
|
|
| MD5 |
b269f2208ec2c3498915b0c689535327
|
|
| BLAKE2b-256 |
706cff496297ca4dc8146edaa6f2f61da7bb565c1902a05227cf2c1933d86097
|
File details
Details for the file tmux_mcp_tools-0.3.1-py3-none-any.whl.
File metadata
- Download URL: tmux_mcp_tools-0.3.1-py3-none-any.whl
- Upload date:
- Size: 12.4 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 |
584abe964a7b7fd812625bdcb3ed359fd45627cec22680dbba58f2c48f5889c1
|
|
| MD5 |
fc91cf6b8aaf38a66df7e3b724e2f89d
|
|
| BLAKE2b-256 |
0ee28961639c5018a2238fad85a5754a5ee5543a06523a05f0527e7925b0c984
|