A TypeScript MCP server that supports local/private and public app modes with health checks, auth, workflow tooling, and multi-service integrations.
Why this system had to exist
I designed this orchestrator to reduce the operational overhead of running multiple MCP-facing services with different runtime expectations. Some environments needed local STDIO or HTTP access, while others needed a public app surface with stricter security and configuration guarantees. The project had to centralize those concerns without creating separate codebases for each mode.
Built a reusable MCP gateway that bridges local automation, public app deployment, and integration-heavy workflows.
Unified local private STDIO and public HTTPS modes, ensuring zero-trust secure access to terminal tools.
What was breaking down
Integration-heavy automation stacks often drift into one-off scripts, inconsistent auth rules, and brittle startup assumptions. That makes local testing easy to break and public exposure risky. The challenge was to support multiple runtime modes, enforce safe deployment requirements, and still keep the server flexible enough to expose specialized tools and workflows.
Deployment Model
Separate ad hoc setups
Startup Safety
Late runtime failures
Operations
Scattered scripts
The breakthrough and implementation path
I implemented a TypeScript MCP server with mode-aware startup validation, integration modules, operational scripts, and health tooling. The system supports local/private usage for development and secure public deployments for app-facing access, while keeping workflows, integrations, and service diagnostics in one place. That gave me a more reliable foundation for automation-heavy internal products.
The critical design move was to treat deployment intent as a first-class runtime mode. Once the server explicitly knows whether it is operating privately or publicly, it can validate environment requirements early, enforce bearer auth defaults, and expose only the right surfaces for the chosen environment.
TypeScript MCP Core
Mode-aware Runtime Validation
Before vs after, without the clutter
Outcome metrics stay visible while comparison details are compressed into large readable cards instead of long stacked panels.
Deployment Model
Separate ad hoc setups
Optimized resolution
Single multi-mode orchestrator
Layered architecture with one consistent layout
Explore the operating layers and the shipped feature set in the same wider content frame used across the full case study.
TypeScript MCP Core
Dual operating modes for private MCP and public app deployments
Health checks, tunnel status, and deployment diagnostics
Large integration surface for GHL, n8n, Notion, ClickUp, and more
Workflow-oriented scripts for operations, maintenance, and portfolio tasks
