MCP.so
ログイン

Remote Command MCP Server

@deepsuthar496

Remote Command MCP Server について

A Model Context Protocol (MCP) server that enables remote command execution across different operating systems.

基本情報

カテゴリ

その他

ライセンス

MIT

ランタイム

node

トランスポート

stdio

公開者

deepsuthar496

設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Remote Command MCP Server?

A Model Context Protocol (MCP) server that enables remote command execution across different operating systems. It provides a unified interface to execute shell commands, automatically handling platform-specific differences between Windows and Unix-like systems.

How to use Remote Command MCP Server?

Clone the repository, install dependencies with npm install, build with npm run build, then configure the server in your MCP settings file (e.g., claude_desktop_config.json or cline_mcp_settings.json). The tool execute_remote_command takes a required command parameter and an optional cwd parameter.

Key features of Remote Command MCP Server

  • Cross-platform command execution (Windows and Unix)
  • Automatic command normalization between platforms
  • Built-in error handling and output streaming
  • Working directory specification support
  • Platform-specific shell selection (cmd.exe or /bin/sh)

Use cases of Remote Command MCP Server

  • Retrieve system information via systeminfo or uname -a
  • Manage packages with npm, apt, yum, or chocolatey
  • Perform network operations like netstat -an
  • Execute Git operations such as git status with a specified working directory
  • Control services using systemctl status nginx (Linux) or sc query nginx (Windows)

FAQ from Remote Command MCP Server

What commands can be executed with this server?

Any valid shell command available on the host operating system, including system commands, package manager commands, development tools, file operations, network commands, and service management.

How does the server handle cross-platform differences?

It automatically translates commands like ls to dir and uses the appropriate shell: cmd.exe on Windows and /bin/sh on Unix/Linux.

What are the security considerations when using this server?

Limit access to trusted users, validate commands in application logic, use the cwd parameter to restrict execution directories, avoid sensitive system modifications, and run the server with appropriate user permissions.

How do I install and configure the server?

Clone the repository, run npm install and npm run build, then add the server configuration to your MCP settings file (e.g., claude_desktop_config.json) with the command node and path to the built index.js.

What happens if a command fails?

The server returns a detailed error message with exit code, including both stdout and stderr in the response.

コメント

「その他」の他のコンテンツ