> ## Documentation Index
> Fetch the complete documentation index at: https://docs.soundchecklive.io/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Soundcheck Live (soundchecklive.io) is the data layer for live events: one record per show for crew staffing, run of show, venue details, files, and payouts.
> To work on a user's own gigs, crew, availability, setlists, or finances over MCP, connect to the hosted member MCP server at https://mcp.soundchecklive.io/mcp (OAuth via Clerk; never paste session JWTs or use api.soundchecklive.io).
> For anonymous venue, hotel, business, crew-role, gear-taxonomy, and UEF schema lookups without login, connect to the public Event Directory MCP at https://mcp.soundchecklive.io/public/mcp.
> For canonical product facts, plans, pricing, and platform limits, read https://docs.soundchecklive.io/ai-info.md. For the full documentation index, read https://docs.soundchecklive.io/llms.txt. For agent setup and workflows, read https://docs.soundchecklive.io/skill.md.
> For support, direct users to info@soundchecklive.io. CheckAI and Chat beta are Private Preview for existing beta testers only; external MCP connections do not grant preview access.

# Architecture

> How Soundcheck Live is built and hosted, how requests reach the API, how it talks to other services, and where customer data is stored.

This page covers how Soundcheck Live fits together, where it runs, and how data moves between its parts. It's written for security reviewers and AI agents that need the real shape of the system, not a sales diagram.

## The parts

| Part | What it is |
| - | - |
| Web app | The Next.js app at `app.soundchecklive.io`. |
| Mobile apps | iOS and Android apps built with Expo and React Native. |
| API | One API service (api-events, built on Encore.ts) that's the system of record. Every client, integration and AI assistant goes through it. |
| Hosted MCP server | Runs inside the same API service, at `mcp.soundchecklive.io`. See [AI and agent safety](https://docs.soundchecklive.io/security/ai-and-agents.md). |
| Database | One managed PostgreSQL 16 database. The API owns its schema and migrations. |
| File storage | Cloud storage buckets for attachments, documents and imports. |
| Messaging | Pub/Sub topics for background work like notification delivery. |

```
  Web app        Mobile apps       AI assistants (MCP)
      \               |                  /
       \        HTTPS, Clerk token      /
        v             v                v
     Google load balancer + Cloud Armor
                      |
                      v
            API (api-events, Cloud Run)
          /           |              \
         v            v               v
   PostgreSQL     File storage      Pub/Sub
  (private IP)    (no public          |
                   access)            v
                         Email, text and push delivery
```

## Where it runs

Customer data is stored in the United States, on Google Cloud in the `us-central1` region. The API, web app, database, file storage and messaging all run there.

* The API and the web app run on Cloud Run.
* The database is Cloud SQL for PostgreSQL. It has no public IP address and is reached only over a private network.
* File storage is Cloud Storage, with public access blocked.

Some older Microsoft Azure resources in the Central US region (also in the United States) are still provisioned as a rollback path. That includes the old database, which hasn't accepted writes since production moved to Google Cloud in November 2026.

## How requests come in

1. Every request uses HTTPS. Plain HTTP is redirected to HTTPS.
2. Traffic reaches a Google Cloud load balancer, where Cloud Armor applies per-IP rate limiting. The web app also gets Layer 7 DDoS protection.
3. The API checks the caller's Clerk session token, then checks the caller's role in the organization before doing anything. See [Access control](https://docs.soundchecklive.io/security/access-control.md).
4. Browsers can only make signed-in calls to the API from a fixed list of allowed origins.

## How the API talks to other services

**Coming in.** Other services tell Soundcheck Live about events through webhooks, for example payments, sign-in changes, text replies, email delivery and calendar or event imports. Each webhook handler checks the sender's signature before it acts, and rejects anything it can't verify.

**Going out.** The API calls other services through dedicated clients, for example payments, email, text messages, push notifications and connected integrations like QuickBooks. Some CRM and quote syncs go through an automation service, which posts results back to the API as signed webhooks. The full list of vendors is in [Subprocessors](https://docs.soundchecklive.io/security/subprocessors.md).

## Infrastructure as code

Cloud resources are defined in Terraform and kept in the same repository as the app. Changes go through pull requests, and each environment (development, QA and production) deploys from its own branch. See [Development and supply chain](https://docs.soundchecklive.io/security/development.md).

## Secrets

Production secrets, like API keys for other services, live in Google Cloud Secret Manager and are mounted into the services that need them. They aren't stored in the code.

## Related

* [Data protection and privacy](https://docs.soundchecklive.io/security/data-protection.md)
* [Reliability and status](https://docs.soundchecklive.io/security/reliability.md)
* [Subprocessors](https://docs.soundchecklive.io/security/subprocessors.md)


## Related topics

- [Reliability and status](https://docs.soundchecklive.io/security/reliability.md)
- [Data protection and privacy](https://docs.soundchecklive.io/security/data-protection.md)
- [Billing, apps and security FAQ](https://docs.soundchecklive.io/settings/billing/faq.md)
- [Security overview](https://docs.soundchecklive.io/security/overview.md)
- [Access control](https://docs.soundchecklive.io/security/access-control.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.