mcp-server-commands MCP Server
Enable your AI agents to securely run shell commands, automate workflows, fetch system diagnostics, and interact with files—directly from FlowHunt using mcp-server-commands.

What does “mcp-server-commands” MCP Server do?
The mcp-server-commands MCP (Model Context Protocol) Server acts as a bridge between AI assistants and the ability to execute local or system commands securely. By exposing an interface for running shell commands, it allows AI clients to access external data, interact with the file system, perform diagnostics, or automate workflows directly from their environment. The server processes command requests from LLMs and returns the output, including both STDOUT
and STDERR
, which can be used for further analysis or actions. This enhances development workflows by enabling tasks such as listing directories, viewing system information, or running scripts, thereby expanding the practical capabilities of AI assistants for developers and power users.
List of Prompts
- run_command – Generate a prompt message with the command output.
List of Resources
No explicit resources are listed in the available documentation or code.
List of Tools
- run_command – Runs a specified command (e.g.,
hostname
,ls -al
,echo "hello world"
). ReturnsSTDOUT
andSTDERR
as text. Supports an optionalstdin
parameter to pass input (such as code or file contents) to commands that accept it, facilitating scripting and file operations.
Use Cases of this MCP Server
- System Diagnostics: Run commands like
hostname
ortop
to fetch system status or environment details directly from within the AI assistant. - File Management: List directories (
ls -al
), create or read files, and manipulate text files using shell commands. - Script Execution: Execute scripts or code snippets (e.g., Python, Bash) by passing them via
stdin
, enabling rapid prototyping or automation. - Development Automation: Automate repetitive tasks such as pulling code, building projects, or running tests via shell commands issued by the AI.
- Secure Command Approval: Integrate with tools like Claude Desktop to ensure that each command is reviewed and approved before execution, minimizing security risks.
How to set it up
Windsurf
- Ensure Node.js and npm are installed.
- Install the
mcp-server-commands
package:npm install -g mcp-server-commands
- Edit your Windsurf configuration file to add the MCP server.
- Add the following JSON snippet:
{ "mcpServers": { "mcp-server-commands": { "command": "npx", "args": ["mcp-server-commands"] } } }
- Save the configuration and restart Windsurf.
- Verify the server is running and accessible.
Claude
- Make sure Node.js and npm are installed.
- Install
mcp-server-commands
globally:npm install -g mcp-server-commands
- Locate your Claude Desktop config file:
- MacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%/Claude/claude_desktop_config.json
- MacOS:
- Add:
{ "mcpServers": { "mcp-server-commands": { "command": "npx", "args": ["mcp-server-commands"] } } }
- Save and restart Claude Desktop.
- Confirm the MCP server appears and is functional.
Cursor
- Install Node.js and npm if required.
- Globally install
mcp-server-commands
:npm install -g mcp-server-commands
- Open your Cursor configuration file.
- Insert:
{ "mcpServers": { "mcp-server-commands": { "command": "npx", "args": ["mcp-server-commands"] } } }
- Save changes and restart Cursor.
- Check that the MCP server is available for use.
Cline
- Ensure Node.js/npm are installed.
- Install the MCP server package:
npm install -g mcp-server-commands
- Edit the Cline MCP server configuration.
- Add:
{ "mcpServers": { "mcp-server-commands": { "command": "npx", "args": ["mcp-server-commands"] } } }
- Save and restart Cline.
- Verify connectivity to the MCP server.
Securing API Keys
If you need to supply sensitive environment variables (e.g., API keys), use the env
and inputs
fields in your configuration:
{
"mcpServers": {
"mcp-server-commands": {
"command": "npx",
"args": ["mcp-server-commands"],
"env": {
"EXAMPLE_API_KEY": "${EXAMPLE_API_KEY}"
},
"inputs": {
"apiKey": "${EXAMPLE_API_KEY}"
}
}
}
}
Replace EXAMPLE_API_KEY
with your actual environment variable name.
How to use this MCP inside flows
Using MCP in FlowHunt
To integrate MCP servers into your FlowHunt workflow, start by adding the MCP component to your flow and connecting it to your AI agent:

Click on the MCP component to open the configuration panel. In the system MCP configuration section, insert your MCP server details using this JSON format:
{
"mcp-server-commands": {
"transport": "streamable_http",
"url": "https://yourmcpserver.example/pathtothemcp/url"
}
}
Once configured, the AI agent is now able to use this MCP as a tool with access to all its functions and capabilities. Remember to change “mcp-server-commands” to whatever the actual name of your MCP server is and replace the URL with your own MCP server URL.
Overview
Section | Availability | Details/Notes |
---|---|---|
Overview | ✅ | Provides shell command execution as a tool for LLMs. |
List of Prompts | ✅ | run_command |
List of Resources | ⛔ | No explicit resources listed. |
List of Tools | ✅ | run_command |
Securing API Keys | ✅ | Supported via env and inputs in config. |
Sampling Support (less important in evaluation) | ⛔ | Not mentioned in docs or code. |
Our opinion:
This MCP server is simple but highly effective for its purpose: giving LLMs access to the system shell in a controlled way. It is well-documented, easy to configure, and has clear security warnings. However, its scope is limited (one tool, no explicit resources or prompt templates beyond run_command
), and advanced MCP features like Roots and Sampling are not referenced in the documentation or code. Overall, it is well-suited for developers looking for shell access through AI, but lacks broader extensibility.
MCP Score
Has a LICENSE | ✅ (MIT) |
---|---|
Has at least one tool | ✅ |
Number of Forks | 27 |
Number of Stars | 159 |
Frequently asked questions
- What is the mcp-server-commands MCP Server?
It is an MCP server that exposes a secure interface for AI assistants to execute local or system shell commands. This enables AI clients to interact with the file system, run diagnostics, or automate workflows by processing command requests and returning their output.
- What tools does this MCP server provide?
The main tool is 'run_command', which allows running shell commands (e.g., 'ls -al', 'echo', 'hostname'). It returns both STDOUT and STDERR and supports passing input via stdin for scripts or file operations.
- What are typical use cases?
Use cases include system diagnostics, file management, script execution, automation of development tasks, and secure command approval workflows.
- How do I secure API keys or environment variables?
Sensitive values can be provided via the 'env' and 'inputs' fields in the configuration. Use environment variables to prevent exposing secrets in plain text.
- Does it support advanced MCP features like sampling or Roots?
No, the mcp-server-commands MCP focuses on command execution. Features such as advanced resource management or sampling are not referenced in the available documentation.
- How do I use this MCP server in a FlowHunt workflow?
Add the MCP component to your FlowHunt flow and connect it to your AI agent. In configuration, specify the MCP server details, such as transport and URL, to enable AI-driven command execution within your flows.
Unlock Shell Automation with FlowHunt MCP
Give your AI assistants secure, configurable shell access for automation, diagnostics, and file management with mcp-server-commands MCP Server.