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

# MCP JSON-RPC endpoint

> Model Context Protocol (MCP) JSON-RPC endpoint: handles initialize, tools/list, and tools/call over the same capabilities as the REST API.



## OpenAPI

````yaml https://api.foreverbetter.xyz/openapi.json post /mcp
openapi: 3.1.0
info:
  title: ForeverBetter API
  version: 0.4.8
  description: >-
    ForeverBetter API and MCP-compatible service for genetics, biomarkers,
    wearables, lab locator handoffs, and dashboard specs.
servers:
  - url: https://api.foreverbetter.xyz
security:
  - bearerAuth: []
paths:
  /mcp:
    post:
      summary: MCP JSON-RPC endpoint
      description: >-
        Model Context Protocol (MCP) JSON-RPC endpoint: handles initialize,
        tools/list, and tools/call over the same capabilities as the REST API.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````