MCP Server

by mokemoke0821
Verified

local-only server

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

Integrations

  • Supports GitBash as one of the shell options, enabling command execution in Git environments across platforms

  • Optimized for Linux environments with platform-specific path conversion and Bash shell support

  • Fully supports macOS with platform-specific path handling and Bash shell integration

MCP サーバー

MCP (Message Control Protocol) サーバーは、Windows 環境で動作するシェルコマンド実行サーバーです。PowerShell、CMD、GitBash の各シェルをサポートし、特に日本語環境での使用に最適化されています。

特徴

  • 複数シェルサポート: PowerShell、CMD、GitBash
  • 日本語環境の完全対応: UTF-8/UTF-16LE エンコーディング処理
  • 特殊文字を含むコマンド処理: パイプライン(|)、セミコロン(;)などの特殊文字をサポート
  • 強化されたファイル検索機能: 日本語ファイル名対応

インストール

# 依存パッケージのインストール 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

開発

このプロジェクトは第3フェーズまでの改善を実装しています:

  1. 第1フェーズ: 基本機能実装
  2. 第2フェーズ: バッファサイズ増量、依存パッケージ追加
  3. 第3フェーズ: 日本語環境対応、特殊文字処理、ファイル検索機能改善

ライセンス

MITライセンス

-
security - not tested
F
license - not found
-
quality - not tested

A cross-platform shell command execution server that supports Windows, macOS, and Linux environments with PowerShell, CMD, GitBash, and Bash shells, optimized for Japanese language environments.

  1. 特徴
    1. インストール
      1. 使用方法
        1. サーバーの起動
      2. テスト
        1. 開発
          1. ライセンス