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

# List all prompts

> Returns all available prompts for the user across all connected MCP servers



## OpenAPI

````yaml https://gist.githubusercontent.com/hillaryke/db4387d90d8a2367c8d3f478f2d48acc/raw/65b07bde29d5ff9b22522b3659db0b103c2d32e4/openapi.json get /users/{userId}/prompts
openapi: 3.0.0
info:
  title: MCP Hub API
  version: 1.0.0
  description: >-
    A service that manages isolated Model Context Protocol (MCP) server
    instances
servers:
  - url: http://localhost:3000
    description: Development server
security: []
tags: []
paths:
  /users/{userId}/prompts:
    get:
      tags:
        - Prompts
      summary: List all prompts
      description: >-
        Returns all available prompts for the user across all connected MCP
        servers
      parameters:
        - name: userId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: List of available prompts
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    type: object
                    additionalProperties:
                      type: array
                      items:
                        $ref: '#/components/schemas/MCPPrompt'
        '500':
          $ref: '#/components/responses/Error'
components:
  schemas:
    MCPPrompt:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        serverName:
          type: string
        description:
          type: string
        arguments:
          type: array
          items:
            type: object
            properties:
              name:
                type: string
              description:
                type: string
              required:
                type: boolean
  responses:
    Error:
      description: Error response
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string

````