libtmux Reference MCP Search
On this page

MCPService

View as Markdown

Package
libtmux-swift
Source
Sources/LibTmuxMCP/Serve.swift
struct MCPService : struct MCPService
struct [source]
struct [source]
struct MCPService

Serves MCP over a stream of request lines.

Every request runs in a task of its own, which is the whole point: a wait that blocks for thirty seconds must not stop ping, a second wait, or the cancellation that would end it. Serving them one at a time makes the server's slowest tool its latency for everything.

2 declared, 0 inherited

Members

Esc

Type to search.