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.2.3.tar.gz
(10.3 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.3.tar.gz.
File metadata
- Download URL: tmux_mcp_tools-0.2.3.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60a83c5bbef1dfe55286d90463e21057bdec338fc9ed5890977de2bb0112c124
|
|
| MD5 |
f2c688336000f9a74b1ebd5883e136b6
|
|
| BLAKE2b-256 |
9da3be5a5991b9c38ca151be0903265fcbfb43878ed94d32b37dafea1ded9f92
|
File details
Details for the file tmux_mcp_tools-0.2.3-py3-none-any.whl.
File metadata
- Download URL: tmux_mcp_tools-0.2.3-py3-none-any.whl
- Upload date:
- Size: 11.7 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 |
84dc2b26b22e43e89d351ceef96be5c7eeff59a1c252b191dd439309edcbdf87
|
|
| MD5 |
28dbf6b14a816565d069696ee7c91da2
|
|
| BLAKE2b-256 |
e1a7041c0f638d2ddf31947afec646054350c8cf2a3701a95328d19ee4ed8aaf
|