SuperAPI AI Directory

term_mcp_deepseek

Approval-first local terminal control: policy-based command planning and approval, DeepSeek as an advisor, and signed execution receipts.

Open website

About this tool

Term MCP DeepSeek is a local, approval-first terminal control plane for MCP clients and human users. Its core design is to make the boundary between model suggestions and command execution clearly visible: model text is never executed directly, and deterministic policy is responsible for command planning, approval, bounded execution, real-time events, and signed evidence. DeepSeek only plays an isolated advisory role here, and even if it is missing or offline, the local MCP tools will not be disabled.

In terms of main capabilities, the project provides an inspection mode (read-only by default), command parsing (without going through a shell, limited to a single workspace), and first-class states such as pause, resume, cancel, timeout, output limits, and process isolation. After execution, a signed receipt is generated, recording the command, stdout, stderr, exit code, signal, permissions, and signature separately. Shareable exports remove command text, workspace paths, arguments, and output, and regenerate a valid signature.

In terms of usage, macOS or Linux, Python 3.10–3.13, and pipx are required. The server prints a one-time bearer token, open http://127.0.0.1:8000 and paste that token, select Inspect workspace, then select Build plan and Execute. The expected result is that the UI shows a low-risk pwd plan before execution, followed by a success receipt containing exit code 0, separated stdout/stderr, and a verified HMAC signature. No DeepSeek key is required. Use Ctrl+C to stop the server, and the generated token and in-memory session disappear with the process. When installing from a clone, startup.sh creates .venv, installs the package, and delegates to the same term-mcp CLI as a packaged installation.

Applicable scenarios include: inspecting unfamiliar repositories in a controlled environment, discovering Python and JavaScript tests, inventorying logs, configuring ports, and verifying read-only boundaries. The repository contains six small workflows, and each recipe is schema-versioned, inspection-only, network-free, write-free, bounded, and checked by production policy before running.

In terms of limitations, the default is APPROVAL_MODE=inspect and networking is disabled. Confirmation and trust modes are not OS sandboxes, and testing untrusted repositories should be done in a disposable container or virtual machine. WORKSPACE_ROOT should be kept narrow, ALLOW_NETWORK=false, and the HTTP service should never be exposed directly to untrusted networks. Before enabling a wider command surface, SECURITY.md and the threat model should be read. The server targets modern MCP 2026-07-28 and supports the legacy 2025-11-25 initialization lifecycle. HTTP and STDIO share one dispatcher and tool catalog. Protected routes require Authorization: Bearer $AUTH_TOKEN, and public routes are limited to the UI shell, health checks, demos, static assets, and the receipt schema.