Skip to main content
Glama

Tmux MCP Server

by nickgnd
MIT License
129
68
  • Linux
  • Apple

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SHELL_TYPENoThe command line shell you are usingbash

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

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. IMPORTANT: 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