Skip to main content
Glama
ivannafigueroa

MCP Terminal Server

MCP ターミナルサーバー

ターミナル コマンドを実行するためのツールを公開するシンプルな MCP サーバー。

インストール

  1. MCP Python SDK をインストールします。

pip install mcp

Related MCP server: MCP Shell Server

使用法

  1. サーバーを起動します。

python server.py
  1. Claude Desktop などの MCP 互換クライアントでサーバーに接続します。

mcp install server.py

または、MCP Inspector を使用してテストします。

mcp dev server.py

ツールの概要

このサーバーは 1 つのツールを公開します:

端末コマンド

ターミナルコマンドを実行し、その出力を返します。

パラメータ:

  • command : ターミナルで実行するコマンド

戻り値:

  • 次の内容を含む辞書:

    • stdout : コマンドからの標準出力

    • stderr : コマンドからの標準エラー出力

    • return_code : コマンドの戻りコード(通常、0は成功を意味します)

Claudeでの使用例:

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

セキュリティに関する考慮事項

このツールはシステム上で直接コマンドを実行します。サーバーを実行しているユーザーと同じ権限で任意のコマンドを実行できるため、注意して使用してください。

制限事項

  • コマンドは30秒後にタイムアウトします

  • セキュリティ上の理由から、実行可能なコマンドに対して追加の検証と制限を実装することを検討してください。

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