Terminal MCP Server

Terminal MCP Server

Enables interactive terminal sessions within Claude Code and Desktop, allowing users and AI to execute commands and manage multiple tabs.

Category
Visit Server

README

Terminal MCP App

An MCP App that renders an interactive xterm.js terminal inline in Claude Code and Claude Desktop. Multi-session PTY support via node-pty with tabbed UI.

Terminal with customized tabs in Claude Code

Yo dawg, I heard you like Claude, so I put Claude in your Claude so you can Claude while you Claude.

Claude running Claude Code inside Claude Desktop

MCP Client Configuration

Add to your MCP client configuration (stdio transport):

{
  "mcpServers": {
    "terminal": {
      "command": "npx",
      "args": [
        "-y",
        "--silent",
        "github:jonrad/mcp-terminal-server",
        "--stdio"
      ]
    }
  }
}

Features

  • Fully Interactive: Users can type directly in the terminal — full keyboard input, shell interaction, and program control
  • AI-Writable: The LLM can send commands and input to terminal sessions via terminal-write, enabling AI-driven workflows
  • Inline Terminal: xterm.js terminal emulator with full xterm-256color support
  • Multi-Session Tabs: Create, switch, close, and customize terminal sessions
  • Tab Customization: Set names, colors, and icons per tab via LLM tools
  • Fullscreen Toggle: Switch between inline and fullscreen display modes
  • LLM-Readable History: terminal-read returns ANSI-stripped output for LLM consumption
  • Graceful Cleanup: All PTY sessions killed on server shutdown

Tools

  • terminal-show — Opens the terminal UI and spawns one or more sessions. Accepts optional tabs array (each with command, cwd, name, color, icon), height, and width. Defaults to one bash tab.
  • terminal-create — Spawns additional sessions without re-rendering UI. Same tabs options as terminal-show.
  • terminal-list (App-only) — Lists all sessions with IDs, labels, titles, and style.
  • terminal-write (App-only) — Writes data to a PTY session. Omit data to poll the output buffer.
  • terminal-read — Returns ANSI-stripped terminal history (last 10k chars). Non-destructive.
  • terminal-resize (App-only) — Resizes PTY to match UI dimensions.
  • terminal-refresh (App-only) — Sends SIGWINCH to force running programs to redraw.
  • terminal-close (App-only) — Kills a PTY session and removes it.
  • terminal-customize — Sets name, color, and/or icon on a tab.

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured