Integration

Ory Hydra integration

Ory Hydra is an OAuth 2.0 and OpenID Connect server. This catalog entry covers its administrative surface, the part a machine can drive: register, list, read, replace, patch and delete OAuth 2.0 clients, override a client's token lifespans, rotate a client secret and drop the rotated ones, manage JSON Web Key Sets and individual keys (create, read, replace, delete), read a pending login, consent or logout request by its challenge and accept or reject it, accept a device user code, list and revoke a subject's consent sessions, invalidate a subject's login sessions, introspect an access or refresh token to see whether it is still active and what it was granted, revoke every token issued to a client or subject, manage the trusted issuers allowed to use the JWT bearer grant, and read server version and readiness. The browser-facing legs are deliberately absent: the authorize, device verification and OIDC logout endpoints redirect a user agent, the token, revocation and dynamic client registration endpoints authenticate as the OAuth client rather than as an administrator, and the discovery documents describe the deployment rather than doing work. The host is part of the credential because every install is its own deployment: point it at the Hydra admin endpoint (port 4445 by default) or at an Ory Network project URL. Authentication is an API key sent as a bearer token in the Authorization header; a self-hosted admin endpoint is often left unauthenticated behind a private network or a proxy instead, in which case any placeholder value is accepted.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in Ory Hydra.Built from the 38 Ory Hydra tools below, on the connection you add once.

What you can do with Ory Hydra

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.

Key, 7 operations

  • delete_json_web_keyDelete json web keyDELETEAgents: ask firstDelete JSON Web Key.
  • delete_json_web_key_setDelete json web key setDELETEAgents: ask firstDelete JSON Web Key Set.
  • generate_json_web_keyGenerate json web keyPOSTAgents: ask firstCreate JSON Web Key.
  • get_json_web_keyGet json web keyGETAgents: ask firstGet JSON Web Key.
  • get_json_web_key_setGet json web key setGETAgents: ask firstRetrieve a JSON Web Key Set.
  • replace_json_web_keyReplace json web keyPUTAgents: ask firstSet JSON Web Key.
  • replace_json_web_key_setReplace json web key setPUTAgents: ask firstUpdate a JSON Web Key Set.

Client, 6 operations

  • create_oauth2_clientCreate oauth2 clientPOSTAgents: ask firstCreate OAuth 2.0 Client.
  • delete_oauth2_clientDelete oauth2 clientDELETEAgents: ask firstDelete OAuth 2.0 Client.
  • get_oauth2_clientGet oauth2 clientGETAgents: ask firstGet an OAuth 2.0 Client.
  • list_oauth2_clientsList oauth2 clientsGETAgents: ask firstList OAuth 2.0 Clients.
  • patch_oauth2_clientPatch oauth2 clientPATCHAgents: ask firstPatch OAuth 2.0 Client.
  • replace_oauth2_clientReplace oauth2 clientPUTAgents: ask firstSet OAuth 2.0 Client.

Accept, 4 operations

  • accept_device_user_codeAccept device user codePUTAgents: ask firstAccepts a device grant user_code request.
  • accept_oauth2_consent_requestAccept oauth2 consent requestPUTAgents: ask firstAccept OAuth 2.0 Consent Request.
  • accept_oauth2_login_requestAccept oauth2 login requestPUTAgents: ask firstAccept OAuth 2.0 Login Request.
  • accept_oauth2_logout_requestAccept oauth2 logout requestPUTAgents: ask firstAccept OAuth 2.0 Session Logout Request.

Issuer, 4 operations

  • delete_trusted_jwt_grant_issuerDelete trusted jwt grant issuerDELETEAgents: ask firstDelete Trusted OAuth2 JWT Bearer Grant Type Issuer.
  • get_trusted_jwt_grant_issuerGet trusted jwt grant issuerGETAgents: ask firstGet Trusted OAuth2 JWT Bearer Grant Type Issuer.
  • list_trusted_jwt_grant_issuersList trusted jwt grant issuersGETAgents: ask firstList Trusted OAuth2 JWT Bearer Grant Type Issuers.
  • trust_jwt_grant_issuerTrust jwt grant issuerPOSTAgents: ask firstTrust OAuth2 JWT Bearer Grant Type Issuer.

Consent, 3 operations

  • get_consent_requestGet consent requestGETAgents: ask firstGet OAuth 2.0 Consent Request.
  • list_oauth2_consent_sessionsList oauth2 consent sessionsGETAgents: ask firstList OAuth 2.0 Consent Sessions of a Subject.
  • revoke_oauth2_consent_sessionsRevoke oauth2 consent sessionsDELETEAgents: ask firstRevoke OAuth 2.0 Consent Sessions of a Subject.

Reject, 3 operations

  • reject_oauth2_consent_requestReject oauth2 consent requestPUTAgents: ask firstReject OAuth 2.0 Consent Request.
  • reject_oauth2_login_requestReject oauth2 login requestPUTAgents: ask firstReject OAuth 2.0 Login Request.
  • reject_oauth2_logout_requestReject oauth2 logout requestPUTAgents: ask firstReject OAuth 2.0 Session Logout Request.

Login, 2 operations

  • get_login_requestGet login requestGETAgents: ask firstGet OAuth 2.0 Login Request.
  • revoke_oauth2_login_sessionsRevoke oauth2 login sessionsDELETEAgents: ask firstRevokes OAuth 2.0 Login Sessions by either a Subject or a SessionID.

Rotate, 2 operations

  • delete_rotated_oauth2_client_secretsDelete rotated oauth2 client secretsDELETEAgents: ask firstDelete Rotated OAuth 2.0 Client Secrets.
  • rotate_oauth2_client_secretRotate oauth2 client secretPOSTAgents: ask firstRotate OAuth 2.0 Client Secret.

Alive, 1 operation

  • check_aliveCheck aliveGETAgents: ask firstCheck Alive Status.

Introspect, 1 operation

  • introspect_oauth2_tokenIntrospect oauth2 tokenPOSTAgents: ask firstIntrospect OAuth2 Access and Refresh Tokens.

Lifespan, 1 operation

  • set_oauth2_client_lifespansSet oauth2 client lifespansPUTAgents: ask firstSet OAuth2 Client Token Lifespans.

Logout, 1 operation

  • get_logout_requestGet logout requestGETAgents: ask firstGet OAuth 2.0 Session Logout Request.

Ready, 1 operation

  • check_readyCheck readyGETAgents: ask firstCheck Readiness Status.

Token, 1 operation

  • delete_oauth2_tokens_for_clientDelete oauth2 tokens for clientDELETEAgents: ask firstDelete OAuth 2.0 Access Tokens from specific OAuth 2.0 Client.

Version, 1 operation

  • get_versionGet versionGETAgents: ask firstGet Service Version.

Use Ory Hydra from Claude Code, Cursor or Codex

Connect Ory Hydra in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Ory Hydra operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect Ory Hydra

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect Ory Hydra once

    Add your Ory Hydra connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. 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 Hydra integration FAQ

What can you do with the Ory Hydra integration?

LiveContext exposes 38 operations on Ory Hydra, covering key, client, accept and issuer.

Popular integrations

Browse the whole catalog