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) │
│ Custom: Acumatica(26) DevOps(22) GoDaddy(15) Zoom(65) │
│ Microsoft(22) │
│ Native: HubSpot, Slack, Gmail, Chrome, Preview │
├──────────────────────────────────────────────────────────────────┤
│ Railway (Agents, Cron, BullMQ) │
├──────────┬──────────┬───────────┬──────────┬─────────┬──────────┤
│ Acumatica│ Orderful │ HubSpot │ Shopify │ Twilio │ M365 │
│ ERP │ EDI │ CRM+Call │ E-comm │ VoIP │ Mail/Cal │
├──────────┴──────────┴───────────┴──────────┴─────────┴──────────┤
│ GitHub (IaC, CI/CD, Config-as-Code) │
└──────────────────────────────────────────────────────────────────┘

Services (10 Active)

ServicePurposeStack
webhook-routerSlack intake, error routing, Acumatica-HubSpot syncFastify + BullMQ + Redis
business-dashboardOps dashboard, health checker, sales intelligenceExpress + EJS
support-agentAI customer supportClaude + Qdrant KB
provisioning-agentEmployee onboarding/offboardingFastify + multi-system
devops-mcpGitHub + Railway APIMCP SDK + StreamableHTTP
acumatica-mcpAcumatica ERP APIMCP SDK + StreamableHTTP
note-intelligenceAI note classificationClaude Sonnet + pgvector
compliance-engineRequirement enforcementBullMQ workers
integration-tester10 test paths, weekly canaryScheduled tests
PostgreSQL / Redis / QdrantData storesManaged on Railway

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

MCP Server Architecture

All custom MCP servers follow the same pattern:

  • Runtime: TypeScript + Fastify 5
  • Protocol: MCP SDK with StreamableHTTP transport at /mcp
  • Auth: Token-based via query parameter (migration to Authorization header planned)
  • Deploy: Railway with GitHub auto-deploy on push to main

Each server creates a new McpServer instance per session (SDK limitation: one transport per server).

Revenue Model

StreamTypeMargin
ConsultingProject-based75-85%
SaaS Products (AcuOps)MRR85-95%
Managed ITRetainer75-85%
Platform LicensingMRR85-95%

Infrastructure cost per client: $50-100/mo on Railway.