Shell MCP Server
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., "@Shell MCP Serverlist files in 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.
Shell MCP Server
Simple Model Context Protocol (MCP) server that exposes a single terminal tool for running shell commands.
Prerequisites
Python 3.11+
uv or
pip
Installation
uv sync
# or
pip install -e .Usage
Run the server over stdio:
python main.pyThe server registers a terminal tool. Invoke it with an object shaped like:
{
"command": "echo hello"
}Command output is returned as MCP TextContent. Errors are surfaced with a prefixed Error: message.
Resource
This server exposes a resource:
ID:
mcpreadme://desktopReturns the contents of
mcpreadme.mdresolved from OneDrive Desktop.
Resolution order:
$OneDrive/Desktop/mcpreadme.md~/OneDrive/Desktop/mcpreadme.md~/Desktop/mcpreadme.md
If the file is missing or unreadable, a textual error message is returned.
Docker
Build and run with uv inside the container (per uv Docker guide):
docker build -t shellserver .
docker run --rm -it shellserverThis image installs uv from the official image and uses:
Dependency caching layers via
uv sync --no-install-projectFinal run command equivalent to local:
uv run main.py
Reference: uv Docker integration docs: Installing a project
Available Tools
1 toolterminalD
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Tool has no description.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Tool has no description.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Tool has no description.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Tool has no description.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Tool has no description.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Tool has no description.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
1 tool update
v0.1.0- First observed
terminal
TDQS
Scored across 1 tool
Only one tool exists, so there is no ambiguity about which tool to use.
With only one tool, naming consistency is not applicable; however, the name 'terminal' is a simple noun, which is acceptable but lacks a verb pattern.
A single tool for a shell server is too few; typical shell operations (e.g., run command, list files, manage processes) are all collapsed into one tool, making it overly broad and not well-scoped.
The tool surface is severely incomplete for a shell server, as it lacks explicit tools for common operations like file management, process control, or environment configuration, forcing the agent to rely on a single generic tool.
Maintenance
Related MCP Connectors
Manage files and folders directly from your workspace. Read and write files, list directories, cre…
Access the GitHub API, enabling file operations, repository management, search functionality, and…
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…
Run commands on your computers remotely with TRIGGERcmd.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables execution of shell commands through a terminal tool with working directory support and timeout protection. Also provides access to MCP documentation as a resource.-
- AlicenseBqualityDmaintenanceEnables execution of terminal commands, git operations, and automated setup of React, Vue, and Next.js projects with VSCode integration.712 npmMIT
- AlicenseAqualityBmaintenanceEnables secure command-line interactions on Windows systems with support for PowerShell, CMD, Git Bash, and WSL shells, providing controlled file access, command execution, and configurable security restrictions.614 npm4MIT
- FlicenseNot gradedqualityDmaintenanceEnables GPT Desktop to interact with local file systems and execute shell commands. Supports file operations (read, write, edit, delete), directory management, file search, and git status checks through natural language.-