Create a pre-configured DI container with the standard MCP server services registered as singletons.
Registered services:
TOKENS.RateLimiter
TOKENS.MetricsService
TOKENS.AuditLogger
TOKENS.HealthService
A fully configured DIContainer with all standard services registered
const container = createDefaultContainer();const health = container.resolve<HealthService>(TOKENS.HealthService);console.log(health.checkHealth()); Copy
const container = createDefaultContainer();const health = container.resolve<HealthService>(TOKENS.HealthService);console.log(health.checkHealth());
0.8.0
Create a pre-configured DI container with the standard MCP server services registered as singletons.
Registered services:
TOKENS.RateLimiter→ RateLimiter (standard EP API configuration)TOKENS.MetricsService→ MetricsServiceTOKENS.AuditLogger→ AuditLogger (global singleton)TOKENS.HealthService→ HealthService