Model context protocol

Scoped tokens, draft-only writes, and per-brand isolation for AI clients.

MCP server

TLC exposes a Model Context Protocol server at /api/mcp so Cursor, Claude Desktop, Claude Code, and other MCP clients can read definitions and edit drafts under scoped tokens.

Properties

  • One brand per token; cross-brand ids return not found
  • Tool list filtered to granted scopes
  • Draft-only writes; publish, send, and delete need UI confirmation
  • No patient records or PHI values in V1

Discovery: GET /api/mcp returns server metadata. OAuth metadata stub: GET /api/mcp/oauth-metadata.

WebMCP in the admin

The admin shell can surface agent tools (WebMCP) for in-browser assistants tied to the signed-in staff session. That path is separate from brand-scoped bearer tokens minted under Settings.

Further reading