Skip to main content
Glama
cfdude

Super Shell MCP Server

by cfdude

スーパーシェルMCPサーバー

鍛冶屋のバッジ

複数のプラットフォーム(Windows、macOS、Linux)でシェルコマンドを実行するためのMCP(Model Context Protocol)サーバー。このサーバーは、ホワイトリストと承認メカニズムを組み込んだ安全なシェルコマンド実行方法を提供します。

特徴

  • Windows、macOS、Linux で MCP を介してシェル コマンドを実行する

  • 自動プラットフォーム検出とシェル選択

  • 複数のシェルのサポート:

    • Windows : cmd.exe、PowerShell

    • macOS : zsh、bash、sh

    • Linux : bash、sh、zsh

  • セキュリティ レベルによるコマンドのホワイトリスト:

    • 安全: 承認なしで実行できるコマンド

    • 承認が必要: 実行前に明示的な承認が必要なコマンド

    • 禁止: 明示的にブロックされているコマンド

  • プラットフォーム固有のコマンドホワイトリスト

  • 潜在的に危険なコマンドに対する非ブロッキング承認ワークフロー

  • ファイルベースのログを備えた包括的なログシステム

  • 包括的なコマンド管理ツール

  • 診断用プラットフォーム情報ツール

Related MCP server: Mac Shell MCP Server

インストール

Smithery経由でインストール

Smithery経由で Claude Desktop 用の Super Shell MCP Server を自動的にインストールするには:

npx -y @smithery/cli install @cfdude/super-shell-mcp --client claude

手動でインストールする

# Clone the repository
git clone https://github.com/cfdude/super-shell-mcp.git
cd super-shell-mcp

# Install dependencies
npm install

# Build the project
npm run build

使用法

サーバーの起動

npm start

または直接:

node build/index.js

Roo CodeとClaude Desktopでの設定

Roo CodeとClaude Desktopはどちらも、MCPサーバーに同様の設定形式を使用しています。Super Shell MCPサーバーの設定方法は次のとおりです。

オプション 1: NPX を使用する (推奨)

Super Shell MCPを使用する最も簡単な方法はNPXを使用することです。NPXを使用すると、npmからパッケージが自動的にインストールされ、実行されるため、手動での設定は不要です。パッケージはNPMのhttps://www.npmjs.com/package/super-shell-mcpから入手できます。

NPXを使用したRooコード構成
"super-shell": {
  "command": "npx",
  "args": [
    "-y",
    "super-shell-mcp"
  ],
  "alwaysAllow": [],
  "disabled": false
}
NPXを使用したClaudeデスクトップ構成
"super-shell": {
  "command": "npx",
  "args": [
    "-y",
    "super-shell-mcp"
  ],
  "alwaysAllow": false,
  "disabled": false
}

オプション2: ローカルインストールを使用する

ローカル インストールを使用する場合は、Roo Code MCP 設定構成ファイル ( ~/Library/Application Support/Code/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.jsonにあります) に次の内容を追加します。

"super-shell": {
  "command": "node",
  "args": [
    "/path/to/super-shell-mcp/build/index.js"
  ],
  "alwaysAllow": [],
  "disabled": false
}

オプションで、シェル パラメータを追加してカスタム シェルを指定することもできます。

"super-shell": {
  "command": "node",
  "args": [
    "/path/to/super-shell-mcp/build/index.js",
    "--shell=/usr/bin/bash"
  ],
  "alwaysAllow": [],
  "disabled": false
}

Windows 11の例

"super-shell": {
      "command": "C:\\Program Files\\nodejs\\node.exe",
      "args": [
        "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npx-cli.js",
        "-y",
        "super-shell-mcp",
        "C:\\Users\\username"
      ],
      "alwaysAllow": [],
      "disabled": false
    }

クロードデスクトップ構成

Claude Desktop 構成ファイル ( ~/Library/Application Support/Claude/claude_desktop_config.jsonにあります) に次のコードを追加します。

"super-shell": {
  "command": "node",
  "args": [
    "/path/to/super-shell-mcp/build/index.js"
  ],
  "alwaysAllow": false,
  "disabled": false
}

Windows ユーザーの場合、構成ファイルは通常%APPDATA%\Claude\claude_desktop_config.jsonにあります。

プラットフォーム固有の構成

