Skip to main content

Studio B Platform Architecture

Studio B operates as a services company with SaaS offerings — consulting engagements produce deployable software products that generate recurring revenue.

Core Stack

┌──────────────────────────────────────────────────────────────────┐
│ Claude Code + MCP Servers (150+ tools) │
│ Unified: studiob-api (Acumatica, GitHub, Railway, GoDaddy, │
│ Zoom, Microsoft, HubSpot) │
│ Native: HubSpot, Slack, Gmail, Chrome, Preview │
├──────────────────────────────────────────────────────────────────┤
│ Railway (Agents, Cron, BullMQ) │
├──────────┬──────────┬───────────┬──────────┬─────────┬──────────┤
│ Acumatica│ Orderful │ HubSpot │ Shopify │ Zoom │ M365 │
│ ERP │ EDI │ CRM+Call │ E-comm │ VoIP │ Mail/Cal │
├──────────┴──────────┴───────────┴──────────┴─────────┴──────────┤
│ GitHub (IaC, CI/CD, Config-as-Code) │
└──────────────────────────────────────────────────────────────────┘

Platform Services

The Studio B platform consists of shared services that power all client deployments, plus per-client services provisioned based on AcuOps subscription tier.

Shared Platform Services

ServicePurposeStack
studiob-apiUnified API gateway + MCP server — all Acumatica, GitHub, Railway, GoDaddy, Zoom, Microsoft, HubSpot accessFastify + MCP SDK + StreamableHTTP
business-dashboardOps dashboard, 12 health probes, sales intelligenceExpress + EJS
studiob-docsDocumentation site (docs.b.studio)Docusaurus 3

Per-Client Services (Tiered)

Per-client services are provisioned into isolated Railway projects during onboarding. The tier determines which services are deployed:

ServiceTierPurpose
webhook-routerValidate+Webhook intake, Acumatica↔HubSpot sync, CI/CD deploy hooks
support-agentManagedAI customer support (Claude + Qdrant KB)
provisioning-agentManagedEmployee onboarding/offboarding automation
note-intelligenceManagedAI note classification (8-tag taxonomy)
compliance-engineManagedRequirement enforcement, deadline cascades, escalation
PostgreSQL / Redis / QdrantVariesData stores provisioned per tier requirements

See AcuOps Pricing for full infrastructure breakdown by tier.

Key Principles

  1. Config-as-code — Every system configuration versioned in GitHub
  2. CI/CD everything — No manual promotions; every change validated through pipeline
  3. Discovery-first — Field mappings extracted from live systems, not hardcoded
  4. Direct TypeScript — No visual workflow builders; Railway cron + BullMQ for orchestration
  5. MCP API first, browser last — API tools for all operations; browser only for UI validation
  6. Build for reuse — Everything templated for multi-tenant deployment
  7. Gateway architecture — No client service holds direct ERP credentials; all access routed through studiob-api

MCP Server Architecture

All MCP tools are consolidated into the unified studiob-api service:

  • Runtime: TypeScript + Fastify 5
  • Protocol: MCP SDK with StreamableHTTP transport at /mcp
  • Auth: Bearer token via Authorization header
  • Deploy: Railway with GitHub auto-deploy on push to main
  • Systems: Acumatica (26 tools), GitHub (8), Railway (14), GoDaddy (15), Zoom (65), Microsoft (22), HubSpot

Service Model

StreamType
ConsultingProject-based engagements
SaaS Products (AcuOps)Monthly recurring subscription
Managed ITRetainer-based operations
Platform LicensingMonthly recurring subscription