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/mcpAuthentication & 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:readandobfuscation:readcan 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
| Category | Required scope | Tools |
|---|---|---|
| Services | services:read / services:write | list_services, get_service, get_service_settings, get_service_slug_providers, get_plan_usage, create_service, update_service, update_service_slug_providers, delete_service |
| Keys & bans | keys:read / keys:write | list_keys, create_key, update_key, delete_key, list_service_bans, ban_key_holder, unban_key_holder |
| Folders & templates | folders:read, key-templates:read | list_folders, list_key_templates |
| Providers | providers:read / providers:write | list_providers, get_provider, create_provider, update_provider, delete_provider |
| Revenues | revenues:read / revenues:write | list_revenue_types, list_revenues, get_revenue, create_revenue, update_revenue, delete_revenue |
| Scripts & telemetry | obfuscation:read / obfuscation:write | list_scripts, rename_script, get_script_errors_summary, list_script_errors, get_script_error, update_script_error_status, list_script_activity, list_live_sessions |
| Loaders | loaders:read | list_loaders, get_loader_source |
| Webhooks | webhooks:read | list_webhooks |
| Analytics | analytics:read | get_analytics, get_provider_stats, get_checkpoint_stats, get_revenue_stats, get_all_providers_stats, get_all_checkpoints_stats |
| Documentation | None (any valid key) | search_documentation, load_skill |
Resources & prompts
Resources
| URI | Scope | Description |
|---|---|---|
santiauth://services | services:read | JSON list of services accessible to the API key. |
santiauth://plan | services:read | Current plan tier, quotas and active usage. |
santiauth://docs/overview | None | Quick reference of SantiAuth entities, workflows and scopes. |
Built-in prompts
| Prompt | Arguments | What it does |
|---|---|---|
debug_script_errors | service_id, script_id (both optional) | Inspects open runtime errors, stack traces and recent kicks/refusals, then proposes Luau fixes. |
audit_service_health | service_id (required) | Reviews service settings, provider funnels, 7-day analytics and open script crashes. |
generate_keys_report | service_id (required), period (24h | 7d | 30d | 90d) | Summarizes key inventory, bans and execution volume. |