ウィンドウズ

  • デフォルトのシェル: cmd.exe (または PowerShell (使用可能な場合))

  • 構成パス:

    • Roo コード: %APPDATA%\Code\User\globalStorage\rooveterinaryinc.roo-cline\settings\cline_mcp_settings.json

    • クロード デスクトップ: %APPDATA%\Claude\claude_desktop_config.json

  • シェルパスの例:

    • cmd.exe: C:\\Windows\\System32\\cmd.exe

    • PowerShell: C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe

    • PowerShell コア: C:\\Program Files\\PowerShell\\7\\pwsh.exe

macOS

  • デフォルトのシェル: /bin/zsh

  • 構成パス:

    • Roo コード: ~/Library/Application Support/Code/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.json

    • Claude デスクトップ: ~/Library/Application Support/Claude/claude_desktop_config.json

  • シェルパスの例:

    • zsh: /bin/zsh

    • バッシュ: /bin/bash

    • sh: /bin/sh

リナックス

  • デフォルトのシェル: /bin/bash (または $SHELL 環境変数)

  • 構成パス:

    • Roo コード: ~/.config/Code/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.json

    • クロード デスクトップ: ~/.config/Claude/claude_desktop_config.json

  • シェルパスの例:

    • バッシュ: /bin/bash

    • sh: /bin/sh

    • zsh: /usr/bin/zsh

オプションでカスタム シェルを指定することもできます。

"super-shell": {
  "command": "node",
  "args": [
    "/path/to/super-shell-mcp/build/index.js",
    "--shell=C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe"
  ],
  "alwaysAllow": false,
  "disabled": false
}

/path/to/super-shell-mcpを、リポジトリのクローンを作成した実際のパスに置き換えます。

注記

  • Roo Codeの場合:セキュリティ上の理由から、 alwaysAllow空の配列[]に設定することを推奨します。これにより、コマンド実行前に承認を求めるプロンプトが表示されます。特定のコマンドをプロンプトなしで許可したい場合は、そのコマンドの名前を配列に追加します。例: "alwaysAllow": ["execute_command", "get_whitelist"]

  • Claude Desktopの場合:セキュリティ上の理由から、 alwaysAllowfalseに設定することをお勧めします。Claude Desktopでは、配列ではなくブール値を使用します。false falseすべてのコマンドに承認が必要であり、 trueはすべてのコマンドがプロンプトなしで許可されることを意味します。

重要alwaysAllowパラメータは、Super Shell MCPサーバー自体ではなく、MCPクライアント(Roo CodeまたはClaude Desktop)によって処理されます。クライアントはサーバーにリクエストを送信する前に承認プロセスを処理するため、サーバーはどちらの形式でも正常に動作します。

利用可能なツール

サーバーは次の MCP ツールを公開します。

get_platform_info

現在のプラットフォームとシェルに関する情報を取得します。

{}

execute_command

現在のプラットフォームでシェル コマンドを実行します。

{
  "command": "ls",
  "args": ["-la"]
}

get_whitelist

ホワイトリストに登録されたコマンドのリストを取得します。

{}

add_to_whitelist

コマンドをホワイトリストに追加します。

{
  "command": "python3",
  "securityLevel": "safe",
  "description": "Run Python 3 scripts"
}

update_security_level

ホワイトリストに登録されたコマンドのセキュリティ レベルを更新します。

{
  "command": "python3",
  "securityLevel": "requires_approval"
}

remove_from_whitelist

ホワイトリストからコマンドを削除します。

{
  "command": "python3"
}

get_pending_commands

承認待ちのコマンドのリストを取得します。

{}

approve_command

保留中のコマンドを承認します。

{
  "commandId": "command-uuid-here"
}

deny_command

保留中のコマンドを拒否します。

{
  "commandId": "command-uuid-here",
  "reason": "This command is potentially dangerous"
}

デフォルトのホワイトリストコマンド

サーバーには、検出されたプラットフォームに基づいて自動的に選択されるプラットフォーム固有のコマンド ホワイトリストが含まれています。

一般的なセーフコマンド(全プラットフォーム)

  • echo - 標準出力にテキストを出力する

Unixライクな安全なコマンド(macOS/Linux)

  • ls - ディレクトリの内容を一覧表示する

  • pwd - 作業ディレクトリを印刷する

  • echo - 標準出力にテキストを出力する

  • cat - ファイルを連結して印刷する

  • grep - ファイル内のパターンを検索する

  • find - ディレクトリ階層内のファイルを検索する

  • cd - ディレクトリを変更する

  • head - ファイルの最初の部分を出力する

  • tail - ファイルの最後の部分を出力する

  • wc - 改行、単語、バイト数を出力する

