---
title: "Test Server Connection Handler"
method: POST
path: "/api/mcp/servers/{name}/test"
tags: ["runtime_mutations", "mcp"]
---

# Test Server Connection Handler

`POST /api/mcp/servers/{name}/test`

Test connection to an MCP server.

## Path parameters

- `name` string, required

## Response `200`

Successful Response

- QuadrillionHandlersMcpTestConnectionResponse — Response from test connection.
  - `success` boolean, required
  - `message` string, required
  - `tools_count` integer

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-18** `abf76937a751` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-09-13** `9130e4640e24` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/changes/api/mcp/servers/:name/test/post.md)

---

[API](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api.md) · [All operations](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/quadrillion/apis/quadrillion-cloud-api/revisions/d7f2f3b8e82d?raw)
