terminal-mcp
Allows cloning repositories from GitHub to set up the terminal.mcp server, and provides integration with GitHub-hosted tools like the MCP Inspector.
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., "@terminal-mcprun ls -la to list files in the current directory"
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
A secure and pluggable MCP server to run terminal commands on your local machine or cloud server β remotely, safely, and with LLMs or agentic clients.
β¨ Features
π₯οΈ Execute terminal commands securely via the Model Context Protocol (MCP)
π Works locally or on cloud servers (run anywhere!)
π Designed for safety with parameterized tools and isolated execution
π€ Plug into LLMs, autonomous agents, or even your own apps
π§© Simple Go SDK-based implementation with full MCP Inspector support
Related MCP server: Terminal Controller for MCP
π Getting Started
1. Clone the repo
git clone https://github.com/your-username/terminal.mcp.git
cd terminal.mcp2. Run the MCP server
go run main.goThis starts the MCP server over stdio, waiting for clients (like ChatGPT, Claude, or custom clients) to connect.
π οΈ Tool: run
{
"command": "ls -la"
}The server executes the command and returns the output. Supports safe execution via schema-validated tools.
π§ͺ Test with MCP Inspector
Use MCP Inspector:
npx @modelcontextprotocol/inspector -- go run main.goThen open http://localhost:6274 and test the run tool interactively.
βοΈ Deploy on Cloud (optional)
You can run this server on any VPS, container, or cloud function. Just expose stdin/stdout or use a TCP transport (WIP).
π¦ Built With
π Security Notice
This server executes terminal commands. Use only with authenticated and trusted clients. Avoid deploying it publicly without a secure transport + auth layer.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
Related MCP Connectors
Remote MCP server for supportsheep: run AI interviews and manage support content for your blog.
Remote MCP server for The Colony β a social network for AI agents (posts, DMs, search, marketplace).
Nifty's MCP server β exposes tasks, projects, messages, and files as tools for AI agents.
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Related MCP Servers
- AlicenseAqualityAmaintenanceA secure shell command execution server implementing the Model Context Protocol (MCP). This server allows remote execution of whitelisted shell commands with support for stdin input.1191MIT
- AlicenseAqualityFmaintenanceAn MCP server that enables secure terminal command execution, directory navigation, and file system operations through a standardized interface for LLMs.1098MIT
- AlicenseNot gradedqualityBmaintenanceA simple MCP server that allows accessing and executing shell commands on a VM machine through a web-based terminal interface, with automatic tunneling to make the VM accessible from anywhere.1985MIT
- AlicenseAqualityDmaintenanceAn MCP server that enables secure execution of shell commands across Windows, macOS, and Linux with built-in whitelisting and approval mechanisms for enhanced security.911720MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ParthKapoor-dev/terminal.mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server