Skip to main content
Glama

cmd-mcp-server

CMD MCP 서버

npm 다운로드 Windows와 Linux 모두에서 CMD 명령을 실행하고 SSH 연결을 허용하는 모델 컨텍스트 프로토콜(MCP) 서버 구현입니다. 이 서버를 사용하면 명령줄 작업을 MCP 호환 애플리케이션과 통합할 수 있습니다.

특징

  • MCP를 통해 CMD 명령 실행
  • TypeScript 구현
  • 공식 MCP SDK 기반으로 구축됨
  • 크로스 플랫폼 호환성

설치

Smithery를 통해 설치

Smithery를 통해 Claude Desktop용 CMD 서버를 자동으로 설치하려면:

지엑스피1

수동 설치

npm install server-cmd

필수 조건

  • Node.js(v16 이상 권장)
  • npm 또는 yarn 패키지 관리자

용법

import { MCPCmdServer } from 'server-cmd'; // Initialize the server const server = new MCPCmdServer(); // Start the server server.start();

구성

서버는 환경 변수나 구성 객체를 통해 구성될 수 있습니다.

const config = { // Add your configuration options here }; const server = new MCPCmdServer(config);

개발

개발 환경을 설정하려면:

  1. 저장소를 복제합니다.
git clone https://github.com/PhialsBasement/CMD-MCP-Server.git cd CMD-MCP-Server
  1. 종속성 설치:
npm install
  1. 프로젝트를 빌드하세요:
npm run build

스크립트

  • npm run build - TypeScript를 JavaScript로 컴파일
  • npm run prepare - 패키지 게시 준비

종속성

  • @modelcontextprotocol/sdk : ^1.0.1
  • glob : ^10.3.10
  • zod-to-json-schema : ^3.23.5

기여하다

기여를 환영합니다! 풀 리퀘스트를 제출해 주세요.

특허

이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여되었습니다. 자세한 내용은 라이선스 파일을 참조하세요.

보안

명령줄 작업을 실행하는 것은 잠재적으로 위험할 수 있습니다. 프로덕션 환경에서 이 서버를 사용할 때는 적절한 보안 조치를 구현하고 입력 유효성 검사를 수행해야 합니다.

지원하다

문제 및 기능 요청은 GitHub 문제 추적기를 이용해 주세요.

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

CMD를 통한 모든 명령 실행을 허용하는 MCP 서버

  1. 특징
    1. 설치
      1. Smithery를 통해 설치
      2. 수동 설치
    2. 필수 조건
      1. 용법
        1. 구성
          1. 개발
            1. 스크립트
              1. 종속성
                1. 기여하다
                  1. 특허
                    1. 보안
                      1. 지원하다

                        Related MCP Servers

                        • A
                          security
                          A
                          license
                          A
                          quality
                          An MCP server to run commands.
                          Last updated -
                          2
                          265
                          150
                          TypeScript
                          MIT License
                          • Apple
                        • A
                          security
                          A
                          license
                          A
                          quality
                          A secure shell command execution server implementing the Model Context Protocol (MCP). This server allows remote execution of whitelisted shell commands with support for stdin input.
                          Last updated -
                          1
                          74
                          Python
                          MIT License
                          • Apple
                        • A
                          security
                          A
                          license
                          A
                          quality
                          A secure MCP server for executing whitelisted shell commands with resource and timeout controls, designed for integration with Claude and other MCP-compatible LLMs.
                          Last updated -
                          20
                          143
                          2
                          TypeScript
                          MIT License
                        • -
                          security
                          A
                          license
                          -
                          quality
                          An MCP server that enables secure execution of shell commands across Windows, macOS, and Linux with built-in whitelisting and approval mechanisms for enhanced security.
                          Last updated -
                          13
                          JavaScript
                          MIT License
                          • Linux
                          • Apple

                        View all related MCP servers

                        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/PhialsBasement/CMD-MCP-Server'

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