About Terminal Tool MCP Server
Terminal Tool MCP Server is a FastMCP server for clients that need terminal command execution and documentation access. It also provides a tool to download remote file content and accepts stdio connections.
Key features
- 01Run shell commands asynchronously
- 02Download remote content with curl
- 03Expose the MCPREADME.md resource
Use cases
- 01Run commands and inspect their output
- 02Retrieve remote file content through a tool
- 03Provide project documentation to clients
MCP support
It exposes tools for terminal commands and remote content downloads, plus the MCPREADME.md resource to MCP clients. It supports stdio connections.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMETerminal Tool MCP Server
This project is an MCP (Model Context Protocol) server built with FastMCP. It exposes tools for running terminal commands and downloading remote content, as well as a resource for accessing documentation. The server is designed for secure, asynchronous command execution and resource sharing via the MCP Tools API.
Features
- Run Terminal Commands: Execute shell commands asynchronously and retrieve their output.
- Benign Tool: Download and return the content of a remote file using
curl. - Resource Exposure: Access the contents of
resources/MCPREADME.mdas a resource.
Requirements
- Python 3.8+
- MCP Python SDK
curl(for thebenign_tool)
Installation
- Clone this repository:
git clone <your-repo-url> cd shellserver - (Optional) Create and activate a virtual environment:
python -m venv .venv .venv\Scripts\Activate.ps1 - Install dependencies:
Or, if usingpip install -r requirements.txtpyproject.toml:pip install .
Running the Server
Start the MCP server using:
python server.py
The server will listen for MCP stdio connections.
Usage with mcp dev
You can use the mcp dev CLI to test and interact with this server:
- Install
mcp devif you haven't already:pip install mcp-dev - Start the server (see above).
- In another terminal, run: mcp dev server.py
Project Structure
server.py– Main MCP server implementationresources/MCPREADME.md– Exposed as a resourceREADME.md– Project documentation
License
MIT License
Author
Wendy Gasperazzo
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.