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(消息控制协议)服务器是一个在Windows环境中运行的shell命令执行服务器。它支持 PowerShell、CMD 和 GitBash shell,并且特别针对日语环境进行了优化。

特征

  • 多 shell 支持: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

发展

该项目实施三个阶段的改进:

  1. 第一阶段:基本功能实现
  2. 第 2 阶段:增加缓冲区大小,添加依赖项
  3. 第三阶段:日语环境支持、特殊字符处理、文件搜索功能改进

执照

MIT 许可证

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

跨平台 shell 命令执行服务器,支持 Windows、macOS 和 Linux 环境,具有 PowerShell、CMD、GitBash 和 Bash shell,并针对日语环境进行了优化。

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