Ory MCP Server: Connect AI Agents to Identity & Permissions | Ory

Ory DX: Ory MCP Server

Connect your AI agents to identity, access, and permissions

Bring the full power of the Ory CLI and the Ory REST API directly into your AI chat sessions with the official Ory Model Context Protocol (MCP) Server.

Get Started

Configure Ory through simple commands

Whether you are using Claude Code, Cursor, or any other MCP-capable harness, your AI assistant can now seamlessly interact with your Ory infrastructure. Autonomously manage identities, orchestrate OAuth2 clients, adjust permission relationships, and update project configurations through simple conversational commands.

What is the Ory MCP Server?

The Ory MCP Server is a standalone Model Context Protocol server that exposes identity management, OAuth2 configuration, and fine-grained access control as native tools for AI agents. The server facilitates bidirectional communication with your AI environment via standard I/O (stdio), translating structural commands into two distinct execution pathways.

CLI-Backed Automation

Leverages the trusted Ory binary installed on your local environment (--format json). It provides the AI agent with direct capability to manage high-level infrastructure components like workspaces, organizations, and JSON Web Keys (JWKs).

Direct REST API Access

The ory_api_request tool skips the command-line interface entirely. By communicating directly with the Ory REST API over HTTP, it unlocks advanced self-service flows, session handshakes, account recovery processes, and consent challenges using just an API key and base URL.

Key benefits

The Ory MCP Server delivers instant, friction-free control over your entire security stack by combining out-of-the-box AI compatibility with flexible standalone deployment and dual CLI/REST execution paths.

Ory DX: Build secure apps at the speed of thought, the right way.

Ory DX is the ultimate developer toolkit that unifies AI automation with Ory’s hardened security ecosystem. By seamlessly blending Model Context Protocol (MCP) servers, plugins, CLI, and Ory Elements, it gives developers a conversational, agent-led workflow to develop enterprise-ready identity, access management, and fine-grained permissions.

Agent Plugins Ory CLI Ory Elements Ory Docs MCP Server

Try Ory today Start for free

Get Started Talk to an expert