Skip to main content
Glama
ivannafigueroa

MCP Terminal Server

MCP 터미널 서버

터미널 명령을 실행하기 위한 도구를 제공하는 간단한 MCP 서버입니다.

설치

  1. MCP Python SDK를 설치하세요:

지엑스피1

Related MCP server: MCP Shell Server

용법

  1. 서버를 시작합니다:

python server.py
  1. Claude Desktop과 같은 MCP 호환 클라이언트에서 서버에 연결합니다.

mcp install server.py

또는 MCP Inspector를 사용하여 테스트하세요.

mcp dev server.py

도구 개요

이 서버는 하나의 도구를 제공합니다.

터미널_명령

터미널 명령을 실행하고 출력을 반환합니다.

매개변수:

  • command : 터미널에서 실행할 명령어

보고:

  • 다음 내용을 포함하는 사전:

    • stdout : 명령의 표준 출력

    • stderr : 명령의 표준 오류 출력

    • return_code : 명령의 반환 코드(일반적으로 0은 성공을 의미함)

Claude에서의 사용 예:

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

보안 고려 사항

이 도구는 시스템에서 직접 명령을 실행합니다. 서버를 실행하는 사용자와 동일한 권한으로 모든 명령을 실행할 수 있으므로 주의해서 사용해야 합니다.

제한 사항

  • 명령은 30초 후에 시간 초과됩니다.

  • 보안상의 이유로 실행 가능한 명령에 대한 추가 검증 및 제한을 구현하는 것을 고려하십시오.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

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
    -