Modules: - Chain: daemon RPC client (DaemonRpc singleton, cached queries) - Explorer: block browser, tx viewer, alias directory, search, stats API - Names: .lthn TLD registrar portal (availability check, lookup, directory) - Trade: scaffold (DEX frontend + API) - Pool: scaffold (mining pool dashboard) Replaces 5 Node.js containers (5.9GB) with one FrankenPHP app. Built on CorePHP framework pattern from host.uk.com. Co-Authored-By: Charon <charon@lethean.io>
10 lines
297 B
PHP
10 lines
297 B
PHP
<?php
|
|
|
|
use App\Mcp\Servers\HostHub;
|
|
use Laravel\Mcp\Facades\Mcp;
|
|
|
|
// Local MCP server for AI assistant integrations
|
|
Mcp::local('host-hub', HostHub::class);
|
|
|
|
// Web-accessible MCP server (optional - for remote AI clients)
|
|
// Mcp::web('/mcp/host-hub', HostHub::class)->middleware(['throttle:mcp']);
|