Windows固有のセーフコマンド

  • dir - ディレクトリの内容を一覧表示する

  • type - テキストファイルの内容を表示する

  • findstr - ファイル内の文字列を検索する

  • where - プログラムを探す

  • whoami - 現在のユーザーを表示する

  • hostname - コンピュータ名を表示する

  • ver - オペレーティングシステムのバージョンを表示する

承認が必要なコマンド

承認が必要なWindowsコマンド

  • copy - ファイルをコピーする

  • move - ファイルを移動する

  • mkdir - ディレクトリを作成する

  • rmdir - ディレクトリを削除する

  • rename - ファイルの名前を変更する

  • attrib - ファイル属性を変更する

承認が必要なUnixコマンド

  • mv - ファイルを移動(名前変更)する

  • cp - ファイルとディレクトリをコピーする

  • mkdir - ディレクトリを作成する

  • touch - ファイルのタイムスタンプを変更するか、空のファイルを作成する

  • chmod - ファイルモードビットを変更する

  • chown - ファイルの所有者とグループを変更する

禁止コマンド

Windows の禁止コマンド

  • del - ファイルを削除する

  • erase - ファイルを削除する

  • format - ディスクをフォーマットする

  • runas - 別のユーザーとしてプログラムを実行する

Unix 禁止コマンド

  • rm - ファイルまたはディレクトリを削除する

  • sudo - 別のユーザーとしてコマンドを実行する

セキュリティに関する考慮事項

  • すべてのコマンドは、MCPサーバーを実行しているユーザーの権限で実行されます。

  • 承認を必要とするコマンドは、明示的に承認されるまでキューに保持されます。

  • 禁止されたコマンドは決して実行されない

  • サーバーはシェルインジェクションを防ぐためにexecの代わりにNode.jsのexecFileを使用します。

  • 引数は、指定された場合に許可されたパターンに対して検証されます。

ホワイトリストの拡張

ホワイトリストを拡張するには、 add_to_whitelistツールを使用します。例:

{
  "command": "npm",
  "securityLevel": "requires_approval",
  "description": "Node.js package manager"
}

NPM パッケージ情報

Super Shell MCP は、 https://www.npmjs.com/package/super-shell-mcpで npm パッケージとして入手できます。

NPXを使用するメリット

NPX 方式 (構成セクションのオプション 1 を参照) を使用すると、いくつかの利点があります。

  1. 手動セットアップ不要: リポジトリのクローン作成、依存関係のインストール、プロジェクトのビルドは不要

  2. 自動更新: 常に最新の公開バージョンを使用します

  3. クロスプラットフォームの互換性: Windows、macOS、Linuxで同じように動作します

  4. 簡素化された構成: 絶対パスのない短い構成

  5. メンテナンスの軽減: 管理や更新が必要なローカルファイルはありません

GitHubからの使用

GitHub から最新の開発バージョンを直接使用したい場合は、次の手順に従ってください。

"super-shell": {
  "command": "npx",
  "args": [
    "-y",
    "github:cfdude/super-shell-mcp"
  ],
  "alwaysAllow": [],  // For Roo Code
  "disabled": false
}

独自のバージョンを公開する

独自に変更したバージョンを npm に公開する場合:

  1. 詳細を記載したpackage.jsonを更新します

  2. 「bin」フィールドが適切に設定されていることを確認します。

    "bin": {
      "super-shell-mcp": "./build/index.js"
    }
  3. npm に公開:

    npm publish

NPXベストプラクティス

