# Endpoint and discovery

> For AI agents: the documentation index is at https://2pr.io/llms.txt. This page as markdown: https://2pr.io/docs/mcp/endpoint.md.

## Endpoint

- URL: `https://2pr.io/api/mcp`
- Transport: Streamable HTTP (JSON-RPC 2.0 over POST)
- Protocol: MCP 2025-06-18
- Server name: `2pr`

A plain GET on the URL returns setup information (JSON, or an HTML page in a browser) instead of an error.

## Discovery files

- MCP server card: https://2pr.io/.well-known/mcp.json
- OAuth protected resource: https://2pr.io/.well-known/oauth-protected-resource
- OAuth authorization server: https://2pr.io/.well-known/oauth-authorization-server

## OpenAPI

https://2pr.io/openapi.json (also at https://2pr.io/.well-known/openapi.json) describes the MCP endpoint, the OAuth endpoints, and a ready-to-send `tools/call` request for every tool.

## Registries

The server is published in the official MCP Registry as `io.2pr/2pr`. Back to the [overview](https://2pr.io/docs/mcp).

## Questions

Email hi@2pr.io or see https://2pr.io/contact.
