# Repserva MCP server

Repserva runs class booking with credit packs for gyms and studios. This server lets an authorized staff member ask an agent about today's classes, the spots left in a class, and their gym's details. Every tool only reads, and answers with counts, never with a member's data.

## Endpoint

- Transport: Streamable HTTP
- URL: https://mcp.staging.repserva.com/mcp
- Tools: 3

## Metadata

- Protected resource metadata: https://mcp.staging.repserva.com/.well-known/oauth-protected-resource/mcp
- Authorization server metadata: https://app.staging.repserva.com/.well-known/oauth-authorization-server

## Scopes

- `gym:read`: Read the classes, open spots and details of the gyms the staff member works at.
- `offline_access`: Receive a refresh token so the grant survives the access token expiring.

## Install

Claude Code:
```
claude mcp add --transport http repserva https://mcp.staging.repserva.com/mcp
```
Claude.ai, ChatGPT developer mode, or any client that takes a URL:
```
https://mcp.staging.repserva.com/mcp
```
Any client configured with a file:
```json
{
  "mcpServers": {
    "repserva": {
      "type": "http",
      "url": "https://mcp.staging.repserva.com/mcp"
    }
  }
}
```

## Tools

- `list_todays_classes` (`gym:read`): List today's classes
- `get_class_spots` (`gym:read`): Get the spots left in a class
- `get_gym_info` (`gym:read`): Get the gym details