NPX を使用した MCP クライアントとの最適な統合のために、このプロジェクトは次のベスト プラクティスに従います。

  1. 実行可能エントリ ポイント: メイン ファイルには、シェバン ライン ( #!/usr/bin/env node ) が含まれており、ビルド中に実行可能になります。

  2. パッケージ構成:

    • "type": "module" - ESモジュールが使用されていることを確認する

    • "bin"フィールド - コマンド名をエントリポイントにマッピングします

    • "files"フィールド - 公開時に含めるファイルを指定します

    • "prepare"スクリプト - インストール時にコンパイルが行われるようにします

  3. TypeScript 構成:

    • "module": "NodeNext" - 適切な ES モジュールのサポート

    • "moduleResolution": "NodeNext" - ESモジュールと一貫性があります

  4. 自動インストールと実行

    • MCPクライアント構成では、 npx -yを使用してパッケージを自動的にインストールして実行します。

    • プロセスはバックグラウンドで実行されるため、ターミナルウィンドウは固定されません。

  5. 出版プロセス

    # Update version in package.json
    npm version patch  # or minor/major as appropriate
    
    # Build and publish
    npm publish

これらの方法により、別のターミナル ウィンドウを必要とせずに MCP クライアントによって MCP サーバーが自動的に起動されるようになり、ユーザー エクスペリエンスと運用効率が向上します。

トラブルシューティング

クロスプラットフォームの問題

Windows固有の問題

  1. PowerShell スクリプト実行ポリシー

    • 問題: PowerShell が「このシステムではスクリプトの実行が無効になっています」というエラーでスクリプトの実行をブロックする場合があります

    • 解決策: PowerShellを管理者として実行し、 Set-ExecutionPolicy RemoteSigned実行するか、シェルを構成するときに-ExecutionPolicy Bypassパラメータを使用します。

  2. パスセパレータ

    • 問題: Windows ではパスにバックスラッシュ ( \ ) が使用されるため、JSON ではエスケープする必要があります。

    • 解決策: JSON 構成ファイルで二重のバックスラッシュ ( \\ ) を使用します (例: C:\\Windows\\System32\\cmd.exe

  3. コマンドが見つかりません

    • 問題: Windows には、 lsgrepなどの Unix コマンドがありません。

    • 解決策: Windows の同等の機能を使用する ( lsの代わりにdirgrepの代わりにfindstr )

macOS/Linux特有の問題

  1. シェル権限

    • 問題: コマンド実行時に権限が拒否されました

    • 解決策: chmod +x /path/to/shellでシェルに適切な権限があることを確認します。

  2. 環境変数

    • 問題: MCP サーバーで環境変数が利用できない

    • 解決策: シェルのプロファイル ファイル ( .zshrc.bashrcなど) で環境変数を設定します。

一般的なトラブルシューティング

  1. シェル検出の問題

    • 問題: サーバーが正しいシェルを検出できない

    • 解決策: 構成でシェルパスを明示的に指定する

  2. コマンド実行タイムアウト

    • 問題: コマンドの実行に時間がかかり、タイムアウトする

    • 解決策: コマンドサービスコンストラクターのタイムアウト値を増やす

ログシステム

サーバーには、デバッグと監視を容易にするためにログをファイルに書き込む包括的なログ システムが含まれています。

  1. ログファイルの場所

    • デフォルト: サーバーのディレクトリ内のlogs/super-shell-mcp.log

    • ログディレクトリは自動的に作成され、Gitによって追跡されます(.gitkeepファイルを使用)

    • ログファイル自体は.gitignoreによってGitから除外されます。

    • サーバー操作、コマンド実行、承認ワークフローに関する詳細情報が含まれています

  2. ログレベル

    • INFO : 一般的な運用情報

    • DEBUG : 詳細なデバッグ情報

    • エラー: エラー状態と例外

  3. ログの表示

    • ログを確認するには、標準のファイル表示コマンドを使用します。

      # View the entire log
      cat logs/super-shell-mcp.log
      
      # Follow log updates in real-time
      tail -f logs/super-shell-mcp.log
  4. ログ内容

    • サーバーの起動と構成

    • コマンド実行要求と結果

    • 承認ワークフロー イベント (保留、承認、拒否)

    • エラー状態とトラブルシューティング情報

  5. ホワイトリスト管理

    • 問題: ホワイトリストにカスタムコマンドを追加する必要がある

    • 解決策: add_to_whitelistツールを使用して、環境に固有のコマンドを追加します。

ライセンス

このMCPサーバーはMITライセンスに基づいてライセンスされています。つまり、MITライセンスの条件に従って、ソフトウェアを自由に使用、改変、配布することができます。詳細については、プロジェクトリポジトリのLICENSEファイルをご覧ください。

Available Tools

9 tools
add_to_whitelistC

Add a command to the whitelist

ParametersJSON Schema
NameRequiredDescriptionDefault
commandYesThe command to whitelist
securityLevelYesSecurity level for the command
descriptionNoDescription of the command

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool adds to a whitelist, implying a write operation, but doesn't cover critical aspects like permissions required, whether it overwrites existing entries, error conditions, or side effects. This leaves significant gaps for an agent to understand the tool's behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, direct sentence that efficiently conveys the core action without any wasted words. It is appropriately sized and front-loaded, making it easy to parse quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (a write operation with security implications), lack of annotations, and no output schema, the description is insufficient. It doesn't explain what happens after adding (e.g., success response, error handling), how it integrates with the security system, or prerequisites, leaving the agent with incomplete context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% description coverage, with clear documentation for all three parameters, including an enum for 'securityLevel'. The description adds no additional parameter information beyond what's in the schema, so it meets the baseline score of 3 where the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Add') and resource ('command to the whitelist'), making the purpose understandable. However, it doesn't distinguish this tool from sibling tools like 'update_security_level' or 'approve_command', which might have overlapping functionality in a security context.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. For example, it doesn't clarify if this is for initial whitelisting versus updating existing entries, or how it relates to siblings like 'update_security_level' or 'remove_from_whitelist'.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

approve_commandC

Approve a pending command

ParametersJSON Schema
NameRequiredDescriptionDefault
commandIdYesID of the command to approve

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It implies a mutation ('Approve') but doesn't specify permissions required, whether the action is reversible, or what happens after approval (e.g., does it trigger execution?). This leaves critical behavioral traits unclear for a tool that likely changes system state.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that directly states the tool's purpose without any wasted words. It is appropriately sized and front-loaded, making it easy to parse quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no annotations and no output schema, the description is insufficient. It lacks details on behavioral outcomes, error conditions, or integration with sibling tools (e.g., how approval relates to 'execute_command'), leaving gaps in understanding the tool's role in the broader context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, with the single parameter 'commandId' well-documented in the schema. The description adds no additional meaning about the parameter beyond what the schema provides, such as format examples or sourcing guidance, so it meets the baseline for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Approve') and the target resource ('a pending command'), making the purpose immediately understandable. However, it doesn't distinguish this tool from its sibling 'deny_command' beyond the opposite action, missing explicit differentiation that would warrant a score of 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives like 'deny_command' or 'execute_command', nor does it mention prerequisites such as needing a pending command from 'get_pending_commands'. This lack of contextual direction leaves the agent without usage instructions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

deny_commandC

Deny a pending command

ParametersJSON Schema
NameRequiredDescriptionDefault
commandIdYesID of the command to deny
reasonNoReason for denial

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries full burden. 'Deny' implies a mutation that changes command status, but the description doesn't disclose behavioral traits like required permissions, whether denial is reversible, what happens to the denied command, or any side effects. This is a significant gap for a mutation tool with zero annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence with zero waste. It's front-loaded with the core action and resource, making it easy to parse quickly. Every word earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of a command denial operation (a mutation with potential security implications), no annotations, no output schema, and sibling tools like 'approve_command', the description is incomplete. It lacks context on prerequisites, consequences, alternatives, or return values, leaving significant gaps for an AI agent to use it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents both parameters (commandId and reason) adequately. The description doesn't add any meaning beyond what the schema provides, such as explaining what constitutes a valid reason or how the commandId is obtained. Baseline 3 is appropriate when schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Deny a pending command' clearly states the action (deny) and target resource (pending command). It's specific and unambiguous, though it doesn't explicitly differentiate from sibling tools like 'approve_command' or 'execute_command' beyond the verb choice.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., needing a pending command ID), when denial is appropriate, or how it differs from 'approve_command' or other command-handling tools in the sibling list.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

