Overview

Manage your LoginWith organizations from an AI agent.

LoginWith runs a Model Context Protocol server over the console’s management API. Connect an agent — Claude Code, or any MCP client — and it can list your tenants, create OAuth clients, edit login pages, register webhooks and read the audit log, as you, with your permissions.

It is the admin surface only: nothing in it acts as one of your app’s end users.

Hosted server

https://mcp.loginwith.dev/mcp

Streamable HTTP. Every request carries a LoginWith access token as Authorization: Bearer …; your MCP client gets one for you through OAuth the first time you connect. See Connect a client and Authentication.

Tools

29 tools, grouped by what they act on:

GroupTools
Organizationslist_organizations, get_organization
Tenantslist_tenants, create_tenant, update_tenant, delete_tenant
Memberslist_org_members, list_tenant_members, add_tenant_member, update_tenant_member, remove_tenant_member
OAuth clientslist_clients, create_client, update_client, rotate_client_secret, delete_client
Login pageslist_pages, get_page, create_page, update_page, delete_page
Branding kitslist_kits, create_kit, update_kit, delete_kit
Webhookslist_webhooks, create_webhook, delete_webhook
Audit logquery_audit_log

Every tool except list_organizations takes org — an organization id (org_…) or slug. Updates follow the API’s rule: the fields you pass are the fields that change.

Each tool calls one management API route and returns its JSON response as a text block. A route that answers 204 — every delete — returns OK (no content). A failure comes back flagged as an error, as LoginWith API error (<status>): <code>: <detail>; no token is ever echoed.