Skip to main content
Glama
mokemoke0821

MCP Server

by mokemoke0821

MCP 서버

MCP(Message Control Protocol) 서버는 Windows 환경에서 실행되는 셸 명령 실행 서버입니다. PowerShell, CMD 및 GitBash 쉘을 지원하며 특히 일본어 환경에서 사용하기에 최적화되어 있습니다.

특징

  • 다중 쉘 지원 : PowerShell, CMD, GitBash

  • 일본어 환경의 완전 대응 : UTF-8 / UTF-16LE 인코딩 처리

  • 특수 문자가 포함된 명령 처리 : 파이프라인(|), 세미콜론(;) 등의 특수 문자 지원

  • 향상된 파일 검색 기능 : 일본어 파일명 대응

Related MCP server: Remote Command MCP Server

설치

# 依存パッケージのインストール
npm install

사용방법

서버 시작

node server.js

또는 PM2를 사용하여:

# PM2 のセットアップ (初回のみ)
setup-pm2.bat

# PM2 での起動
pm2 start autostart.js

테스트

테스트 스크립트를 실행하여 기능을 확인할 수 있습니다.

# PowerShell 直接実行テスト
node test-direct-powershell.js

# MCP サーバー統合テスト
node test-mcp-server.js

개발

이 프로젝트는 세 번째 단계까지 개선을 구현합니다.

  1. 1단계 : 기본 기능 구현

  2. 두 번째 단계 : 버퍼 크기 증가, 종속 패키지 추가

  3. 3단계 : 일본어 환경 대응, 특수 문자 처리, 파일 검색 기능 개선

라이센스

MIT 라이센스

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    F
    maintenance
    A secure server that enables AI applications to execute shell commands in specified directories, supporting multiple shell types (bash, sh, cmd, powershell) with built-in security features like directory isolation and timeout control.
    1
    22
    Apache 2.0
  • A
    license
    A
    quality
    F
    maintenance
    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.
    9
    71 npm
    22
    MIT
  • A
    license
    B
    quality
    C
    maintenance
    Cross-platform command execution server that intelligently adapts shell commands to the operating system and detects project-specific package managers (npm/bun, pip/poetry), with runtime-editable command mappings per project.
    5
    9 npm
    1
    GPL 3.0