MCPconceptAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MCP: API Reference

mcp.server.createTmuxMcpServer

function createTmuxMcpServer( tmux: Server, options: { readonly callerEnvironment?: Readonly< Record<string, string | undefined> >; readonly environment?: Readonly< Record<string, string | undefined> >; readonly policy?: Policy; readonly startup?: ServerStartup; } = {}, ): McpServer

An MCP server exposing a tmux server through libtmux.

Description#

Instructions are built at construction rather than at handshake because they carry where this process is running, which cannot change while it runs.

Parameters

Guides#

Pages that discuss createTmuxMcpServer.

Esc

Type to search.

Reference previewOpen reference