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

# List all tool servers

> Retrieves a paginated list of all tool servers for the authenticated client.



## OpenAPI

````yaml GET /v1/tool-servers
openapi: 3.0.0
info:
  title: Devic.ai Public API
  description: >-
    Devic.ai is an AI platform that allows you to create, manage, and use AI
    agents for various tasks.
  version: 1.0.0
  contact:
    name: Devic.ai Support
    url: https://devic.ai
  x-logo:
    url: https://devic.ai/logo.png
    altText: Devic.ai Logo
  x-summary: Public API for interacting with Devic.ai platform
servers:
  - url: https://api.devic.ai
    description: Production server
  - url: https://staging-api.devic.ai
    description: Staging server
security:
  - bearerAuth: []
tags:
  - name: Projects
    description: Group agents, assistants, documents and costs into projects
  - name: Documents
    description: >-
      Knowledge base documents: create, version, attach and index markdown
      content for RAG
  - name: Document Folders
    description: Organise knowledge base documents into folders and attach them in bulk
  - name: Files
    description: Upload files and obtain shareable download URLs to attach to messages
  - name: Agents
    description: Endpoints related to AI agents and their operations
  - name: Assistants
    description: Endpoints for interacting with assistants and their specializations
  - name: Tool Servers
    description: Endpoints for managing tool servers and their tool definitions
  - name: Health
    description: API health check endpoints
  - name: Documentation
    description: Endpoints for retrieving markdown documentation
paths:
  /v1/tool-servers:
    get:
      tags:
        - Tool Servers
      summary: List all tool servers
      description: >-
        Retrieves a paginated list of all tool servers for the authenticated
        client.
      operationId: listToolServers
      parameters:
        - name: offset
          in: query
          required: false
          description: Number of items to skip
          schema:
            type: integer
            default: 0
        - name: limit
          in: query
          required: false
          description: Maximum number of items to return
          schema:
            type: integer
            default: 10
            maximum: 100
      responses:
        '200':
          description: Tool servers retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedToolServersResponse'
        '401':
          description: Unauthorized - Invalid or missing token
        '500':
          description: Internal Server Error
      security:
        - bearerAuth: []
components:
  schemas:
    PaginatedToolServersResponse:
      type: object
      properties:
        toolServers:
          type: array
          items:
            $ref: '#/components/schemas/ToolServerResponse'
          description: Array of tool servers
        total:
          type: integer
          description: Total count
        offset:
          type: integer
          description: Current offset
        limit:
          type: integer
          description: Items per page
        hasMore:
          type: boolean
          description: Whether there are more items
    ToolServerResponse:
      type: object
      properties:
        _id:
          type: string
          description: Tool server ID
        clientUID:
          type: string
          description: Client UID
        enabled:
          type: boolean
          description: Whether the tool server is enabled
        url:
          type: string
          description: Base URL
        identifier:
          type: string
          description: Tool server identifier
        name:
          type: string
          description: Tool server name
        description:
          type: string
          description: Tool server description
        mcpType:
          type: boolean
          description: Whether this is an MCP type server
        mcpServerProperties:
          $ref: '#/components/schemas/McpServerProperties'
        toolServerDefinitionId:
          type: string
          description: Tool server definition ID
        imageUrl:
          type: string
          description: Image URL
        creartionTimestampMs:
          type: integer
          description: Creation timestamp in milliseconds
        lastEditTimestampMS:
          type: integer
          description: Last edit timestamp in milliseconds
    McpServerProperties:
      type: object
      properties:
        mode:
          type: string
          enum:
            - public
            - private
          description: Server mode
        slug:
          type: string
          description: Server slug (URL-friendly identifier)
        status:
          type: string
          enum:
            - active
            - inactive
          description: Server status
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Use JWT token for authentication

````