---
title: "Test Tools List"
method: POST
path: "/mcp-rest/test/tools/list"
tags: ["mcp"]
---

# Test Tools List

`POST /mcp-rest/test/tools/list`

Preview tools available from MCP server before adding it

## Request body

- NewMCPServerRequest
  - `server_id` string, nullable
  - `server_name` string, nullable
  - `alias` string, nullable
  - `description` string, nullable
  - `transport` 'sse' | 'http' | 'stdio'
  - `auth_type` 'none' | 'api_key' | 'bearer_token' | 'basic' | 'authorization' | 'oauth2', nullable
  - `credentials` MCPCredentials
    - `auth_value` string, nullable
    - `client_id` string, nullable
    - `client_secret` string, nullable
    - `scopes` string[], nullable
  - `url` string, nullable
  - `spec_path` string, nullable
  - `mcp_info` object, nullable
  - `mcp_access_groups` string[]
  - `allowed_tools` string[], nullable
  - `extra_headers` string[], nullable
  - `static_headers` object, nullable
  - `command` string, nullable
  - `args` string[]
  - `env` object
  - `authorization_url` string, nullable
  - `token_url` string, nullable
  - `registration_url` string, nullable
  - `allow_all_keys` boolean
  - `available_on_public_internet` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/koboillm/apis/litellm-api.md) · [All operations](https://skmtc.dev/koboillm/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/koboillm/litellm-api/revisions/d4d54fef65be/schema)
