C

CLI Executor

Provides a tool for executing local CLI commands asynchronously using FastMCP and asyncio, handling command arguments securely and offering error handling for f

CLI·No reviews yet
Repo
Share:

About

Provides a tool for executing local CLI commands asynchronously using FastMCP and asyncio, handling command arguments securely and offering error handling for failed commands.

Example tools

Illustrative tool names — the actual tool set is defined by the server at runtime.

list_resources
Enumerate resources exposed by this MCP
get_resource
Fetch a resource by ID
invoke
Invoke the primary action of this MCP

Screenshots

No screenshots yet.

Frequently Asked Questions

Common questions about CLI Executor.

What is the primary function of the CLI Executor MCP?
The CLI Executor MCP enables asynchronous execution of local command-line interface commands. It manages command arguments securely and includes error handling for failed operations, streamlining local scripting and automation tasks.
How can I integrate the CLI Executor with an MCP client like Cline?
Integration details depend on the specific client's configuration methods. Typically, you would add the MCP's slug or repository URL to the client's MCP configuration settings. Consult your client's documentation for exact steps.
Does the CLI Executor require API keys or other credentials for operation?
No, the CLI Executor MCP does not require API keys, OAuth, or other external credentials as it operates locally. Its authentication type is 'none', indicating direct local execution without external service reliance.
What are the key capabilities offered by the CLI Executor?
The CLI Executor provides capabilities for securely handling command arguments, executing CLI commands asynchronously, and implementing robust error handling for command failures. It is designed for local command-line operations.
What is a limitation of using the CLI Executor MCP?
A key limitation is that it only executes local CLI commands. It cannot interact with remote systems or cloud services directly, restricting its use to operations within the local environment where it is deployed.
Is there a cost associated with using the CLI Executor MCP?
As an open-source project available on GitHub, the core CLI Executor software itself is typically free to use. However, costs may arise from the underlying system resources consumed by executed commands or specific deployment environments.

Install CLI Executor

Claude Desktop

Add this to claude_desktop_config.json.

{
  "mcpServers": {
    "cli-executor": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-cli-executor"
      ]
    }
  }
}

Cursor

Add this to ~/.cursor/mcp.json.

{
  "mcpServers": {
    "cli-executor": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-cli-executor"
      ]
    }
  }
}

VS Code

Add this to your workspace settings.json.

{
  "mcp.servers": {
    "cli-executor": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-cli-executor"
      ]
    }
  }
}

Reviews

Sign in to leave a review.

No reviews yet. Be the first!

Discussion(0)

Sign in to join the discussion.

No comments yet.