Skip to main content
Glama
schajii

Shell Server

by schajii

Shell Server

A simple MCP server that exposes a terminal tool, allowing AI agents to execute shell commands.

Requirements

  • Python 3.10+

  • uv

Related MCP server: MCP Terminal Server

Setup

uv venv
uv sync

Running

uv run server.py

Or during development with the MCP inspector:

uv run mcp dev server.py

Tool

terminal

Executes a shell command and returns its output.

Input

Parameter

Type

Description

command

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.

Install Server
F
license - not found
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • F
    license
    -
    quality
    -
    maintenance
    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.
    Last updated

View all related MCP servers

Related MCP Connectors

  • MCP server exposing the Backtest360 engine API as tools for AI agents.

  • MCP server for AI dialogue using various LLM models via AceDataCloud

  • Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer

View all MCP Connectors

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