Terminal Controller MCP Server
FlowHunt’s Terminal Controller MCP Server gives AI agents secure, programmable access to terminal and filesystem operations for enhanced development automation.

What does “Terminal Controller” MCP Server do?
The Terminal Controller MCP Server is a Model Context Protocol (MCP) server designed to enable secure execution of terminal commands, directory navigation, and file system operations via a standardized interface. It acts as a bridge between AI assistants and the host environment, allowing AI agents to perform tasks such as running shell commands, managing directories, and manipulating files programmatically. With built-in security safeguards, command history tracking, and cross-platform compatibility, Terminal Controller enhances development workflows by giving AI-powered tools controlled access to a machine’s terminal and filesystem. This capability empowers AI assistants to automate, explore, and manage system-level tasks for developers in a safe and standardized way.
List of Prompts
No prompt templates were found in the repository or documentation.
List of Resources
No explicit MCP resources were defined in the repository or documentation.
List of Tools
- Command Execution: Allows running terminal commands with timeout controls and captures comprehensive output.
- Directory Management: Enables navigation and listing of directory contents with intuitive formatting.
- File Operations: Supports reading, writing, updating, inserting, and deleting file content with row-level precision.
- Command History: Tracks and displays recent command executions for auditing and repeatability.
Use Cases of this MCP Server
- Automated Command Execution: Developers can instruct AI assistants to safely run shell commands for building, testing, or deploying code, with output and errors captured.
- Directory and File Management: AI agents can help organize, browse, or manipulate files and folders, making it easier to automate codebase exploration or environment setup.
- Security-Conscious Scripting: Built-in safeguards help prevent dangerous commands, reducing risk when granting AI terminal access.
- System Monitoring and Auditing: Command history features allow for tracking what actions were performed, aiding in audits and workflow transparency.
- Cross-Platform Development: By supporting both Windows and UNIX-based systems, the MCP server facilitates consistent development experiences across diverse environments.
How to set it up
Windsurf
- Ensure Python 3.11+ is installed.
- Install the package via PyPI:
pip install terminal-controller
- Edit your Windsurf configuration file to add the MCP server:
{ "mcpServers": { "terminal-controller": { "command": "python", "args": ["-m", "terminal_controller"] } } }
- Save the configuration and restart Windsurf.
- Verify the MCP server is running and accessible.
Claude
- Install Python 3.11+ on your machine.
- For Claude Desktop, install via Smithery:
npx -y @smithery/cli install @GongRzhe/terminal-controller-mcp --client claude
- Alternatively, install via PyPI:
pip install terminal-controller
- Add the following to your Claude configuration:
{ "mcpServers": { "terminal-controller": { "command": "python", "args": ["-m", "terminal_controller"] } } }
- Restart Claude Desktop and ensure the MCP server is detected.
Cursor
- Ensure Node.js and Python 3.11+ are installed.
- Install terminal-controller:
pip install terminal-controller
- Add the MCP server to your Cursor config:
{ "mcpServers": { "terminal-controller": { "command": "python", "args": ["-m", "terminal_controller"] } } }
- Save the file and restart Cursor.
- Confirm integration by checking the tool list in Cursor.
Cline
- Make sure Python 3.11+ is available.
- Install the MCP server:
pip install terminal-controller
- Add the following snippet to your Cline configuration:
{ "mcpServers": { "terminal-controller": { "command": "python", "args": ["-m", "terminal_controller"] } } }
- Restart Cline after saving changes.
- Test by running a simple command through the MCP interface.
Securing API Keys
If API keys or secrets are required for your setup, use environment variables rather than hardcoding them. Example configuration:
{
"mcpServers": {
"terminal-controller": {
"command": "python",
"args": ["-m", "terminal_controller"],
"env": {
"MY_API_KEY": "${MY_API_KEY_ENV_VAR}"
},
"inputs": {
"api_key": "${MY_API_KEY_ENV_VAR}"
}
}
}
}
How to use this MCP inside flows
Using MCP in FlowHunt
To integrate MCP servers into your FlowHunt workflow, start by adding the MCP component to your flow and connecting it to your AI agent:

Click on the MCP component to open the configuration panel. In the system MCP configuration section, insert your MCP server details using this JSON format:
{
"terminal-controller": {
"transport": "streamable_http",
"url": "https://yourmcpserver.example/pathtothemcp/url"
}
}
Once configured, the AI agent is now able to use this MCP as a tool with access to all its functions and capabilities. Remember to change “terminal-controller” to whatever the actual name of your MCP server is and replace the URL with your own MCP server URL.
Overview
Section | Availability | Details/Notes |
---|---|---|
Overview | ✅ | |
List of Prompts | ⛔ | No prompt templates found |
List of Resources | ⛔ | No explicit MCP resources defined |
List of Tools | ✅ | Command execution, directory management, file operations |
Securing API Keys | ✅ | Environment variable usage possible in config |
Sampling Support (less important in evaluation) | ⛔ | Not mentioned |
Based on the above, Terminal Controller MCP provides essential terminal and filesystem access in a secure fashion, but lacks prompt templates and explicit resources. Its configuration is well-documented and cross-platform. Roots and sampling are not mentioned. Overall, this is a practical, safe, but relatively simple server for core DevOps or automation needs.
MCP Score
Has a LICENSE | ✅ (MIT) |
---|---|
Has at least one tool | ✅ |
Number of Forks | 14 |
Number of Stars | 60 |
Frequently asked questions
- What is the Terminal Controller MCP Server?
It is a Model Context Protocol server that securely exposes terminal command execution, directory navigation, and file management to AI agents, enabling automation and safe system access for development workflows.
- What tools does Terminal Controller provide?
It enables command execution, directory management, file operations (read, write, update, delete), and maintains command history for workflow transparency.
- How does Terminal Controller ensure security?
It includes built-in safeguards against dangerous commands and supports environment variable management for sensitive data, reducing risks when granting terminal access to AI.
- What platforms does it support?
Terminal Controller is cross-platform, supporting both Windows and UNIX-based systems for consistent developer experiences.
- How can I integrate Terminal Controller MCP in FlowHunt?
Add the MCP component to your FlowHunt flow and configure it with your MCP server details. This allows your AI agents to access terminal and file operations programmatically within your workflow.
Enable Secure Terminal Automation
Empower your AI assistants to automate development, testing, and system management with the secure, cross-platform Terminal Controller MCP.