ArcticAuth
Get started

MCP server

Give an AI assistant read-only access to your services and Secure Vault scripts through the Model Context Protocol.

Enter jumps to the next match, shift-enter the previous.

Last changed November 19, 2026.

Scope

Reads: your services, your Secure Vault scripts and their version history - this account only.

Never: writes, other accounts' data, or C#/C++ projects.

What it is

arcticauth-mcp is a small local program that speaks the Model Context Protocol over stdio. Your MCP client starts it, and it answers the assistant's tool calls by asking the ArcticAuth API on your behalf.

There is one server per account, not per service. The token is the account, so the assistant can see every service you own - and nothing that belongs to anybody else.

Getting your API token

  1. Open Account settings and find the API token panel.
  2. Choose Show token and confirm your password, or Generate new token if you have never made one.
  3. Copy it into your MCP client's config, as below. Do not paste it into a chat.

If your account has a vault PIN, also set ARCTICAUTH_VAULT_PIN. Tools that return source refuse without it; listing tools work either way.

How to install

ARCTICAUTH_API_TOKEN
Required. Your account API token.
ARCTICAUTH_API_URL
Optional. The API origin. Defaults to https://api.arcticauth.com; change it only for a self-hosted deployment.
ARCTICAUTH_VAULT_PIN
Required when your account has a vault PIN. Exactly four digits.

Claude Desktop. Settings, Developer, Edit Config, then add the server to claude_desktop_config.json and restart the app.

claude_desktop_config.json
{
  "mcpServers": {
    "arcticauth": {
      "command": "npx",
      "args": ["-y", "arcticauth-mcp"],
      "env": {
        "ARCTICAUTH_API_TOKEN": "your-api-token",
        "ARCTICAUTH_VAULT_PIN": "1234"
      }
    }
  }
}

Claude Code. One command, from any directory. Add --scope user to make it available in every project.

terminal
claude mcp add arcticauth \
  --env ARCTICAUTH_API_TOKEN=your-api-token \
  --env ARCTICAUTH_VAULT_PIN=1234 \
  -- npx -y arcticauth-mcp

Other MCP clients (Cursor, Windsurf, VS Code and others) take the same shape: a stdio server whose command is npx -y arcticauth-mcp with the variables above in its environment.

generic mcp.json
{
  "mcpServers": {
    "arcticauth": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "arcticauth-mcp"],
      "env": { "ARCTICAUTH_API_TOKEN": "your-api-token" }
    }
  }
}

Prefer to run it from source? Build the PolarSec-MCP package and point the client's command at node with dist/index.js as the argument. Node.js 20 or newer.

terminal
cd PolarSec-MCP
npm install
npm run build
node dist/index.js

Tools

get_account
Who the token belongs to, how many services it owns, and whether a vault PIN is needed. A good first call to check the connection.
list_services
Every service on the account with its id, plan, detected client runtime and vault script count.
get_service
One service's details, with ready and disabled script counts and executions.
list_vault_scripts
A service's Secure Vault scripts: name, slug, status, obfuscation, size and digest. No source.
get_vault_script
One script's metadata.
read_vault_script
The readable Luau source you uploaded - the original, before Luraph, LuaQ or Arctic-Lock - and optionally its pre-init script.
list_script_versions
A script's version history, newest first, with which one is current.
read_script_version
The source of one historical version, for comparing what changed.
decompile
Recovers the source of one of your own protected scripts from a protected artifact ArcticAuth produced for you, or by id. See below.

About decompile

The name is a convenience. It does not reverse Luau bytecode or a VM, and it does not work on anybody else's script. It recognises an artifact ArcticAuth produced for your account and hands back the source you stored:

exact-digest
The artifact is byte-identical to a Luraph or LuaQ build of one of your scripts, current or any kept version. Version-precise. Pasting with different line endings still matches.
embedded-slug
A captured delivered payload or your loader line names the script slug. That identifies the script but not which build, so the current source comes back.
by-id
You passed scriptId, and optionally versionId.

A bare Arctic-Lock VM with no slug in it cannot be mapped back: Arctic-Lock rebuilds the VM with a fresh build id on every delivery and never stores it. Large artifacts can be passed as a local file with artifactPath instead of inline.

How to use

Ask in plain language; the assistant picks the tools. A few that work well:

  • "List my ArcticAuth services and how many vault scripts each one has."
  • "Show me the source of the Main script in my Blox Hub service."
  • "What changed between the last two versions of that script?"
  • "Review my vault script for anything that would break on a newer executor."
  • "Here is the obfuscated build I downloaded last week - which of my scripts is it, and what was the source?"

Limitations

  • Roblox Lua only. C# and C++ projects are not supported. The Secure Vault is Roblox-only, and a native client keeps its program on its own disk, so there is nothing for the assistant to read. A service detected as a pure C# or C++ project answers with an error.
  • Read-only. It cannot upload, edit, revert or delete scripts, or change any setting. Use the dashboard or the HTTP API for that.
  • Rate limited to 60 requests a minute per token.

Security

The API token signs in as your account. Anyone holding it can do anything your dashboard can, not only what this server does. Keep it in your MCP client's config, never in a prompt, a repository or a shared file.

If it leaks, open Account settings and choose Generate new token. The old one stops working immediately.

  • Source the assistant reads leaves ArcticAuth and goes to your AI provider. Only connect it where that is acceptable for your scripts.
  • The MCP API only accepts an API token, never a browser session, and every read is logged with your account, the tool and the ids.
  • With a vault PIN set, source tools need it. Wrong PINs count toward the same lockout as the dashboard keypad: five misses lock reads for fifteen minutes.