MCP server

Let Claude Code and other agents drive Tegment over MCP.

Last updated Nov 03, 2026

Tegment runs a local Model Context Protocol server that lets an MCP-aware agent (Claude Code, Gemini CLI, OpenCode, Antigravity CLI, 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 → Agents. Every agent has one card there, saying whether Tegment found it on this machine and whether it is set up, and a Set up button that registers the Tegment server for you. A card reading Partly set up tells you which half is missing and what you lose without it. (For the full per-agent picture, see Supported agents.)

If an agent you have turned on is only partly set up, Tegment tells you when it starts, with a button that takes you to the agent settings.

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.

Tegment knows which terminal a call comes from, so an agent never has to pass ids for its own terminal or worktree. Tools that take a project fall back to the project the agent runs in.

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 project and worktree the calling agent runs in.
list_issuesList GitHub and Jira issues for a project. By default each issue carries its headline fields (key, title, status, type, priority, assignee, parent, last updated); ask for full to get every field.
get_issueFetch a single GitHub or Jira issue in full: description, parent epic, sub-tasks, linked issues and what each link means, and the newest comments.
list_app_configsList a project's build & run configs.
start_app / stop_appStart a build & run config in the agent's own worktree, or stop it.
get_app_statusReport which apps are running in the agent's worktree.
get_app_outputReturn recent log lines from a running app.
notifyShow a notification on the agent's tab in Tegment.
request_reviewSay that the work on a ticket is done and committed, and ready for AI review.
submit_reviewHand in a review: the findings, one by one or as Markdown, and a verdict. Used by the reviewer.