LumoAuth MCP server
The LumoAuth MCP server lets a coding agent manage your LumoAuth organization. You add one address to an MCP client such as Claude Code, Codex, Cursor or opencode. You then sign in and choose what the client may read and change. After that you ask for things in plain language:
- "Create an application for this Next.js project and put the client ID into
.env.local." - "Which users have not verified their email address?"
- "Add Dana to the Support group and give the group the Billing viewer role."
- "Register this MCP server so that our agents can get tokens for it."
- "Who changed a role in the last seven days?"
The server is included in every plan and is on for every organization. An administrator can switch it off.
This page is about managing LumoAuth itself from an MCP client. To protect an MCP server that you build, with LumoAuth as its authorization server, see MCP server authorization.
The address
The server has one address per region. Use the region where your organization was created.
| Region | Address |
|---|---|
| United States | https://app.lumoauth.dev/mcp |
| European Union | https://eu.app.lumoauth.dev/mcp |
The address is the same for every organization in a region. You say which organization you mean when you sign in.
Before you start
You need an account in the organization that can open the organization portal. A connection can never do more than your own account can do in the portal. An account with no administrator access cannot connect.
Connect your client
Claude Code
claude mcp add --transport http lumoauth https://app.lumoauth.dev/mcp
Then run /mcp inside Claude Code, select lumoauth and follow the steps in the browser.
Claude on the web and the desktop app
Open the connector settings, add a custom connector and enter the address https://app.lumoauth.dev/mcp. Claude then opens the sign-in page.
Codex
codex mcp add lumoauth --url https://app.lumoauth.dev/mcp
codex mcp login lumoauth
opencode
opencode mcp add lumoauth --url https://app.lumoauth.dev/mcp
opencode mcp auth lumoauth
Cursor
Add the server to .cursor/mcp.json in your project, or to ~/.cursor/mcp.json for every project:
{
"mcpServers": {
"lumoauth": {
"url": "https://app.lumoauth.dev/mcp"
}
}
}
VS Code
Add the server to .vscode/mcp.json:
{
"servers": {
"lumoauth": {
"type": "http",
"url": "https://app.lumoauth.dev/mcp"
}
}
}
Any other MCP client
Enter the address where the client asks for the URL of a remote MCP server. The client must support the Streamable HTTP transport and OAuth sign-in. For client developers lists the details.
For the EU region, replace the address with https://eu.app.lumoauth.dev/mcp in every example above.
What happens when you connect
The client opens a browser window. You go through three pages:
- Choose your organization. Enter the address of your organization. That is the short name in the URL of your portal and your sign-in page:
/orgs/acme-corp/. If you are already signed in, the page offers that organization with one click. - Sign in. You sign in on your organization's own sign-in page, with the same methods and the same multi-factor rules as for the portal.
- Choose the access. The page lists the areas of your organization. For each area you choose None, Read or Read and change. The page starts with what the application asked for, which is read access for most clients, and with what you gave the application the last time. Check every row before you approve.
The browser then returns you to the client, and the client lists the tools that match your choice.
Give a client read access first. Add Read and change for an area when you have a task that needs it. To change the access later, connect the client again and choose again. The new choice replaces the old one.
What a connection can do
| Area | Read | Read and change |
|---|---|---|
| Users | Users, their roles, groups and permissions, customer organizations | Create, change, block and delete users, assign roles and groups, send a password reset email |
| Groups | Groups, their members and roles | Create, change and delete groups, members and group roles |
| Roles | Roles, their permissions and holders | Create, change and delete roles and their permissions |
| Permissions and scopes | Permissions and OAuth scopes | Create and delete permissions |
| Applications | Applications and their settings | Create, change, disable and delete applications, rotate a client secret |
| AI agents and MCP servers | Agents and registered MCP servers | Create, change, deactivate and delete agents, rotate agent credentials, register and remove MCP servers |
| Webhooks | Webhooks and their deliveries | Create, change, pause and delete webhooks |
| Sessions and tokens | Sessions, issued tokens and counts | End sessions, revoke the tokens of a user |
| Access policies | ABAC policies and attributes | Create, change and delete policies |
| Social sign-in providers | Configured providers | Not available |
| Organization settings | The organization, its settings and the MFA policy | Not available |
| Audit logs | Entries, event types and counts | Not available |
| Analytics | Sign-in and usage numbers | Not available |
Tools lists every tool with its arguments.
What a connection cannot do
Some things are left to the organization portal on purpose. A coding agent reads text that your users typed, such as names and log messages. Such text must never be able to lead to a takeover of an account.
- No way to sign in as a user. A connection cannot set a password, issue a temporary access code, reset multi-factor authentication, mark an email address as verified or link an identity. A new user chooses a password from the password reset email.
- No change of an email address.
update_userdoes not accept one. - No change to who may sign in. Sign-in settings, security settings, the MFA policy, social sign-in providers, enterprise connections and email templates stay in the portal.
- No other organization. Every tool acts on the organization that you connected. No tool accepts an organization as an argument.
- Nothing beyond your account or your plan. Each request passes the same permission, plan and limit checks as the portal and the Admin API.
Next steps
- Tools: every tool, by area.
- Access, security and administration: how access is decided, how to see and stop connections, what the audit log records.