Runbook
Onboard a business customer by asking a coding agent: it creates the organization's application, roles and webhook through the LumoAuth MCP server.
This page is a draft. The code exists, and not all of it has been run for this page yet. The page says what was checked.
Scenario
A developer has a checklist for each new customer: an application, three roles, a webhook, a first administrator. They give the checklist to their coding agent. The agent does the work through the LumoAuth MCP server, with exactly the access that the developer chose at sign-in, and then writes the settings into the project.
People and agents
| Who | Role in the application | Identity in LumoAuth |
|---|---|---|
| Developer | Gives the instruction and chose the access. | An administrator of the organization. |
| Coding agent | Calls the tools. | An MCP client. It acts with the permissions of the developer, narrowed at the consent screen. |
Flows
| Flow | What happens | What LumoAuth does |
|---|---|---|
| Connect | The developer adds the server to the client. | Sign-in, then a consent screen with one choice for each area: none, read, or read and change. |
| Read | The agent calls whoami and lists the applications. | Serves the tools that the access allows. |
| Change | The agent creates an application and three roles. | Applies the same rules as the portal: permissions, plan limits, step-up. |
| Refuse | The agent tries to change sign-in settings. | That area has no tool that changes it. |
| Record | The developer reads the audit log. | Each change names the connection. |
Parts
| Part | Built with | Job |
|---|---|---|
| Skill | The agent skill lumoauth-mcp-management | Tells the coding agent how to use the tools. |
| Checklist | A Markdown file in the sample project | The instruction that the developer gives. |
What the seed script creates
- Nothing. The application starts from an empty sandbox organization.
Walkthrough
- Install the skill.
- Add the MCP server, and choose "read and change" for applications and roles only.
- Give the agent the checklist.
- Read the
.envfile that it wrote. - Read the audit log.
Before you run it
- The server offers tools only, on the address of each region. It is not served on custom domains.
- It cannot set a password or change an email address.
Where the code is today
The skill is in the agent-skills repository. The sample project and the checklist are the parts to build.