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

# List the tools a remote MCP server offers

> Studio calls the upstream's tools/list (at the upstream base URL plus /mcp, as the Tyk Gateway will) so the registration wizard can offer the tools for the allow-list. The auth value is used for this call only and never stored. Subject to the Tyk MCP outbound URL policy.



## OpenAPI

````yaml /swagger/5.16/ai-studio-swagger.yml post /mcp-servers/discover-tools
openapi: 3.0.1
info:
  title: Midsommar API
  description: This is the API for the Midsommar user and group management system.
  termsOfService: http://swagger.io/terms/
  contact:
    name: API Support
    url: http://www.swagger.io/support
    email: support@swagger.io
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  version: '1.0'
servers:
  - url: //localhost:8080/api/v1
security: []
paths:
  /mcp-servers/discover-tools:
    post:
      tags:
        - TykMCP
      summary: List the tools a remote MCP server offers
      description: >-
        Studio calls the upstream's tools/list (at the upstream base URL plus
        /mcp, as the Tyk Gateway will) so the registration wizard can offer the
        tools for the allow-list. The auth value is used for this call only and
        never stored. Subject to the Tyk MCP outbound URL policy.
      requestBody:
        description: Upstream to introspect
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/tykmcp.DiscoverToolsInput'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/tykmcp.DiscoverToolsResult'
components:
  schemas:
    tykmcp.DiscoverToolsInput:
      type: object
      properties:
        allow_internal_host:
          type: boolean
          description: |-
            AllowInternalHost lets this call reach the upstream on an internal
            address (its host only), as the server's "Allow internal host"
            switch does. Administrators only (w4e).
        upstream_auth_header_name:
          type: string
        upstream_auth_token:
          type: string
        upstream_url:
          type: string
    tykmcp.DiscoverToolsResult:
      type: object
      properties:
        endpoint:
          type: string
          description: |-
            Endpoint is the URL Studio called: the upstream base plus /mcp, the
            same path the Tyk Gateway will call.
        server_name:
          type: string
        server_version:
          type: string
        tools:
          type: array
          items:
            $ref: '#/components/schemas/mcpintrospect.Tool'
        truncated:
          type: boolean
          description: Truncated is set when the server offered more tools than MaxTools.
    mcpintrospect.Tool:
      type: object
      properties:
        description:
          type: string
        name:
          type: string
        title:
          type: string

````