MCP Terminal Tool Server
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., "@MCP Terminal Tool ServerList all files in my 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.
MCP Terminal Tool Server
This is a simple MCP server built with the MCP Python SDK. It exposes a single tool called terminal_tool that allows users to run terminal commands and returns their output.
Requirements
Python 3.8+
MCP Python SDK (
pip install mcp-sdk)
Related MCP server: MCP Terminal Server
Running the Server
python server.pyExposed Tool
terminal_tool
Description: Run a terminal command and return its output as a string.
Arguments:
command(str): The terminal command to execute.
Returns:
Output of the command as a string (stdout or stderr).
Note: Use with caution. This tool executes arbitrary shell commands on the server.
MCP Inspector & Claude Configuration
To connect this server to the MCP Inspector, Claude (Anthropic), or other MCP-compatible clients, use a configuration like the following:
{
"mcpServers": {
"terminal_tool": {
"command": "uv",
"args": [
"--directory",
"/path/to/your/project",
"run",
"server.py"
]
}
}
}Replace
/path/to/your/projectwith the absolute path to your project directory.This configuration will launch the server using
uvand connect via stdio transport (default).Claude (Anthropic) users: You can add this configuration to your Claude MCP settings to enable tool use with your local server.
For HTTP transport, start the server manually with
python server.py(oruv run server.py) and connect to the appropriate URL in the Inspector.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- AlicenseCqualityCmaintenanceA server that enables AI assistants to execute terminal commands and retrieve outputs via the Model Context Protocol (MCP).Last updated327MIT
- Flicense-qualityDmaintenanceA simple MCP server that allows running terminal commands with output capture, enabling command execution on the host system from MCP-compatible clients like Claude Desktop.Last updated1
- -license-quality-maintenanceA simple MCP server that provides a terminal tool for executing shell commands with safety features like timeouts and error handling.Last updated
- FlicenseAqualityDmaintenanceA lightweight MCP server that provides AI assistants with access to a system's terminal through a secure terminal tool. It enables users to execute shell commands and receive stdout, stderr, and exit codes directly within an MCP-compatible client.Last updated1
Related MCP Connectors
Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
MCP server exposing the Backtest360 engine API as tools for AI agents.
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/gkgaurav31/terminal-app-mcp-poc'
If you have feedback or need assistance with the MCP directory API, please join our Discord server