"""Cubesquare MCP Server

Exposes 56 CST tools via Model Context Protocol (MCP).
Enables Claude Desktop, Cursor, and other MCP clients to access
the deterministic computational substrate.

Usage:
    python -m cubesquare.mcp                    # Run server (stdio)
    cubesquare mcp                              # Run via CLI
    cubesquare mcp --list                       # List all tools
    cubesquare mcp --test cst_shell status      # Test a tool

Protocol:
    JSON-RPC 2.0 over stdio (stdin/stdout)

Tools:
    56 tools (53 shell-backed + 3 C=0 Fernandez agent tools):
    - core: cst_shell, c_performance_shell, primitives_shell, ogawa_shell, srl_shell
    - routing: i_logic_shell, circular_shell, predict_shell, telemetry_shell
    - agent: new_agent_shell, unified_field_tools, copilot_shell, gene_shell, swarm_shell
    - physics: time_shell, distance_shell, mass_shell, gravity_shell, world_shell,
               vision_shell, epicycle_shell, gizmo_shell
    - semantic: content_shell, beehive_shell, semantic_chain_shell, language_shell
    - intelligence: phi_integration, cst_chat, thinking_shell, thinking_autonomous_shell
    - analysis: data_analysis_shell, ecosystem_shell, learning_shell, validation_shell,
                adversarial_shell, benchmark_shell
    - basin: basin_system, light_basin_shell, meaning_shell, basin_dict_shell
    - manifold: manifold_shell, sql_shell, twelve_shell
    - memory: memory_shell, spatial_memory_shell, persistence_shell
    - data: data_flip_shell, condition_shell, fml_shell, cypher_shell
    - exploration: exploration_shell, ticket_shell, training_shell
    - c0: c0_agent, c0_crossmcp, c0_registry (Fernandez sphere tools)
"""

from .server import MCPServer, main
from .transport import StdioTransport, DirectTransport
from .tools import ToolRegistry

__all__ = ['MCPServer', 'StdioTransport', 'DirectTransport', 'ToolRegistry', 'main']
__version__ = '1.0.0'
