Skip to main content
Glama
ivannafigueroa

MCP Terminal Server

Servidor de terminales MCP

Un servidor MCP simple que expone una herramienta para ejecutar comandos de terminal.

Instalación

  1. Instalar el SDK de Python de MCP:

pip install mcp

Related MCP server: MCP Shell Server

Uso

  1. Iniciar el servidor:

python server.py
  1. Conéctese al servidor en un cliente compatible con MCP, como Claude Desktop:

mcp install server.py

O utilice el Inspector MCP para probarlo:

mcp dev server.py

Descripción general de la herramienta

Este servidor expone una herramienta:

comando_terminal

Ejecuta un comando de terminal y devuelve su salida.

Parámetros:

  • command : El comando a ejecutar en la terminal

Devoluciones:

  • Un diccionario que contiene:

    • stdout : La salida estándar del comando

    • stderr : La salida de error estándar del comando

    • return_code : El código de retorno del comando (0 generalmente significa éxito)

Ejemplo de uso en Claude:

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

Consideraciones de seguridad

Esta herramienta ejecuta comandos directamente en su sistema. Úsela con precaución, ya que puede ejecutar cualquier comando con los mismos permisos que el usuario que ejecuta el servidor.

Limitaciones

  • Los comandos expiran después de 30 segundos

  • Por razones de seguridad, considere implementar validaciones y restricciones adicionales en los comandos que se pueden ejecutar.

F
license - not found
Not graded
quality - not tested
D
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.

Related MCP Servers

  • A
    license
    C
    quality
    C
    maintenance
    A server that enables AI assistants to execute terminal commands and retrieve outputs via the Model Context Protocol (MCP).
    3
    27
    MIT
  • -
    license
    Not graded
    quality
    Not graded
    maintenance
    A simple MCP server that provides a terminal tool for executing shell commands with safety features like timeouts and error handling.
  • F
    license
    Not graded
    quality
    D
    maintenance
    A server implementation for the Model Context Protocol (MCP) that allows Claude AI to execute commands through a command-line interface, enabling direct system interactions from within Claude.
  • F
    license
    B
    quality
    D
    maintenance
    An MCP server that enables users to execute arbitrary shell commands on their local machine and receive the output. It provides a terminal tool for running system commands through MCP-compatible clients using the Python SDK.
    1

View all related MCP servers

Related MCP Connectors

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/ivannafigueroa/mcp-shell-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server