🖥️ シェル MCP サーバー
🚀 Shell MCP サーバーを使用して、AI アプリケーションに安全なシェル コマンド実行機能を追加します。モデル コンテキスト プロトコル用に構築されています。
✨ 特徴
- 🔒セキュア実行- コマンドは指定されたディレクトリ内でのみ実行されます
- 🐚複数のシェル- bash、sh、cmd、powershell をサポート
- ⏱️タイムアウト制御- 長時間実行されるコマンドの自動終了
- 🌍クロスプラットフォーム- Unix と Windows の両方のシステムで動作します
- 🛡️デフォルトで安全- ディレクトリとシェルの検証が組み込まれています
🚀 クイックスタート
インストール
🔌 クロード デスクトップ統合
シェル コマンドの実行を有効にするには、Claude Desktop 構成にこれを追加します。
🎮 使用例
基本的なファイル操作
プロジェクト管理
システム情報
ファイル処理
Windows固有の例
⚙️ 構成
コマンドライン引数を使用して動作を構成します。
口論 | 説明 |
---|---|
directories | 📁 許可されたディレクトリのリスト |
--shell name path | 🐚 シェルの仕様(名前とパス) |
環境変数:
COMMAND_TIMEOUT
: ⏱️ 最大実行時間(秒)(デフォルト: 30)
🛡️ セキュリティ機能
- 🔐ディレクトリ分離: コマンドは指定されたディレクトリ内でのみ実行できます
- 🔒シェル制御: 設定されたシェルのみが許可されます
- ⏰タイムアウト保護: すべてのコマンドには設定可能なタイムアウトがあります
- 🛑パス検証: 作業ディレクトリの検証によりトラバーサル攻撃を防止
- 👤権限分離: コマンドはサーバープロセスと同じ権限で実行されます
🛠️ 開発
開発環境をセットアップします。
🤝 貢献する
貢献大歓迎!お気軽にどうぞ:
- 🐛 バグを報告する
- 💡 機能を提案する
- 🔧 プルリクエストを送信する
- 📚 ドキュメントの改善
📜 ライセンス
MIT ライセンス - 詳細についてはライセンスを参照してください。
🌟 セキュア シェル アクセスで AI を強化しましょう! 🌟
モデルコンテキストプロトコル向けに構築 | MCPコミュニティによって愛を込めて作成
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
AI アプリケーションが指定されたディレクトリでシェル コマンドを実行できるようにする安全なサーバーです。ディレクトリ分離やタイムアウト制御などのセキュリティ機能が組み込まれており、複数のシェル タイプ (bash、sh、cmd、powershell) をサポートします。
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityA 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 -174PythonMIT License
- AsecurityAlicenseAqualityA secure server for executing terminal commands within predefined paths, allowing safe interaction by Large Language Models with operating system environments.Last updated -1113JavaScriptMIT License
- AsecurityAlicenseAqualityA Node.js implementation of the Model Context Protocol that provides secure shell command execution capabilities, allowing AI models like Claude to run shell commands in a controlled environment with built-in security measures.Last updated -111025JavaScriptMIT License
- AsecurityAlicenseAqualityA server that uses the Model Context Protocol (MCP) to allow AI agents to safely execute shell commands on a host system.Last updated -1762TypeScriptMIT License