Terminal MCP Server

The official Python library for the terminal API

Local serverstdioPython

What is the Terminal MCP Server?

The official Python library for the terminal API

What you get

The Terminal Python library provides convenient access to the Terminal REST API from any Python 3.9+ application. The library includes type definitions for all request params and response fields, and offers both synchronous and asynchronous clients powered by httpx.

Configuration and credentials

Python 3.9 or higher.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Terminal MCP Server

{
  "mcpServers": {
    "terminal-shop": {
      "command": "uvx",
      "args": ["terminal-shop"],
      "env": {
        "TERMINAL_LOG": "your-value",
        "TERMINAL_BEARER_TOKEN": "your-value",
        "TERMINAL_BASE_URL": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

Python 3.9 or higher.

VariableDescriptionRequired
TERMINAL_LOGConfiguration value read at startup.Optional
TERMINAL_BEARER_TOKENCredential the server authenticates with.Yes
TERMINAL_BASE_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • “Use Terminal to Retries.”
  • “Use Terminal to Timeouts.”
  • “Use Terminal to Logging.”

Frequently asked questions

The official Python library for the terminal API Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.