Remote Command MCP Server
@deepsuthar496
关于 Remote Command MCP Server
A Model Context Protocol (MCP) server that enables remote command execution across different operating systems.
基本信息
配置
工具
未检测到工具
工具是从 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
systeminfooruname -a - Manage packages with
npm,apt,yum, orchocolatey - Perform network operations like
netstat -an - Execute Git operations such as
git statuswith a specified working directory - Control services using
systemctl status nginx(Linux) orsc 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.
其他 分类下的更多 MCP 服务器
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
Reactive Resume
amruthpillaiA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
AutoBrowser MCP
autobrowser-aiBrowser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
评论