Skip to main content
Glama

Tmux MCP Server

by nickgnd
MIT License
289
91
  • Linux
  • Apple

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
Tmux Sessions

Tools

Functions exposed to the LLM to take actions

NameDescription
list-sessions

List all active tmux sessions

find-session

Find a tmux session by name

list-windows

List windows in a tmux session

list-panes

List panes in a tmux window

capture-pane

Capture content from a tmux pane with configurable lines count and optional color preservation

create-session

Create a new tmux session

create-window

Create a new window in a tmux session

execute-command

Execute a command in a tmux pane and get results. For interactive applications (REPLs, editors), use rawMode=true. IMPORTANT: When rawMode=false (default), avoid heredoc syntax (cat << EOF) and other multi-line constructs as they conflict with command wrapping. For file writing, prefer: printf 'content\n' > file, echo statements, or write to temp files instead

get-command-result

Get the result of an executed command

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/nickgnd/tmux-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server