Back to Home
For-Sunny icon

galaxy-brain

by For-Sunny

Overview

This MCP server enables AI agents to perform a complete cognitive loop by combining structured sequential thinking with chained sequential execution of operations.

Installation

Run Command
python -m galaxy_brain.server

Environment Variables

  • GALAXY_BRAIN_LOG_LEVEL
  • GALAXY_BRAIN_MAX_THOUGHTS
  • GALAXY_BRAIN_MAX_OPERATIONS

Security Notes

The `DoingService` allows execution of arbitrary shell commands (`shell.run`) via `subprocess.run(shell=True)` and Python code (`python.execute`) by writing to a temporary file and executing it. While it includes a `_security_check` with `DANGEROUS_PATTERNS` regex to block some malicious commands (e.g., `rm -rf /`), this is not foolproof against all forms of command injection or malicious Python code. The `python.eval` method is more sandboxed with a strict `allowed_builtins` list. If the server is exposed to untrusted input, there is a significant risk of arbitrary code execution.

Similar Servers

Stats

Interest Score55
Security Score4
Cost ClassLow
Avg Tokens250
Stars1
Forks0
Last Update2025-12-05

Tags

MCPAICognitive LoopThinkingExecution