Skip to main content
Glama
mokemoke0821

MCP Server

by mokemoke0821

MCP Server

MCP (Message Control Protocol) Server is a shell command execution server that runs in a Windows environment. It supports PowerShell, CMD, and GitBash shells, and is optimized for use in a Japanese environment.

Features

  • Multiple shell support : PowerShell, CMD, GitBash

  • Full support for Japanese environments : UTF-8/UTF-16LE encoding processing

  • Command processing with special characters : Supports special characters such as pipeline (|) and semicolon (;)

  • Improved file search function : Japanese file names are supported

Related MCP server: Remote Command MCP Server

install

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

How to use

Starting the Server

node server.js

Or using PM2:

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

# PM2 での起動
pm2 start autostart.js

test

You can run the test script to verify the functionality:

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

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

development

The project implements three phases of improvements:

  1. Phase 1 : Basic functionality implementation

  2. Phase 2 : Increase buffer size, add dependencies

  3. Phase 3 : Japanese environment support, special character processing, file search function improvement

license

MIT License

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
    21
    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
    73 npm
    21
    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
    2 npm
    1
    GPL 3.0