execute_commandC

Execute a shell command on the current platform

ParametersJSON Schema
NameRequiredDescriptionDefault
commandYesThe command to execute
argsNoCommand arguments

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the action but lacks critical details such as security implications, permission requirements, whether it's destructive, rate limits, or output format. This is a significant gap for a tool that executes shell commands, which can have high-risk behaviors.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that directly states the tool's function without unnecessary words. It's front-loaded and appropriately sized for its purpose, making it easy to parse quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of executing shell commands (potentially high-risk with no annotations) and lack of output schema, the description is incomplete. It fails to address security, permissions, or return values, leaving the agent with insufficient context for safe and effective use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% description coverage, with clear documentation for 'command' and 'args'. The description doesn't add any parameter-specific details beyond what the schema provides, such as examples or constraints, so it meets the baseline for high schema coverage without extra value.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Execute') and resource ('a shell command on the current platform'), making the purpose understandable. However, it doesn't distinguish this tool from its siblings like 'approve_command' or 'deny_command', which appear to be related to command management but have different functions.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. Given siblings like 'approve_command' and 'deny_command', it's unclear if 'execute_command' requires approval, operates independently, or has specific prerequisites, leaving the agent without usage context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_pending_commandsB

Get the list of commands pending approval

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

B3.2/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden for behavioral disclosure. It states the tool retrieves pending commands but doesn't mention whether this requires special permissions, how results are formatted, if there are rate limits, or what happens if no commands are pending. For a security/approval-related tool, this is a significant gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that communicates the core purpose without any wasted words. It's appropriately sized for a simple retrieval tool and front-loads the essential information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter tool with no output schema, the description provides the minimum viable information about what it does. However, given the security/approval context and sibling tools that suggest this is part of a command management system, more information about permissions, return format, or typical usage patterns would be helpful.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters with 100% schema description coverage, so the schema already fully documents the parameter situation. The description appropriately doesn't mention parameters since none exist, which is correct. Baseline for zero parameters is 4.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Get') and resource ('list of commands pending approval'), making the purpose immediately understandable. It doesn't specifically differentiate from siblings like 'execute_command' or 'approve_command', but the verb+resource combination is unambiguous in context.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided about when to use this tool versus alternatives like 'execute_command' or 'approve_command'. The description only states what it does, not when it should be used in relation to the sibling tools that manage command approval workflows.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_platform_infoB

