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

# MCP tools the calling key or logged-in session may use

> The MCP tool names the calling API key's capabilities allow, or, with no API key, the logged-in session's role allows. A legacy full-access key (`*:*`, including the anonymous identity when API keys are off) and an admin session see the whole catalog with `filtered: false`; editor and viewer sessions get their role's tools with `filtered: true`. A presented API key takes precedence over the session.



## OpenAPI

````yaml /openapi.yaml get /api/v1/mcp/tools
openapi: 3.0.3
info:
  title: Datris API
  description: >
    REST API for the Datris AI Data Platform. Ingest, validate, transform,
    store, and retrieve data.


    For AI agent integration, use the [MCP
    Server](https://docs.datris.ai/mcp-server) instead.
  version: 1.57.1
  contact:
    name: Datris
    url: https://datris.ai
  license:
    name: Apache 2.0
servers:
  - url: http://localhost:8080
    description: Local development
security:
  - ApiKeyAuth: []
paths:
  /api/v1/mcp/tools:
    get:
      tags:
        - MCP
      summary: MCP tools the calling key or logged-in session may use
      description: >-
        The MCP tool names the calling API key's capabilities allow, or, with no
        API key, the logged-in session's role allows. A legacy full-access key
        (`*:*`, including the anonymous identity when API keys are off) and an
        admin session see the whole catalog with `filtered: false`; editor and
        viewer sessions get their role's tools with `filtered: true`. A
        presented API key takes precedence over the session.
      responses:
        '200':
          description: Tool names
          content:
            application/json:
              schema:
                type: object
                properties:
                  filtered:
                    type: boolean
                    description: >-
                      `true` when the list was narrowed to the key's or
                      session's capabilities
                  tools:
                    type: array
                    items:
                      type: string
        '401':
          description: >-
            API keys are required and there is no API key and no logged-in
            session, or the presented key is invalid (even with a session).
            Body: `{"error": "Authentication required"}`
        '500':
          description: Error
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Optional API key for authentication (enabled via application.yaml)

````

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