Galaxy Brain is an MCP server that combines structured reasoning with sequential execution to form a complete cognitive loop for problem-solving.
Sequential Thinking: Start thinking sessions with effort estimates (start_thinking), add incremental thoughts with confidence scores (think), revise previous thoughts when reasoning needs correction (revise), branch to explore alternative approaches (branch), and conclude with final synthesis and confidence assessment (conclude).
Sequential Doing: Execute batches of operations (execute_batch) using services like python, shell, file, and transform, with variable piping ($results[N].path.to.value) to dynamically chain outputs between steps. Configure error handling to stop-on-error or continue.
Bridge (Think → Do): Automatically generate executable action plans from completed thinking sessions (generate_plan) and execute them (execute_plan), converting high-level reasoning into concrete operations.
Complete Cognitive Loop: Use think_and_do to perform structured reasoning and execute operations in a single call, streamlining the entire thought-to-action process.
Management & Introspection: List available services (list_services), retrieve and list thinking sessions (get_session, list_sessions) and action plans (get_plan, list_plans).
Configuration: Customize limits for thoughts, operations, timeouts, error handling, and logging levels via JSON config file or environment variables.
Executes Python code and evaluates Python expressions as part of sequential operation pipelines with variable piping between operations.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Galaxy Brainthink_and_do: read config.json, parse as JSON, then count keys"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Galaxy Brain
Think. Do. Done.
Sequential Thinking + Sequential Doing = Complete Cognitive Loop
What is this?
Galaxy Brain is an MCP server that combines two powerful concepts:
Sequential Thinking (from Anthropic's MCP) - structured reasoning with revision and branching
Sequential Doing - batch execution with variable piping between operations
Together they form a complete cognitive loop: think through a problem, convert thoughts to actions, execute, done.
Installation
Quick Install (PowerShell)
Quick Install (Bash)
Manual Install
Then add to your Claude Desktop config (%APPDATA%\Claude\claude_desktop_config.json on Windows):
Usage
The Galaxy Brain Move: think_and_do
One tool to rule them all:
See that $results[0].result.content? That's variable piping - each operation can reference results from previous operations.
Thinking Tools
Start a thinking session and reason step by step:
Doing Tools
Execute operations with variable piping:
Available Services
Service | Methods | Description |
|
| Run Python code or evaluate expressions |
|
| Execute shell commands |
|
| File operations |
|
| Data transformations |
Bridge Tools
Convert thinking sessions to action plans:
Variable Piping Syntax
Reference previous results using $results[N].path.to.value:
Variables are resolved before each operation executes, so you can build pipelines:
Configuration
Create galaxy-brain.json in your working directory:
Or use environment variables:
GALAXY_BRAIN_LOG_LEVELGALAXY_BRAIN_MAX_THOUGHTSGALAXY_BRAIN_MAX_OPERATIONS
Why "Galaxy Brain"?
Because when you combine structured thinking with chained execution, you're operating on a whole other level.
Think. Do. Done. Big brain energy. Cosmic efficiency.
Credits
Sequential Thinking: Based on @modelcontextprotocol/server-sequential-thinking (MIT Licensed)
License
MIT License - Do whatever you want with it.
Think. Do. Done.
Built by
Website | Store | GitHub | glass@cipscorps.io
Enterprise memory infrastructure for AI systems: CASCADE Enterprise, PyTorch Memory, Hebbian Mind, and the full CIPS Stack.
Copyright (c) 2025-2026 C.I.P.S. LLC