---
title: "Validate Connection"
method: POST
path: "/v1/workspaces/{workspace}/mcp-server-instances/validate-connection"
tags: ["v1", "protected", "mcp-server-instances"]
---

# Validate Connection

`POST /v1/workspaces/{workspace}/mcp-server-instances/validate-connection`

Test a connection to an MCP server without creating an instance.

``server_id`` (optional) is the catalog spec being connected; with it, an
auth failure also reports the spec endpoint's ``auth_methods``.

## Path parameters

- `workspace` string, required — Slug of the workspace the request acts in

## Request body

- object

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-26** `d3ad8e1a3681` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/agentarea/apis/agentarea-api/changes/v1/workspaces/:workspace/mcp-server-instances/validate-connection/post.md)

---

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