Shell 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., "@Shell Serverrun 'ls -la'"
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 Server
A simple MCP server that exposes a terminal tool, allowing AI agents to execute shell commands.
Requirements
Python 3.10+
Related MCP server: MCP Terminal Server
Setup
uv venv
uv syncRunning
uv run server.pyOr during development with the MCP inspector:
uv run mcp dev server.pyTool
terminal
Executes a shell command and returns its output.
Input
Parameter | Type | Description |
| string | The shell command to execute |
Output
{
"stdout": "...",
"stderr": "...",
"return_code": 0
}Connecting to Cursor
Add the following to ~/.cursor/mcp.json:
{
"mcpServers": {
"shellserver": {
"command": "uv",
"args": [
"--directory",
"/Users/sami/Documents/MCP/mcp-servers/shellserver",
"run",
"server.py"
]
}
}
}Then restart Cursor. The terminal tool will be available to the Agent.
Security
This server executes arbitrary shell commands. Only run it locally and never expose it over a network.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Latest Blog Posts
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/schajii/MCP-to-understand'
If you have feedback or need assistance with the MCP directory API, please join our Discord server