Skip to main content
Glama

cmd-mcp-server

CMD MCP サーバー

npmダウンロード WindowsとLinuxの両方でCMDコマンドを実行し、SSH接続を可能にするモデルコンテキストプロトコル(MCP)サーバー実装。このサーバーにより、コマンドライン操作をMCP対応アプリケーションに統合できます。

特徴

  • MCP を介して CMD コマンドを実行する
  • TypeScript実装
  • 公式MCP SDKをベースに構築
  • クロスプラットフォームの互換性

インストール

Smithery経由でインストール

Smithery経由で Claude Desktop 用の CMD サーバーを自動的にインストールするには:

npx -y @smithery/cli install server-cmd --client claude

手動インストール

npm install server-cmd

前提条件

  • Node.js(v16以上を推奨)
  • npm または yarn パッケージマネージャー

使用法

import { MCPCmdServer } from 'server-cmd'; // Initialize the server const server = new MCPCmdServer(); // Start the server server.start();

構成

サーバーは、環境変数または構成オブジェクトを通じて構成できます。

const config = { // Add your configuration options here }; const server = new MCPCmdServer(config);

発達

開発環境をセットアップするには:

  1. リポジトリをクローンします。
git clone https://github.com/PhialsBasement/CMD-MCP-Server.git cd CMD-MCP-Server
  1. 依存関係をインストールします:
npm install
  1. プロジェクトをビルドします。
npm run build

スクリプト

  • npm run build - TypeScript を JavaScript にコンパイルする
  • npm run prepare - 公開用のパッケージを準備する

依存関係

  • @modelcontextprotocol/sdk : ^1.0.1
  • glob :^10.3.10
  • zod-to-json-schema : ^3.23.5

貢献

貢献を歓迎します!お気軽にプルリクエストを送信してください。

ライセンス

このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細については LICENSE ファイルを参照してください。

安全

コマンドライン操作の実行は潜在的に危険を伴う可能性があることにご注意ください。本番環境でこのサーバーを使用する場合は、適切なセキュリティ対策と入力検証を実装してください。

サポート

問題や機能のリクエストについては、 GitHub の問題追跡ツールを使用してください。

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

local-only server

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

CMD経由であらゆるコマンド実行を許可するMCPサーバー

  1. 特徴
    1. インストール
      1. Smithery経由でインストール
      2. 手動インストール
    2. 前提条件
      1. 使用法
        1. 構成
          1. 発達
            1. スクリプト
              1. 依存関係
                1. 貢献
                  1. ライセンス
                    1. 安全
                      1. サポート

                        Related MCP Servers

                        • A
                          security
                          A
                          license
                          A
                          quality
                          An MCP server to run commands.
                          Last updated -
                          2
                          265
                          150
                          TypeScript
                          MIT License
                          • Apple
                        • 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 MCP server for executing whitelisted shell commands with resource and timeout controls, designed for integration with Claude and other MCP-compatible LLMs.
                          Last updated -
                          20
                          143
                          2
                          TypeScript
                          MIT License
                        • -
                          security
                          A
                          license
                          -
                          quality
                          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.
                          Last updated -
                          13
                          JavaScript
                          MIT License
                          • Linux
                          • Apple

                        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/PhialsBasement/CMD-MCP-Server'

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