Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Command Executor

БесплатноНе проверен

Enables shell command execution with automatic pagination for large outputs, supporting custom directories and timeouts.

GitHubEmbed

Описание

Enables shell command execution with automatic pagination for large outputs, supporting custom directories and timeouts.

README

A Model Context Protocol (MCP) server that executes shell commands and handles large outputs with pagination.

Features

  • execute_command: Executes shell commands and captures output

    • Returns full output directly if under 10,000 estimated tokens
    • For larger outputs, stores them and returns an ID for pagination
    • Supports custom working directory and timeout
  • get_output_page: Retrieves paginated output for large command results

    • Pages contain approximately 3,000 lines each
    • Provides navigation info (current page, total pages, has next/previous)

Installation

pip install -r requirements.txt

Configuration

Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "command-executor": {
      "command": "python",
      "args": ["/path/to/command_executor_mcp.py"]
    }
  }
}

Usage Examples

Execute a simple command:

execute_command({"command": "ls -la"})

Execute with custom directory and timeout:

execute_command({
  "command": "find . -name '*.py'",
  "working_directory": "/Users/username/projects",
  "timeout": 60
})

Retrieve paginated output:

get_output_page({
  "output_id": "uuid-returned-from-execute",
  "page": 1
})

Token Estimation

The server estimates tokens at approximately 0.25 tokens per character. Outputs exceeding 10,000 estimated tokens are automatically paginated.

from github.com/andrelip/paginate-stdout

Установка Command Executor

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/andrelip/paginate-stdout

FAQ

Command Executor MCP бесплатный?

Да, Command Executor MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Command Executor?

Нет, Command Executor работает без API-ключей и переменных окружения.

Command Executor — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Command Executor в Claude Desktop, Claude Code или Cursor?

Открой Command Executor на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Command Executor with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории development