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

# OAuth mcp resource metadata

> MCP OAuth authorization with CIMD, pre-registered clients and dynamic registration; see docs/oauth.md. Enabled with a canonical public issuer. Public metadata contains no health records or credentials.



## OpenAPI

````yaml /openapi.json get /.well-known/oauth-protected-resource/mcp
openapi: 3.1.1
info:
  title: Vitalog
  version: 1.0.1
  description: >-
    Single-user structured observations with equivalent REST and MCP domain
    services. Environment AUTH_KEY or revocable personal Bearer keys with
    required name, permissions and explicit expiry (including Never); Primary
    key management requires AUTH_KEY; the UI uses separate, root-verified
    30-minute management sessions. MCP clients use OAuth authorization code with
    S256 PKCE, issued after root sign-in. Clients are resolved through HTTPS
    metadata, pre-registration or dynamic registration. OAuth tokens grant MCP
    access only.
servers:
  - url: https://vitalog-api.example.com
    description: Production REST and MCP API
  - url: http://localhost:3000
    description: Loopback development; production requires TLS ingress
security: []
paths:
  /.well-known/oauth-protected-resource/mcp:
    get:
      tags:
        - OAuth
      summary: OAuth mcp resource metadata
      description: >-
        MCP OAuth authorization with CIMD, pre-registered clients and dynamic
        registration; see docs/oauth.md. Enabled with a canonical public issuer.
        Public metadata contains no health records or credentials.
      operationId: oauth_mcp_resource_metadata
      responses:
        '200':
          description: RFC 9728 protected resource metadata
          content:
            application/json:
              schema:
                type: object
                additionalProperties: false
                required:
                  - resource
                  - authorization_servers
                  - scopes_supported
                  - bearer_methods_supported
                  - resource_name
                properties:
                  resource:
                    type: string
                    format: uri
                  authorization_servers:
                    type: array
                    items:
                      type: string
                  scopes_supported:
                    type: array
                    items:
                      type: string
                  bearer_methods_supported:
                    type: array
                    items:
                      type: string
                  resource_name:
                    type: string
      security: []

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.