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

# Readiness check

> Check if the agent is ready to accept requests.



## OpenAPI

````yaml /docs/reference/openapi.json get /ready
openapi: 3.1.0
info:
  description: >-
    The HTTP API of an agent served with `omniserve run --agent agent.py`: runs,
    approvals, budgets, background tasks, sessions and the evidence of every
    run.
  title: OmniServe
  version: latest
servers:
  - description: omniserve run, locally
    url: http://localhost:8000
security: []
paths:
  /ready:
    get:
      tags:
        - Health
      summary: Readiness check
      description: Check if the agent is ready to accept requests.
      operationId: readiness_check_ready_get
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReadinessResponse'
          description: Successful Response
components:
  schemas:
    ReadinessResponse:
      description: Response model for readiness check endpoint.
      properties:
        agent_name:
          description: Name of the agent
          title: Agent Name
          type: string
        initialized:
          description: Whether the agent is initialized
          title: Initialized
          type: boolean
        mcp_connected:
          description: >-
            Whether MCP readiness is satisfied. True when no MCP servers are
            configured, or when every configured MCP server has a connected
            session.
          title: Mcp Connected
          type: boolean
        mcp_servers:
          additionalProperties:
            additionalProperties: true
            type: object
          description: >-
            Each configured MCP server's status (connected, disconnected,
            failed, not_connected) and its last error, so a partial failure is
            visible.
          title: Mcp Servers
          type: object
        ready:
          description: Whether the agent is ready
          title: Ready
          type: boolean
      required:
        - ready
        - agent_name
        - initialized
        - mcp_connected
      title: ReadinessResponse
      type: object

````