Skip to content
ReppREST reference · v2

MCP

Repp's MCP server lets an AI assistant read the index and your account, and act only when you allow it: one address, sign in with your phone.

Repp runs an MCP server at https://api.dev.repp.co.il/mcp (Streamable HTTP). Connect it to Claude, ChatGPT, Cursor or any MCP client, and the assistant can answer "who is free to teach yoga in Gush Dan on Tuesday?" or "what is on my calendar this week?" by itself.

Its tools mirror the API one to one: each takes the endpoint's parameters (and an action's body fields) and answers the same JSON. Most only read. The tools that act change what their endpoint changes, say so in their description and are marked readOnlyHint: false, so the app asks you before calling them. No tool moves money, with one exception: declining a space request refunds the trainer by the site's rules (decide_booking), as declining it on the site does.

Tools
ToolMirrorsNeeds
get_statusGET /v1/meSign-in
get_catalogGET /v1/catalogNothing
get_waitingGET /v1/waitingSign-in
set_looking_for_workPUT /v1/me/looking-for-workSign-in with actions
search_trainersGET /v1/trainersNothing
get_trainerGET /v1/trainers/{id}Nothing
search_open_classesGET /v1/open-classesNothing
get_open_classGET /v1/open-classes/{id}Nothing
offer_on_classPOST /v1/open-classes/{id}/offerSign-in with actions
withdraw_offerDELETE /v1/open-classes/{id}/offerSign-in with actions
search_spacesGET /v1/spacesNothing
get_spaceGET /v1/spaces/{id}Nothing
find_free_spacesGET /v1/free-spacesSign-in
list_my_spacesGET /v1/my-spacesSign-in
get_calendarGET /v1/calendarSign-in
list_requestsGET /v1/requestsSign-in
get_requestGET /v1/requests/{id}Sign-in
post_requestPOST /v1/requestsSign-in with actions
list_my_bookingsGET /v1/bookingsSign-in
decide_bookingPOST /v1/bookings/{id}/decisionSign-in with actions
ratePOST /v1/ratingsSign-in with actions

A tool that acts works only when the app's sign-in included actions (repp.write) and you approved them, or with a read-and-actions key. The consent screen's tick for actions is off by default: you turn it on to allow them. A connection without actions that calls one gets HTTP 403 whose WWW-Authenticate header says error="insufficient_scope" and scope="repp.read repp.write" (the MCP spec's step-up), and the app can ask you to connect again and tick actions. A tool that acts is done once only when the call passes the same idempotency_key argument again; the JSON-RPC id is ignored, and without that argument every call is a new action.

Connect

  • claude.ai and Claude Desktop: Settings → Connectors → Add custom connector, paste https://api.dev.repp.co.il/mcp, then Connect, sign in with your phone and approve.
  • ChatGPT: turn on developer mode (Settings → Apps & Connectors → Advanced), create a connector with the same address and OAuth sign-in, then sign in and approve.
  • Claude Code: add it as below, then run /mcp inside Claude Code and choose Authenticate to sign in.
  • Cursor: add it to ~/.cursor/mcp.json (or the project's .cursor/mcp.json) as below; Cursor offers to sign in the first time.
Claude Code
claude mcp add --transport http repp https://api.dev.repp.co.il/mcp
Cursor - mcp.json
{
  "mcpServers": {
    "repp": {
      "url": "https://api.dev.repp.co.il/mcp"
    }
  }
}

What signing in does

  • The client opens Repp in your browser. Choose the business or the trainer site, sign in with your phone and the SMS code if you are not signed in yet, and see one consent screen: the app's name and address, what it may read, and - only if the app asked for actions - what it will be able to do, listed apart, with a tick that is off by default. Approve, and you are back in the app.
  • The app gets a key of its own, named after it, read only, or read and actions if you ticked them. It shows on החשבון שלי → מפתחות API with your other keys, counts toward the same 5 live keys, and works only for the MCP server, not for the REST API.
  • It lasts until you revoke it there; it stops working at once. The keys of a closed or blocked account stop working too.

With a key instead

A client that can send headers can skip the sign-in: create a key on the account page (see Authentication) and send it as Authorization: Bearer repp_…. A key made on the account page works for both the API and the MCP server; the acting tools need a read-and-actions key.

Claude Code, with a key
claude mcp add --transport http repp https://api.dev.repp.co.il/mcp \
  --header "Authorization: Bearer $REPP_API_KEY"
Cursor - mcp.json, with a key
{
  "mcpServers": {
    "repp": {
      "url": "https://api.dev.repp.co.il/mcp",
      "headers": {
        "Authorization": "Bearer ${env:REPP_API_KEY}"
      }
    }
  }
}

Every MCP request counts toward the key's 120 requests a minute (see Rate limits); over it the answer is HTTP 429 with Retry-After: 60. An address that keeps sending bad tokens waits a minute.