---
title: "Describe the MCP surface"
method: GET
path: "/api/mcp"
tags: ["mcp"]
---

# Describe the MCP surface

`GET /api/mcp`

## Request

- Base URL: `https://claw-link.dev`
- URL: `https://claw-link.dev/api/mcp`
- Auth: one of:
  - API key in header `x-clawlink-api-key`
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://clerk.claw-link.dev/oauth/authorize`, token URL `https://clerk.claw-link.dev/oauth/token`, scopes: `openid`)

Returns the tool, prompt, and resource listing of the MCP server without a JSON-RPC handshake.

## Response `200`

MCP surface description

- object
  - `ok` boolean
  - `transport` string
  - `endpoint` string
  - `tools` object[]
  - `prompts` object[]
  - `resources` object[]

## Other responses

- `401`: Missing or invalid API key

---

[API](https://skmtc.dev/claw-link/apis/clawlink-agent-api.md) · [All operations](https://skmtc.dev/claw-link/apis/clawlink-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/claw-link/apis/clawlink-agent-api/revisions/6ce0c62d160a?raw)
