How to Use the SuperTokens MCP in Claude Code
Automate SuperTokens authentication and identity management in CI/CD pipelines with Claude Code.
Works with every AI agent you already use
…and any MCP-compatible client
Connect SuperTokens MCP to Claude Code
Create your Vinkius account to connect SuperTokens to Claude Code — we handle the hosting, security, and runtime updates so you don't have to. No server setup required.
Key Capabilities
Automating user onboarding flows
Write scripts to automate account creation using `signup_user`. Following that, you can use `signin_user` to immediately test the authentication flow without manual intervention. For testing new features, call `create_session` to ensure your CI/CD environment can validate active tokens.
Handling user permissions and roles
Scripts need to manage access rights. Use `list_roles` to see all available role definitions. Then, use `assign_role_to_user` within your pipeline if a new type of user is deployed. When setting up environments, running `create_or_update_role` ensures the required permission set exists before deployment.
Managing account linkages and data
The server allows scripts to manage how users connect accounts using `link_accounts`. If a test case requires separating identities, you run `unlink_accounts`. You can pull user details into your logs with `get_user`, or update required environment variables via `update_user_metadata`.
Set up SuperTokens MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seesupertokens-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest SuperTokens transactions." It will automatically discover and invoke the available SuperTokens tools.
claude mcp add --transport http supertokens-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about SuperTokens MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the SuperTokens MCP today
We host it, we monitor it, we maintain it. You just paste one token.