> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agentarea.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Hydra Dcr Proxy

> Dynamic Client Registration (RFC 7591) — proxy to Hydra admin API.

Hydra v2 doesn't expose public DCR; we proxy POST /oauth2/register to
Hydra's admin endpoint so Cursor / Claude Desktop can self-register.

We inject server-side defaults:
  - skip_consent: true — MCP clients accessing their own workspace don't need consent
  - audience: [API_BASE_URL] — ensures issued JWTs have the correct audience for validation



## OpenAPI

````yaml /api-reference/openapi.json post /oauth2/register
openapi: 3.1.0
info:
  description: >-
    Modular and extensible framework for building AI agents. This API requires
    JWT Bearer token authentication for most endpoints. Include your JWT token
    in the Authorization header. Public endpoints include /, /health, /docs,
    /redoc, and /openapi.json.
  title: AgentArea API
  version: 0.1.0
servers: []
security:
  - bearer: []
paths:
  /oauth2/register:
    post:
      tags:
        - oauth-as
      summary: Hydra Dcr Proxy
      description: |-
        Dynamic Client Registration (RFC 7591) — proxy to Hydra admin API.

        Hydra v2 doesn't expose public DCR; we proxy POST /oauth2/register to
        Hydra's admin endpoint so Cursor / Claude Desktop can self-register.

        We inject server-side defaults:
          - skip_consent: true — MCP clients accessing their own workspace don't need consent
          - audience: [API_BASE_URL] — ensures issued JWTs have the correct audience for validation
      operationId: hydra_dcr_proxy_oauth2_register_post
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
      security:
        - bearer: []
components:
  securitySchemes:
    bearer:
      bearerFormat: JWT
      description: JWT Bearer token for authentication
      scheme: bearer
      type: http

````