Skip to main content
Glama

MCP Server

by mokemoke0821

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

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,并针对日语环境进行了优化。

  1. 特征
    1. 安装
      1. 如何使用
        1. 启动服务器
      2. 测试
        1. 发展
          1. 执照

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              A secure shell command execution server implementing the Model Context Protocol (MCP). This server allows remote execution of whitelisted shell commands with support for stdin input.
              Last updated -
              1
              74
              Python
              MIT License
              • Apple
            • A
              security
              A
              license
              A
              quality
              A secure server for executing terminal commands within predefined paths, allowing safe interaction by Large Language Models with operating system environments.
              Last updated -
              1
              11
              3
              JavaScript
              MIT License
              • Apple
              • Linux
            • A
              security
              F
              license
              A
              quality
              A 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 -
              2
              16
              TypeScript
              • Apple
            • -
              security
              A
              license
              -
              quality
              A 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 -
              JavaScript
              MIT License
              • Linux

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/mokemoke0821/MCP'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server