MCP server

Let Claude Code and other agents drive Tegment over MCP.

Last updated Jun 17, 2026

Tegment runs a local Model Context Protocol server that lets an MCP-aware agent (Claude Code, Gemini CLI, OpenCode, and others) read your projects, worktrees, and issues, and start and tail your apps. It's how an agent working in a Tegment terminal can act on the rest of the app.

How it works#

Tegment runs a small local server on your machine while it's open. It listens on localhost only, with nothing exposed to the network, so your agents can reach it but nothing outside your machine can.

Agents connect through a helper that Tegment bundles, rather than talking to the server directly. If you run more than one Tegment window, an agent started in a terminal automatically reaches the window it belongs to.

Set it up#

Open Settings and find your agent under the MCP / agents section. Tegment detects which agents are installed and whether each is already configured, and gives you a Setup button that registers the Tegment server for you. (For the full per-agent picture, see Supported agents.)

Tools#

The server exposes a flat set of tools. There is no per-agent permission model, so a configured agent can use all of them.

ToolWhat it does
list_projectsList all projects registered in Tegment.
get_project_infoDetailed info for a project: IDE, GitHub/Jira links, build & run configs, worktrees.
list_worktreesList a project's worktrees.
get_contextReturn the current worktree and project for the calling terminal.
list_issuesList GitHub and Jira issues for a project.
get_issueFetch full details for a single GitHub or Jira issue.
list_app_configsList a project's build & run configs.
start_app / stop_appStart or stop a build & run config.
get_app_statusReport which apps are running.
get_app_outputReturn recent log lines from a running app.
notifySend a notification into Tegment.