---
title: "Test Mcp Server"
method: POST
path: "/api/mcp/servers/test"
tags: ["mcp-client"]
---

# Test Mcp Server

`POST /api/mcp/servers/test`

## Request

- Base URL: `https://app.myriade.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://app.myriade.ai/api/mcp/servers/test`
- Auth: none declared

Probe a server before saving it: returns the live tool list, or says
the server asks each member to sign in (OAuth).

## Cookies

- `session` string, nullable

## Request body

- McpServerTest
  - `url` string, required
  - `auth` McpAuthConfig
    - `type` 'none' | 'bearer' | 'headers' | 'oauth'
    - `token` string, nullable
    - `headers` object, nullable
    - `client_id` string, nullable
    - `client_secret` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/myriade/apis/myriade-bi-api.md) · [All operations](https://skmtc.dev/myriade/apis/myriade-bi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/myriade/apis/myriade-bi-api/revisions/15b7cb96ca80?raw)
