---
title: "Get the MCP connection details"
method: GET
path: "/mcp"
tags: ["mcp"]
---

# Get the MCP connection details

`GET /mcp`

## Request

- Base URL: `https://hangingcontext.com`
- URL: `https://hangingcontext.com/mcp`
- Auth: none required

A plain GET returns JSON that explains how to connect to the MCP server. A GET with Accept: text/event-stream and a session id opens the notification stream instead.

## Headers

- `HC-API-Version` '1'

## Response `200`

How to connect.

- McpInfo: How to connect to the MCP server. A plain GET to /mcp returns this.
  - `name` string, required
  - `title` string
  - `description` string
  - `version` string
  - `endpoint` string, uri, required
  - `transport` string, required
  - `authentication` object
    - `required` boolean
  - `how_to_connect` string[]
  - `tools` string[], required
  - `server_card` string, uri
  - `api_version` string

---

[API](https://skmtc.dev/hangingcontext/apis/hanging-context-public-read-api.md) · [All operations](https://skmtc.dev/hangingcontext/apis/hanging-context-public-read-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hangingcontext/apis/hanging-context-public-read-api/revisions/48912c502036?raw)
