Related MCP Server Resources

Explore more AI models, providers, and integration options:

  • Explore AI Models
  • Explore AI Providers
  • Explore MCP Servers
  • LangDB Pricing
  • Documentation
  • AI Industry Blog
  • MCP SSH Server
  • Ramp MCP Server
  • Amazon VPC Lattice MCP Server
  • Kali Linux MCP Server
  • ERPNext MCP Server
Back to MCP Servers
MCP Terminal Server

MCP Terminal Server

Public
ivannafigueroa/mcp-shell-server

A Model Context Protocol server enabling execution of terminal commands with output retrieval, offering command execution capabilities via MCP-compatible clients while emphasizing security and timeout limitations.

python
0 tools
May 30, 2025
Updated Jun 4, 2025

Supercharge Your AI with MCP Terminal Server

MCP Server

Unlock the full potential of MCP Terminal Server through LangDB's AI Gateway. Get enterprise-grade security, analytics, and seamless integration with zero configuration.

Unified API Access
Complete Tracing
Instant Setup
Get Started Now

Free tier available • No credit card required

Instant Setup
99.9% Uptime
10,000+Monthly Requests

MCP Terminal Server

A simple MCP server that exposes a tool for running terminal commands.

Installation

  1. Install the MCP Python SDK:
pip install mcp

Usage

  1. Start the server:
python server.py
  1. Connect to the server in an MCP-compatible client, such as Claude Desktop:
mcp install server.py

Or use the MCP Inspector to test it:

mcp dev server.py

Tool Overview

This server exposes one tool:

terminal_command

Runs a terminal command and returns its output.

Parameters:

  • command: The command to run in the terminal

Returns:

  • A dictionary containing:
    • stdout: The standard output from the command
    • stderr: The standard error output from the command
    • return_code: The command's return code (0 typically means success)

Example Usage in Claude:

Can you list the files in the current directory using the terminal tool?

Security Considerations

This tool executes commands directly on your system. Use with caution as it can run any command with the same permissions as the user running the server.

Limitations

  • Commands timeout after 30 seconds
  • For security reasons, consider implementing additional validation and restrictions on the commands that can be executed
Publicly Shared Threads0

Discover shared experiences

Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!

Share your threads to help others
Related MCPs5
  • MCP SSH Server
    MCP SSH Server

    Secure Model Context Protocol (MCP) SSH server enabling remote command execution, file and directory...

    Added May 30, 2025
  • Ramp MCP Server
    Ramp MCP Server

    Model Context Protocol server enabling efficient retrieval, analysis, and task execution on Ramp dat...

    Added May 30, 2025
  • Amazon VPC Lattice MCP Server
    Amazon VPC Lattice MCP Server

    Model Context Protocol server offering tools to access, manage, and automate AWS VPC Lattice resourc...

    2 tools
    Added May 30, 2025
  • Kali Linux MCP Server
    Kali Linux MCP Server

    A Kali Linux-based Model Context Protocol (MCP) server enabling execution of returnable commands for...

    5 tools
    Added May 30, 2025
  • ERPNext MCP Server
    ERPNext MCP Server

    Model Context Protocol server enabling seamless integration with ERPNext via API, offering authentic...

    Added May 30, 2025