Skip to content
MCP server

claude-terminal-mcp

Gives Claude shell, file and background-job access on a local Linux desktop install

Actively maintained

The repository was last updated 63 days ago and is published under MIT.

claude-terminal-mcp is an open-source MCP server for ai models and llm tooling. It is available on Linux, macOS and Self-hosted.

Pricing
Open source
Platforms
Linux, macOS, Self-hosted
What it can do
Can change data (3 tools)
GitHub stars
6
Last commit

Similar MCP servers

About claude-terminal-mcp

Claude Desktop on Linux has no config-file route for MCP servers, so this packaged extension fills that gap by adding terminal and filesystem tools directly. Once enabled, Claude can run shell commands through bash, read and write files, list directories and start long-running processes that keep working while the chat moves on.

Commands run with the same permissions as your user account, and output beyond 100KB per stream is cut off while the full transcript is saved to a log file whose path is returned. Background jobs can be listed, inspected by their tail output, and terminated with SIGTERM followed by SIGKILL after five seconds. A small denylist blocks a few destructive one-liners, but the project describes it as a safety net rather than a sandbox.

It suits developers and power users on Linux who want Claude to build, test or script within a project folder. It is zero-dependency Node code under the MIT license, and the default working directory can be set at install time or changed later in extension settings.

Tools this server provides (8)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 3 of 8 tools change data; 1 name doesn't say.

From the server's own tool labels and tool names; not verified by us.

run_commandName suggests: changes
Run a shell command via bash -lc with optional cwd, timeout and env.
read_fileName suggests: reads
Read a text file with optional line-range slicing.
list_directoryName suggests: reads
List entries with type, size and mtime.
write_fileName suggests: changes
Create or overwrite a text file, creating parent directories.
run_backgroundName suggests: changes
Spawn a detached subprocess and return a job_id.
read_backgroundName suggests: reads
Get status and last N lines of output for a background job.
list_backgroundName suggests: reads
List all background jobs.
kill_background
Send SIGTERM to a background job, then SIGKILL after 5 seconds if still alive.

What it does

Shell command execution
Runs bash commands with pipes, redirects and virtualenv activation, returning stdout, stderr and exit code.
Background job control
Starts detached processes and lets Claude check their status, read recent output and stop them.
File reading and writing
Reads text files with line-range slicing and creates or overwrites files, making parent directories as needed.
Directory listing
Shows entries with type, size and modification time for any path.
Full transcript logs
Saves complete command output to a file so long results stay available after truncation.
Configurable default directory
Sets the folder where commands run when no working directory is given.

Good for

  • Running builds, tests or training jobs from a chat while keeping the conversation responsive
  • Editing and generating project files in a local repository
  • Checking logs and process status for a server started earlier in the session
  • Scripting routine maintenance tasks on a personal Linux machine

Pricing

Open source

Free and MIT-licensed; runs locally.

claude-terminal-mcp FAQ

Does the extension send data anywhere?

The extension makes no network requests of its own and does not send telemetry. Claude Desktop still transmits tool inputs and outputs as part of normal chat.

Where are command logs stored?

Transcripts go to /tmp/claude-term-mcp/runs and background job state to /tmp/claude-term-mcp/jobs. The folder is cleared at reboot.

Is the denylist a security boundary?

No. It only refuses a few obviously destructive commands and can be bypassed, so the extension should be treated like giving someone a shell session.

What does installation require?

Claude Desktop 0.10.0 or later on Linux, Node.js 16 or later (bundled with Claude Desktop) and bash on the PATH.

Is claude-terminal-mcp free?

Yes. claude-terminal-mcp is open source, so you can use and self-host it for free.

What are the best alternatives to claude-terminal-mcp?

The closest alternatives to claude-terminal-mcp are Desktop Commander, Claude MCP Bridge, mac-terminal-mcp, Claude Code Explorer MCP and codemcp.

Where this comes from

  • Description: written from the project's README.

How AIPoweredBot checks servers