---
title: "Model Context Protocol JSON-RPC 2.0 endpoint"
method: POST
path: "/mcp"
tags: ["MCP"]
---

# Model Context Protocol JSON-RPC 2.0 endpoint

`POST /mcp`

## Request

- Base URL: `https://tlsradar.com/api/v1`
- URL: `https://tlsradar.com/api/v1/mcp`
- Auth: one of:
  - OAuth 2 (authorization code, authorization URL `https://tlsradar.com/oauth/authorize`, token URL `https://tlsradar.com/oauth/token`, scopes: `read`, `write`)
  - HTTP bearer

Single JSON-RPC 2.0 endpoint that exposes TLS Radar tools to AI agents. Supports initialize, ping, tools/list, and tools/call. Bearer auth is required for tools that touch user data; public tools (scan) work without a token.

## Request body

- object
  - `jsonrpc` '2.0', required
  - `id` unknown
  - `method` string, required
  - `params` object

## Response `200`

JSON-RPC response (result or error envelope)

---

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