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
发展
该项目实施三个阶段的改进:
第一阶段:基本功能实现
第 2 阶段:增加缓冲区大小,添加依赖项
第三阶段:日语环境支持、特殊字符处理、文件搜索功能改进
执照
MIT 许可证
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
跨平台 shell 命令执行服务器,支持 Windows、macOS 和 Linux 环境,具有 PowerShell、CMD、GitBash 和 Bash shell,并针对日语环境进行了优化。
Related MCP Servers
- AsecurityAlicenseAqualityA 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.Last updated -113Apache 2.0
- AsecurityFlicenseAqualityA CLI command execution server that enables running shell commands with structured output, providing detailed execution results including stdout, stderr, exit code, and execution duration.Last updated -2346
- AsecurityAlicenseAqualityA Model Context Protocol server that enables remote execution of shell commands across different operating systems, automatically handling platform-specific differences between Windows and Unix-like systems.Last updated -1MIT License
- AsecurityAlicenseAqualityAn 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 -94297MIT License