Skip to main content
All apps
API & AI

MCP Server

A headless app that exposes its tables to an LLM client over MCP. Per-entity access is declared with `aiAccess`; the operator activates the server with an environment flag.

The configuration

This is the whole app. Copy it, change it, make it yours.

name: mcp-server-example
description: >-
  A headless Sovrium app that exposes tables to an LLM client
  via MCP. Per-entity exposure is declared with `aiAccess`;
  the operator activates it with MCP_ENABLED=true.

auth:
  $ref: ./config/auth.yaml

tables:
  - $ref: ./config/tables/tags.yaml
  - $ref: ./config/tables/documents.yaml   # aiAccess

Run it

Install Sovrium, then start the app from its config.

curl -fsSL https://sovrium.com/install | sh
MCP_ENABLED=true sovrium start app.yaml

Build your own

Start from a template or an empty file. One config, and Sovrium runs the whole app.