Add sign-in from your coding agent
Connect Claude Code, Cursor or VS Code to your AuthAction account. Your agent creates the application, sets the callback URLs, turns on login methods and writes the config into your app. When your API answers 401, it tells you why.
Connect in one line
Claude Code
claude mcp add --transport http authaction https://mcp.authaction.com
Cursor, VS Code and other MCP clients
https://mcp.authaction.com
The first time a tool runs, your client opens the AuthAction sign-in page. No API keys to create or paste. Your agent sees the same tenants you see in the dashboard, and nothing more.
From "add login" to a working config
Ask for sign-in and the agent does the setup you would otherwise click through: a public client with PKCE for your front end, your local callback URL, a login method, and the API audience if you have a backend.
Then integration_config_get hands it everything in
one call: domain, issuer, endpoints, client ID, the flow to use
and environment variables named the way the AuthAction SDKs
name them. It also warns about setups that would fail, like an
application with no callback URL.
Client secrets never reach the agent. Backend applications get a placeholder and a note to copy the secret from the dashboard.
"Why does my API say 401?"
token_inspect checks a token against your tenant:
signature, issuer, audience and expiry. Then it says what is
wrong in plain words, most likely cause first.
- Expired, and how long ago
- Issued by a different tenant or environment
- An ID token sent where an access token belongs
- An audience that isn't one of your APIs
- A token cut short when it was copied
Ask about your users
The same connection answers product questions. users_stats
counts sign-ups per day and per login method for any range,
and users_list filters by sign-up date.
Want an agent that can look but not touch? Connect to
https://mcp.authaction.com/read instead.
What your agent can do
Over 60 tools, generated from the same API the dashboard uses
Applications
Create clients, set callback and logout URLs, get the full config.
Login methods
Add social, email and enterprise connections and turn them on per app.
Your APIs
Register your backend as an API and let apps request tokens for it.
Users and roles
Create test users, define roles and assign them.
Token debugger
Find out exactly why a token is or isn't accepted.
Sign-ups and tenants
Sign-up counts, users by date, tenants, members and email logs.
Safe to hand to an agent
Agents read transcripts back, retry and improvise. The server is built for that.
Your permissions
You sign in with your own AuthAction account. Every tool call runs as you, through the same API and checks as the dashboard.
No secrets in transcripts
Client secrets, social login secrets, SAML keys and LDAP passwords are never returned. A connection only says whether its secret is set.
A real read-only mode
Tokens for /read can't make changes through MCP or by calling the API directly. The API refuses them for anything but reads.
Nothing to delete with
There are no tools that delete applications, connections, APIs or users. Removing those stays a deliberate step in the dashboard.
Further reading
In the docs
-
AuthAction MCP server
Connecting, the integration flow, and every tool
-
Client ID Metadata Documents
How MCP clients sign in without registering first
Building your own MCP server?
-
MCP Server Authorization
Use AuthAction to sign users in to your MCP server
-
Is your MCP server an agent?
When it should call other APIs as the user
Let your agent set up sign-in
Free, like the rest of AuthAction: unlimited users, no MAU tiers.
claude mcp add --transport http authaction https://mcp.authaction.com