Brain Execution Server
БесплатноНе проверенA queue-based execution server that monitors a command queue and executes shell commands or Python scripts, moving completed or failed jobs to respective direct
Описание
A queue-based execution server that monitors a command queue and executes shell commands or Python scripts, moving completed or failed jobs to respective directories.
README
A queue-based execution server that monitors and processes jobs from the Brain MCP command queue.
Features
- Monitors
/Users/bard/mcp/memory_files/command_queue/pendingfor jobs - Executes shell commands and Python scripts
- Supports both JSON and text file job formats
- Moves completed jobs to
completed/orfailed/directories - 5-minute timeout for safety
- Logs all operations to
daemon.log
Job Formats
JSON Format
{
"command": "which",
"args": ["node"],
"description": "Check if node is in PATH"
}
Or:
{
"task_id": "unique_id",
"command": "python3 /path/to/script.py",
"purpose": "Description of the job",
"result_file": "optional_output.txt"
}
Text Format
Plain text files (.txt or .sh) containing shell commands:
cd /path/to/dir && python script.py
Installation & Usage
Start the server:
cd /Users/bard/Code/mcp-execution-server python3 server.pyMonitor the queue:
python3 /Users/bard/mcp/memory_files/command_queue/queue_viewer.pyAdd a job to the queue:
# JSON job echo '{"command": "echo", "args": ["Hello from queue!"]}' > /Users/bard/mcp/memory_files/command_queue/pending/test_job.json # Text job echo 'ls -la /Users/bard/Code' > /Users/bard/mcp/memory_files/command_queue/pending/list_code.txt
Running in Background with LaunchControl
Create a launch agent to run the server automatically:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.brain.execution-server</string>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/python3</string>
<string>/Users/bard/Code/mcp-execution-server/server.py</string>
</array>
<key>WorkingDirectory</key>
<string>/Users/bard/Code/mcp-execution-server</string>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>StandardOutPath</key>
<string>/Users/bard/mcp/memory_files/command_queue/server.log</string>
<key>StandardErrorPath</key>
<string>/Users/bard/mcp/memory_files/command_queue/server.error.log</string>
</dict>
</plist>
Queue Directories
- Pending:
/Users/bard/mcp/memory_files/command_queue/pending/- Jobs waiting to be processed - Completed:
/Users/bard/mcp/memory_files/command_queue/completed/- Successfully executed jobs - Failed:
/Users/bard/mcp/memory_files/command_queue/failed/- Jobs that failed or timed out - Logs:
/Users/bard/mcp/memory_files/command_queue/daemon.log- Server activity log
Security Note
This server executes arbitrary code from the queue. Ensure proper permissions on the queue directories.
Установка Brain Execution Server
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/MikeyBeez/mcp-execution-serverFAQ
Brain Execution Server MCP бесплатный?
Да, Brain Execution Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Brain Execution Server?
Нет, Brain Execution Server работает без API-ключей и переменных окружения.
Brain Execution Server — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Brain Execution Server в Claude Desktop, Claude Code или Cursor?
Открой Brain Execution Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare Brain Execution Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
