akougkas/helios-mcp
If you are the rightful owner of helios-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
Helios MCP is a model context protocol server designed to give AI agents persistent personalities, learned behaviors, and evolving capabilities through a git-versioned behavioral management system.
Helios MCP š
The AI Behavior Solar System - Give your AI agents persistent personalities, learned behaviors, and evolving capabilities through a git-versioned behavioral management system.
Built with FastMCP 2.2.6+ and UV 0.8.15+ for the MCP Protocol 2025-06-18 specification (September 2025)
ā ļø UV-EXCLUSIVE PROJECT
This project uses ONLY Astral's UV package manager (0.8.15+). Do NOT use pip, poetry, conda, or any other Python package manager.
Prerequisites
System Requirements
- Python 3.13 (recommended) or 3.12 (minimum)
- UV 0.8.15 or higher (September 2025)
- Git 2.40+
- macOS, Linux, or Windows 10/11
Install UV
# macOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
export PATH="$HOME/.local/bin:$PATH"
# Windows
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
# Verify installation
uv --version # Should show 0.8.15 or higher
Installation
As a UV Tool (Recommended)
# Install Python 3.13 if not present
uv python install 3.13
# Install Helios globally as a UV tool
uv tool install helios-mcp --python 3.13
# Run from anywhere
uvx helios init
uvx helios serve
# Or use the shorthand
uvx --from helios-mcp helios serve
For Development
# Clone the repository
git clone https://github.com/yourusername/helios-mcp.git
cd helios-mcp
# Ensure Python 3.13
uv python pin 3.13
# Initialize UV project and sync all dependencies
uv sync --dev
# Run in development mode
uv run helios serve
# Run tests with coverage
uv run pytest --cov=helios
# Format and lint code
uv run ruff format .
uv run ruff check . --fix
# Type checking
uv run mypy src/helios
The Solar System Model
# Your behavioral solar system
helios_core: # āļø The Sun
mass: 1.0
behaviors: [identity, values, communication_style]
hercules: # š Close orbit - coding persona
orbital_distance: 1.0
inherits: 0.95 # 95% core influence
specializes: [python, architecture, testing]
homer: # š“ Further orbit - knowledge persona
orbital_distance: 1.5
inherits: 0.80 # 80% core influence
specializes: [synthesis, organization, creativity]
Usage with UV 0.8.15+
Starting the MCP Server
# Using uvx (for installed tool)
uvx helios serve
# With specific Python version
uvx --python 3.13 helios serve
# Using uv run (for development)
uv run helios serve
# With environment variables
uv run --env-file .env helios serve
# With additional dependencies
uv run --with rich helios serve --verbose
Configuration Commands
# Initialize with template
uvx helios init --template researcher
# Add a new persona with orbital mechanics
uvx helios add-persona creative --distance 2.0 --inherits 0.6
# Learn a new pattern with confidence scoring
uvx helios learn "User prefers bullet points over paragraphs" --confidence 0.95
# Search patterns with minimum confidence
uvx helios search "communication style" --min-confidence 0.7
# Commit changes to git
uvx helios commit "Updated preferences"
# Sync with Obsidian vault
uvx helios sync-vault ~/Documents/ObsidianVault
Development Workflow
# 1. Clone and enter directory
git clone <repo-url> && cd helios-mcp
# 2. Setup Python 3.13 environment
uv python install 3.13
uv python pin 3.13
# 3. Sync dependencies with UV
uv sync --dev --all-extras
# 4. Install pre-commit hooks
uv run pre-commit install
# 5. Make changes and test
uv run pytest tests/ -v --cov=helios
# 6. Format, lint, and type check
uv run ruff format .
uv run ruff check . --fix
uv run mypy src/helios
# 7. Build distribution with UV backend
uv build
# 8. Test locally
uv tool install --from dist/helios_mcp-*.whl --force --python 3.13
# 9. Publish to PyPI
uv publish --index pypi
Project Structure
helios-mcp/
āāā pyproject.toml # UV project configuration (uv_build backend)
āāā uv.toml # UV-specific settings
āāā .python-version # Python 3.13 pinned
āāā src/
ā āāā helios/
ā āāā __init__.py
ā āāā server.py # FastMCP 2.2.6+ server
ā āāā cli.py # Typer CLI interface
ā āāā solar.py # Orbital mechanics engine
ā āāā tools.py # MCP tool implementations
ā āāā resources.py # MCP resource templates
ā āāā prompts.py # Reusable prompt templates
āāā tests/
ā āāā test_server.py
ā āāā test_tools.py
ā āāā conftest.py
āāā templates/ # Starter configurations
ā āāā researcher/
ā āāā engineer/
ā āāā creative/
āāā .pre-commit-config.yaml
UV Scripts & Commands
The project includes several UV scripts and commands:
Project Scripts (pyproject.toml)
# Defined in [project.scripts]
uv run helios serve # Start MCP server
uv run helios init # Initialize configuration
uv run helios status # Check system status
uv run helios test # Run test suite
UV-Specific Commands
# Package management
uv add fastmcp # Add dependency
uv remove package # Remove dependency
uv tree --show-sizes # Show dependency tree with sizes
uv pip list # List installed packages
# Python management
uv python list # List available Python versions
uv python install 3.13 # Install Python 3.13
uv python pin 3.13 # Pin project to Python 3.13
# Development
uv sync --dev # Sync with dev dependencies
uv run --with ipython python # Interactive shell
uv build # Build distribution
uv publish # Publish to PyPI
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Use UV 0.8.15+ for all operations (no pip, poetry, or conda!)
- Setup development environment:
uv python pin 3.13 uv sync --dev uv run pre-commit install
- Make your changes and test:
uv run pytest --cov=helios uv run ruff check . uv run mypy src/helios
- Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Submit a pull request
Troubleshooting
"Command not found: helios"
uv tool install helios-mcp --python 3.13
# Or use uvx directly:
uvx --from helios-mcp helios serve
"No module named 'fastmcp'"
uv sync --dev # Sync all dependencies
uv pip list # Verify installation
"Python version error"
uv python install 3.13 # Install Python 3.13
uv python pin 3.13 # Pin to project
uv sync --reinstall # Reinstall dependencies
"pip: command not found"
Good! This project doesn't use pip. Use uv
instead:
uv add package
instead ofpip install
uv pip list
instead ofpip list
uv tree
instead ofpip freeze
Tech Stack
- Python 3.13: Latest stable with JIT compiler and free-threaded mode
- UV 0.8.15+: Ultra-fast Rust-based package manager (10-100x faster than pip)
- FastMCP 2.2.6+: Pythonic MCP server framework with decorators
- MCP Protocol 2025-06-18: Latest spec with OAuth 2.0, elicitation, structured output
- Pydantic 2.9+: Data validation and settings management
- Rich 13.8+: Beautiful terminal output and progress bars
- Typer 0.12+: Modern CLI framework
License
MIT
Built with UV 0.8.15+ and FastMCP 2.2.6+ for the MCP Protocol 2025-06-18