Skip to content

v0.6.2

Choose a tag to compare

@github-actions github-actions released this 31 Jan 20:37
v0.6.2
ba26b7c

What's Changed

Changed

  • Unified tool naming: All MCP tools now use hangar_* prefix for consistency

    • registry_tools -> hangar_tools
    • registry_details -> hangar_details
    • registry_warm -> hangar_warm
    • registry_health -> hangar_health
    • registry_metrics -> hangar_metrics
    • registry_discover -> hangar_discover
    • registry_discovered -> hangar_discovered
    • registry_quarantine -> hangar_quarantine
    • registry_approve -> hangar_approve
    • registry_sources -> hangar_sources
    • registry_group_list -> hangar_group_list
    • registry_group_rebalance -> hangar_group_rebalance
  • Updated error hints and recovery messages to use new tool names

  • Updated docs/guides/DISCOVERY.md with new tool names

Refactoring

  • Bootstrap modularization: Split server/bootstrap.py (890 LOC) into focused modules

    • server/bootstrap/__init__.py - Main bootstrap orchestration
    • server/bootstrap/cqrs.py - Command/query handler registration
    • server/bootstrap/discovery.py - Discovery source configuration
    • server/bootstrap/event_handlers.py - Event handler setup
    • server/bootstrap/event_store.py - Event store initialization
    • server/bootstrap/hot_loading.py - Hot-loading configuration
    • server/bootstrap/knowledge_base.py - Knowledge base setup
    • server/bootstrap/tools.py - MCP tool registration
    • server/bootstrap/workers.py - Background worker creation
  • Batch tool modularization: Split server/tools/batch.py (952 LOC) into focused modules

    • server/tools/batch/__init__.py - Public API (hangar_call)
    • server/tools/batch/executor.py - Batch execution engine
    • server/tools/batch/models.py - Data classes and constants
    • server/tools/batch/validator.py - Validation logic
  • MCP Server launcher modularization: Split domain/services/mcp_server_launcher.py into package

    • domain/services/mcp_server_launcher/__init__.py - Public API
    • domain/services/mcp_server_launcher/base.py - Base launcher interface
    • domain/services/mcp_server_launcher/subprocess.py - Subprocess launcher
    • domain/services/mcp_server_launcher/docker.py - Docker launcher
    • domain/services/mcp_server_launcher/container.py - Container utilities
    • domain/services/mcp_server_launcher/http.py - HTTP/SSE launcher
    • domain/services/mcp_server_launcher/factory.py - Launcher factory

Migration

If you have scripts or integrations using the old registry_* tool names, update them to use hangar_*:

# Before
registry_tools(mcp_server="math")
registry_health()

# After
hangar_tools(mcp_server="math")
hangar_health()

Installation

PyPI:

pip install mcp-hangar==0.6.2

Docker:

docker pull ghcr.io/mcp-hangar/mcp-hangar:0.6.2

Links

Full Changelog: v0.6.1...v0.6.2