Provides AI assistants with direct access to the Linux terminal to execute shell commands, manage system processes, perform surgical file editing, and launch over 900 applications.
Allows for the management of persistent Node.js REPL sessions, enabling interactive JavaScript code execution through the terminal.
Facilitates data analysis and manipulation within persistent terminal-based Python processes using the pandas library.
Enables AI assistants to start and interact with persistent Python REPL sessions for interactive coding and execution within the terminal environment.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@TermPipe MCPfind all python files modified today and show their sizes"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
TermPipe MCP
Terminal automation that just works. Production-ready MCP server for Claude Desktop, iFlow CLI, and Gemini CLI.
What Is This?
TermPipe MCP gives AI assistants direct, intelligent access to your terminal. Execute commands, manage files, run REPLs, launch apps, and get AI-powered debugging assistance—all through a clean, reliable MCP interface.
The killer feature: Automated installation scripts that educate your AI assistants about available tools. iFlow and Gemini learn about TermPipe capabilities automatically—no manual explanation needed in every session.
Why TermPipe MCP?
✅ Just Works - One command installation with auto-configuration
🧠 AI Education - Assistants learn available tools automatically
🚀 Auto-Start - Optional systemd service for boot-time startup
🔧 Battle-Tested - 12 tool modules covering common automation needs
🎯 Zero Config Conflicts - Runs on port 8421, isolated from other tools
📝 Comprehensive - File ops, process management, search, debugging
Quick Start
Features
🔥 Core Capabilities
Command Execution - Run shell commands with intelligent error handling
Natural Language - Convert plain English to commands via iFlow API
Process Management - Interactive REPLs (Python, Node.js, etc.) with persistent sessions
File Operations - Read, write, surgical line-level editing
Smart Search - Stream-based file and content search
App Launching - Database of 900+ Linux applications
GUI Automation - wbind integration for desktop control
AI Debugging - iFlow and Gemini-powered debugging assistance
🎯 What Makes It Special
Automated AI Education: Installation scripts append comprehensive tool documentation to ~/.iflow/IFLOW.md and ~/.gemini/GEMINI.md. Your AI assistants know about TermPipe capabilities from day one—no repetitive explanations needed.
Systemd Auto-Start: Optional systemd service means the FastAPI backend starts on boot. Set it up once, never think about it again.
Surgical Editing: Line-level file editing tools that minimize token usage and prevent overwriting entire files unnecessarily.
Supported Clients
Claude Desktop ✅
iFlow CLI ✅ (with AI education)
Gemini CLI ✅ (with AI education)
Any MCP-compatible client ✅
Installation
Method 1: Automated (Recommended)
The installer:
Configures your MCP client(s) automatically
Educates AI assistants via memory files (iFlow/Gemini)
Optionally sets up systemd service for auto-start
Verifies everything works
Method 2: Manual
Then manually edit your MCP client config (see INSTALL.md).
Configuration
Get an iFlow API Key
Free tier available at: https://iflow.cn
The installer will prompt you for this, or run:
MCP Client Setup
Installation scripts handle this automatically, but manual configs are documented in:
Usage
After installation, your AI assistant has access to these tools:
See AUTOMATED_INSTALL.md for tool documentation that gets added to AI memory files.
Architecture
Two-component design:
MCP Server - Auto-started by MCP clients, provides tool interface
FastAPI Backend - Runs on port 8421, handles command execution
Port 8421 is used to avoid conflicts with the original TermPipe (port 8420).
Documentation
INSTALL.md - Complete installation guide
AUTOMATED_INSTALL.md - Installation scripts documentation
VERIFICATION.md - Testing and troubleshooting
SYSTEMD_SERVICE.md - Auto-start on boot setup
Development
Troubleshooting
Server won't start
MCP tools not appearing
Restart your MCP client (Claude Desktop, iFlow CLI, etc.)
Check client logs for connection errors
Verify
termcp serveris running
Import errors after installation
Requirements
Python 3.10+
pipx - For isolated package installation
jq - For installation scripts (JSON manipulation)
Linux - Primary platform (Ubuntu/Debian tested)
Install dependencies:
License
MIT © 2026 Craig Nelson
Contributing
Issues and pull requests welcome! This is a production tool being actively developed and used.
Credits
Built with:
Part of the TermPipe ecosystem.