Get information about the current platform and shell

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

B3.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the tool retrieves information, implying a read-only operation, but doesn't specify what information is returned (e.g., OS version, shell type, environment details), whether it requires permissions, or if there are rate limits. This leaves significant gaps for a tool with zero annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that directly states the tool's purpose without unnecessary words. It is front-loaded with the core action ('Get information'), making it easy to parse, and every part of the sentence contributes to understanding the tool's function.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the lack of annotations and output schema, the description is incomplete for a tool that retrieves system information. It doesn't explain what specific data is returned (e.g., platform details, shell version) or the format of the output, which is critical for an agent to use the tool effectively. This leaves too much ambiguity for practical use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has 0 parameters, and the schema description coverage is 100%, so there are no parameters to document. The description doesn't need to add parameter semantics, and it appropriately doesn't mention any. A baseline of 4 is applied as per the rules for tools with no parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose with a specific verb ('Get') and resource ('information about the current platform and shell'), making it immediately understandable. However, it doesn't explicitly differentiate this tool from its siblings (like 'execute_command' or 'get_pending_commands'), which focus on command execution and management rather than platform metadata.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites, context (e.g., use for system diagnostics or compatibility checks), or exclusions, leaving the agent to infer usage based on the name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_whitelistB

Get the list of whitelisted commands

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

TDQS

B3.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries full burden but only states what the tool does without behavioral details. It doesn't disclose whether this is a read-only operation, if it requires authentication, rate limits, or what format the returned list has. This is inadequate for a tool with zero annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that directly states the tool's purpose with no wasted words. It's perfectly front-loaded and appropriately sized for a simple retrieval tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations and no output schema, the description is incomplete for a tool that likely returns structured data. It doesn't explain what 'whitelisted commands' entails, the return format, or any behavioral context, leaving significant gaps for an agent to use it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool has zero parameters, and schema description coverage is 100%, so no parameter documentation is needed. The description doesn't add parameter semantics, but that's appropriate here, warranting a baseline score above minimum viable.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb ('Get') and resource ('list of whitelisted commands'), making the purpose immediately understandable. However, it doesn't differentiate from sibling tools like 'get_pending_commands' or 'get_platform_info' beyond the resource name, which prevents a perfect score.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives like 'get_pending_commands' or 'add_to_whitelist'. There's no mention of prerequisites, context, or exclusions, leaving usage entirely implicit from the tool name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

remove_from_whitelistC

Remove a command from the whitelist

