MCP server

Connect Claude Code, Cursor, Windsurf or Codex directly to your SantiAuth account over Streamable HTTP MCP.

On this page

SantiAuth exposes a Model Context Protocol (MCP) server over Streamable HTTP so AI coding assistants can inspect your services, manage keys and bans, check analytics, debug script runtime errors and read these docs directly from your editor or terminal.

https://api.santiauth.com/api/mcp

Authentication & scopes

Authenticate with any personal API key created in Settings → API keys using Authorization: Bearer pk_... (or x-api-key: pk_...).

  • Automatic scope filtering: MCP only exposes the tools and resources allowed by your API key's scopes. For example, a key with only services:read and obfuscation:read can inspect scripts, live sessions and runtime errors, but cannot create keys or delete services.
  • Same safety boundary as the REST API: Dashboard-only areas (billing, account security, team management, Discord bot panels, admin) are never exposed via MCP.

Client setup

You can copy pre-filled snippets directly from the MCP Server card in Settings → API keys, or use the configs below:

claude mcp add --transport http santiauth https://api.santiauth.com/api/mcp \
  --header "Authorization: Bearer pk_YOUR_API_KEY"

Available tools

CategoryRequired scopeTools
Servicesservices:read / services:writelist_services, get_service, get_service_settings, get_service_slug_providers, get_plan_usage, create_service, update_service, update_service_slug_providers, delete_service
Keys & banskeys:read / keys:writelist_keys, create_key, update_key, delete_key, list_service_bans, ban_key_holder, unban_key_holder
Folders & templatesfolders:read, key-templates:readlist_folders, list_key_templates
Providersproviders:read / providers:writelist_providers, get_provider, create_provider, update_provider, delete_provider
Revenuesrevenues:read / revenues:writelist_revenue_types, list_revenues, get_revenue, create_revenue, update_revenue, delete_revenue
Scripts & telemetryobfuscation:read / obfuscation:writelist_scripts, rename_script, get_script_errors_summary, list_script_errors, get_script_error, update_script_error_status, list_script_activity, list_live_sessions
Loadersloaders:readlist_loaders, get_loader_source
Webhookswebhooks:readlist_webhooks
Analyticsanalytics:readget_analytics, get_provider_stats, get_checkpoint_stats, get_revenue_stats, get_all_providers_stats, get_all_checkpoints_stats
DocumentationNone (any valid key)search_documentation, load_skill

Resources & prompts

Resources

URIScopeDescription
santiauth://servicesservices:readJSON list of services accessible to the API key.
santiauth://planservices:readCurrent plan tier, quotas and active usage.
santiauth://docs/overviewNoneQuick reference of SantiAuth entities, workflows and scopes.

Built-in prompts

PromptArgumentsWhat it does
debug_script_errorsservice_id, script_id (both optional)Inspects open runtime errors, stack traces and recent kicks/refusals, then proposes Luau fixes.
audit_service_healthservice_id (required)Reviews service settings, provider funnels, 7-day analytics and open script crashes.
generate_keys_reportservice_id (required), period (24h | 7d | 30d | 90d)Summarizes key inventory, bans and execution volume.