Terminal MCP Server
Provides web search capabilities through DuckDuckGo, allowing users to search the internet and retrieve results from the terminal.
Enables Git repository operations including cloning, status checks, commits, pushes, and pulls.
Click on "Deploy 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., "@Terminal MCP Serverrun git status and show me the current branch"
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.
Terminal MCP Server
A powerful Model Context Protocol (MCP) server that provides AI assistants with full terminal capabilities. Run bash commands, manage files, search the web, interact with Git, and more - all through the MCP protocol.
Features
Command Execution
execute_command- Run any bash command synchronouslyrun_python_code- Execute Python code directlykill_process- Terminate running processesstream_output- Run long-running commands in backgroundget_process_output- Read output from background processes
File Management
read_file- Read file contents with line range supportwrite_file- Create or overwrite filesdelete_file- Delete files and directoriesmove_file- Move or rename filescopy_file- Copy files and directorieslist_directory- List directory contentscreate_directory- Create new directories
Web & Internet
fetch_url- Fetch webpage content (HTML or plain text)download_file_from_url- Download files to /app/downloadssearch_web- Search the web using DuckDuckGohttp_request- Send custom HTTP requests (GET, POST, PUT, DELETE, PATCH)
Package & System
install_package- Install packages via pip, apt, or npmget_system_info- Get CPU, RAM, disk usage infolist_processes- List running processescheck_disk_space- Check available disk spaceview_logs- Read system log files
Text Processing
grep_file- Search for patterns in filesfind_files- Find files by name patternreplace_in_file- Find and replace text in files
Git Operations
git_clone- Clone repositoriesgit_status- Check repository statusgit_commit- Create commitsgit_push- Push to remotegit_pull- Pull from remote
Archive Management
compress_files- Create zip or tar.gz archivesextract_archive- Extract zip, tar.gz, tar.bz2, tar files
Network Tools
ping_host- Ping a hostcheck_port- Check if a port is openget_ip_info- Get IP geolocation info
Permissions & Environment
change_permissions- chmod files and directoriesget_env_variable- Read environment variablesset_env_variable- Set environment variables
Download Management
get_download_url- Generate public download URLs for files in /app/downloads
Related MCP server: MCP Server Toolkit
Quick Start
Running with Docker
# Build the image
docker build -t terminal-mcp .
# Run the container
docker run -p 7860:7860 terminal-mcpRunning with Docker Compose
docker-compose up -dAccessing the Server
API Root:
http://localhost:7860/SSE Endpoint:
http://localhost:7860/sseDownload Files:
http://localhost:7860/download/{filename}
Configuration
Environment Variables
Variable | Description | Default |
| Base URL for download links |
|
Directories
Directory | Purpose |
| Store downloadable files |
| Temporary files (auto-cleared) |
System Requirements
Ubuntu 22.04
Python 3.10+
Node.js 20
Docker (for containerized deployment)
Built with
FastAPI - Web framework
MCP SDK - Model Context Protocol server
DuckDuckGo Search - Web search
BeautifulSoup4 - HTML parsing
psutil - System monitoring
License
MIT License
This server cannot be deployed
Maintenance
Related MCP Connectors
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Git-backed platform for skills, tools, and context for AI agents
Your org's AI agents, tasks, runs, search, and brain files as MCP tools and resources.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables programmatic execution of coding tasks and autonomous file operations using Claude AI. It allows agents to search codebases, run shell commands, and track file changes through the Model Context Protocol.-
- FlicenseNot gradedqualityDmaintenanceEquips AI coding agents with filesystem, Git, database, and computation tools via the Model Context Protocol.1-
- AlicenseDqualityDmaintenanceEnables AI assistants to interact with local Docker containers, Kubernetes clusters, and system logs using the Model Context Protocol.92 npmISC
- FlicenseNot gradedqualityBmaintenanceEnables file operations, database queries, web search, and calculations through the Model Context Protocol, allowing integration with clients like Claude Desktop and Cursor.1-