ParametersJSON Schema
NameRequiredDescriptionDefault
commandYesThe command to remove from whitelist

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the tool removes a command from a whitelist, implying a mutation operation, but doesn't describe side effects (e.g., whether this affects pending commands or security levels), permissions required, or error conditions. This leaves significant gaps in understanding how the tool behaves beyond its basic function.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, clear sentence with zero wasted words. It's front-loaded with the core action and resource, making it highly efficient and easy to parse.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's mutation nature (removing from a whitelist), lack of annotations, and no output schema, the description is incomplete. It doesn't cover behavioral aspects like what happens after removal, error handling, or integration with sibling tools (e.g., 'get_whitelist'), leaving the agent with insufficient context for safe and effective use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% description coverage, with the single parameter 'command' documented as 'The command to remove from whitelist'. The description doesn't add any meaning beyond this, such as format examples or constraints, but the schema provides adequate baseline information, justifying a score of 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('remove') and target resource ('a command from the whitelist'), making the purpose immediately understandable. It doesn't explicitly differentiate from siblings like 'deny_command' or 'update_security_level', which might have overlapping security functions, but the verb+resource combination is specific enough for basic understanding.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives like 'deny_command' or 'update_security_level', nor does it mention prerequisites (e.g., whether the command must already be in the whitelist). It simply states what the tool does without contextual usage information.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

update_security_levelC

Update the security level of a whitelisted command

ParametersJSON Schema
NameRequiredDescriptionDefault
commandYesThe command to update
securityLevelYesNew security level for the command

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states this is an update operation but doesn't clarify whether this requires admin permissions, if changes are reversible, what happens to existing security settings, or potential side effects. For a security-related mutation tool, this lack of transparency is a significant gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that directly states the tool's purpose without unnecessary words. It's appropriately sized and front-loaded, making it easy for an agent to parse quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of a security-level update tool with no annotations and no output schema, the description is incomplete. It doesn't address behavioral aspects like permissions, side effects, or return values, nor does it help differentiate from sibling tools. The agent would lack sufficient context to use this tool effectively.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 100%, with both parameters clearly documented in the schema. The description doesn't add any meaningful parameter semantics beyond what the schema already provides (e.g., it doesn't explain what 'whitelisted command' means or provide examples). The baseline score of 3 reflects adequate but unenhanced parameter documentation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Update') and the target resource ('security level of a whitelisted command'), making the purpose immediately understandable. However, it doesn't explicitly differentiate this tool from sibling tools like 'approve_command' or 'deny_command', which might have overlapping functionality in a security context.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives like 'add_to_whitelist' or 'remove_from_whitelist'. It doesn't mention prerequisites (e.g., whether the command must already be whitelisted) or contextual constraints, leaving the agent with insufficient usage direction.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 9 tool updates
    • First observedadd_to_whitelist
    • First observedapprove_command
    • First observeddeny_command
    • First observedexecute_command
    • First observedget_pending_commands
    • First observedget_platform_info
    • First observedget_whitelist
    • First observedremove_from_whitelist
    • First observedupdate_security_level

TDQS

A3.6/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose with no ambiguity. For example, add_to_whitelist and remove_from_whitelist handle whitelist modifications, while approve_command and deny_command manage pending commands, and execute_command performs command execution. The descriptions reinforce these distinct roles, making misselection unlikely.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern using snake_case, such as add_to_whitelist, get_pending_commands, and update_security_level. This predictability aids agent understanding and navigation without any deviations or mixed conventions.

Tool Count5/5

With 9 tools, the count is well-scoped for a shell security management server. Each tool serves a clear purpose in the workflow, from command execution and approval to whitelist and platform management, avoiding bloat or thin coverage.

Completeness5/5

The tool set provides complete coverage for shell command security management, including CRUD operations for the whitelist (add, get, remove, update), a full lifecycle for pending commands (get, approve, deny), and core utilities like execute_command and get_platform_info. No obvious gaps exist for the domain.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    F
    maintenance
    A Model Context Protocol server that provides secure command-line access to Windows systems, allowing MCP clients like Claude Desktop to safely execute commands in PowerShell, CMD, and Git Bash shells with configurable security controls.
    9
    1,215
    269
    MIT
  • A
    license
    B
    quality
    A
    maintenance
    A secure MCP server for shell operations, terminal management, and process control, enabling AI assistants to safely execute commands and manage interactive sessions.
    13
    204
    6
    MIT
  • A
    license
    Not graded
    quality
    F
    maintenance
    A Model Context Protocol (MCP) server that enables secure execution of shell commands with a dynamic approval system, audit logging, and command revocation.
    41
    Apache 2.0

Latest Blog Posts

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/cfdude/super-shell-mcp'

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