Ory Kratos integration
Ory Kratos (Ory Identities) is an identity and user-management server. This catalog entry covers its machine-facing surface: create, read, update, patch, delete and batch-patch identities including their traits, metadata, verifiable and recoverable addresses and credentials, look an identity up by its external id, delete one credential type from an identity, list and revoke an identity's sessions, mint a recovery link or a one-time recovery code for an identity, list and read sessions across the deployment, extend or disable a session, read and revoke the caller's own sessions, resolve the caller's session with whoami, list and read identity JSON schemas, read the courier delivery log of sent email and SMS messages, and read server version and readiness. The end-user self-service flows (login, registration, recovery, verification, settings, logout) are not included: they need a browser, a per-flow CSRF cookie and a two-call flow handle, and they exchange a password for a session token rather than doing work. The host is part of the credential because every install is its own deployment: point it at the Kratos admin endpoint (port 4434 by default) for the admin routes, at the public endpoint (port 4433 by default) for the session and schema routes, or at an Ory Network project URL, which serves both. Authentication is an Ory API key sent as a bearer token in the Authorization header; a self-hosted admin endpoint is normally protected by the network or by a proxy instead.
Say what should happen.
The workflow builds itself.
What you can do with Ory Kratos
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Session, 9 operations
delete_identity_sessionsDelete identity sessionsDELETEAgents: ask firstDelete & Invalidate an Identity's Sessions.disable_my_other_sessionsDisable my other sessionsDELETEAgents: ask firstDisable my other sessions.disable_my_sessionDisable my sessionDELETEAgents: ask firstDisable one of my sessions.disable_sessionDisable sessionDELETEAgents: ask firstDeactivate a Session.get_sessionGet sessionGETAgents: ask firstGet Session. Each session comes with its identity (traits and credential identifiers, never credential secrets).list_identity_sessionsList identity sessionsGETAgents: ask firstList an Identity's Sessions.list_my_sessionsList my sessionsGETAgents: ask firstGet My Active Sessions.list_sessionsList sessionsGETAgents: ask firstList All Sessions. Each session comes with its identity (traits and credential identifiers, never credential secrets).manage_sessionsManage sessionsPOSTAgents: ask firstManage sessions in bulk.
Identitie, 7 operations
batch_patch_identitiesBatch patch identitiesPATCHAgents: ask firstCreate multiple identities.create_identityCreate identityPOSTAgents: ask firstCreate an Identity.delete_identityDelete identityDELETEAgents: ask firstDelete an Identity.get_identityGet identityGETAgents: ask firstGet an Identity.list_identitiesList identitiesGETAgents: ask firstList Identities.patch_identityPatch identityPATCHAgents: ask firstPatch an Identity.update_identityUpdate identityPUTAgents: ask firstUpdate an Identity, replacing its traits, state and metadata. Password and TOTP credentials sent replace the current ones; OIDC, SAML, lookup secret, WebAuthn and passkey credentials are added. Leave credentials out to keep them.
Message, 2 operations
get_courier_messageGet courier messageGETAgents: ask firstGet a Message. The message body is withheld: it carries the recovery and verification codes and links that would let a reader take over the account.list_courier_messagesList courier messagesGETAgents: ask firstList Messages. The message body is withheld: it carries the recovery and verification codes and links that would let a reader take over the account.
Schema, 2 operations
get_identity_schemaGet identity schemaGETAgents: ask firstGet Identity JSON Schema.list_identity_schemasList identity schemasGETAgents: ask firstGet all Identity Schemas.
Alive, 1 operation
is_aliveIs aliveGETAgents: ask firstCheck HTTP Server Status.
Code, 1 operation
create_recovery_code_for_identityCreate recovery code for identityPOSTAgents: ask firstCreate a Recovery Code.
Credential, 1 operation
delete_identity_credentialsDelete identity credentialsDELETEAgents: ask firstDelete a credential for a specific identity.
Extend, 1 operation
extend_sessionExtend sessionPATCHAgents: ask firstExtend a Session.
External, 1 operation
get_identity_by_external_idGet identity by external idGETAgents: ask firstGet an Identity by its External ID.
Link, 1 operation
create_recovery_link_for_identityCreate recovery link for identityPOSTAgents: ask firstCreate a Recovery Link.
Ready, 1 operation
is_readyIs readyGETAgents: ask firstCheck HTTP Server and Database Status.
Version, 1 operation
get_versionGet versionGETAgents: ask firstReturn Running Software Version.
Whoami, 1 operation
get_current_sessionGet current sessionGETAgents: ask firstCheck Who the Current HTTP Session Belongs To.
Use Ory Kratos from Claude Code, Cursor or Codex
Connect Ory Kratos in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Ory Kratos operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Ory Kratos
- Create your workspace
Sign up free. Nothing to install.
- Connect Ory Kratos once
Add your Ory Kratos connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
Ory Kratos integration FAQ
What can you do with the Ory Kratos integration?
LiveContext exposes 29 operations on Ory Kratos, covering session, identitie, message and schema.
