CLI
What exists today for scripting LoginWith from a terminal.
There is no LoginWith CLI. Today, script LoginWith with one of these:
| Use | When |
|---|---|
| Management API | Scripts, CI, anything that runs without a person: plain HTTPS with a bearer token |
| MCP server | An AI agent — Claude Code or any MCP client — managing your organization as you |
The only binary any LoginWith package ships is loginwith-mcp, the local stdio
MCP server from @loginwith/mcp. It speaks MCP, not shell commands, and is not
published to npm yet — see Connect a client.
For example, listing an organization’s tenants from a terminal is one request:
curl https://acme.loginwith.dev/organizations/acme/tenants \
-H "Authorization: Bearer $TOKEN"