Skip to content

Public MCP

The public MCP server gives AI assistants task-shaped tools over the public surface — the same data the public GraphQL API exposes, packaged as callable tools over the Model Context Protocol.

Endpoint/api/mcpTransportStreamable HTTPScopemcp:account

Endpoint

A Streamable-HTTP MCP endpoint. It's also mounted per business at /@<handle>/api/mcp, which pins the tools to that business.

endpoint
https://go.sessions.website/api/mcp

Tools

Discovery tools are open; the viewer tools act on the signed-in viewer's own data.

Discovery
find_business
Search the directory for a business by name or keyword.
browse_sessions
List a business's upcoming schedule.
get_session
Fetch the full detail of one session.
preview_checkout
Price a session — totals, discounts, and gift cards — without buying.
start_sign_in
Begin the email sign-in flow for a viewer.
Viewer tools · signed-in viewer
my_bookings
List the signed-in viewer's own bookings.
get_my_passes
List the viewer's passes, memberships and gift-card balances.
join_waitlist
Put the viewer on the waitlist for a full session — nothing is charged to join.
cancel_booking
Cancel one of the viewer's bookings.

Authentication

Discovery tools need no token. Tools that read or change a viewer's own data run as that signed-in viewer.

Discovery — find_business, browse_sessions, get_session, and preview_checkout are anonymous — no token required.

Viewer tools — my_bookings, get_my_passes, join_waitlist and cancel_booking authenticate with a Bearer JWT or an OAuth access token. The earlier names my_registrations and cancel_registration still work but are no longer listed.

mcp:account
is the scope an MCP client obtains over the OAuth flow to act as a signed-in viewer.

The OAuth handshake — discovery, registration, PKCE, consent — is shared across both MCP servers. OAuth reference

bash
curl https://go.sessions.website/api/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  --data '{"jsonrpc":"2.0","id":1,"method":"tools/call",
           "params":{"name":"browse_sessions",
                     "arguments":{"handle":"your-handle"}}}'

Gemini and Google Search

The same endpoint is built for Google's Connected Apps Platform, so people can use Sessions from Gemini and Google Search. Mention @Sessions to find a class, check a schedule or manage a booking.

Linking runs the OAuth flow above: Google registers itself through Dynamic Client Registration, the person approves the mcp:account scope on Sessions' consent screen, and Gemini then acts as that account. A linked account stays linked until the person unlinks it in Gemini or disconnects the app in their Sessions account, which revokes its access.

Every tool tells the assistant whether it only reads. Gemini asks the person before cancel_booking runs, and the server's instructions tell any assistant to confirm the session first and never take payment in the conversation — buying happens on the business's Sessions page.

Availability
Google's Connected Apps Platform is in preview, starting in the United States. Sessions appears in Gemini once its listing is reviewed and published.

Connect a client

Point any MCP client at the endpoint above. The Agents page bundles a ready-to-use connection catalogue and downloadable skills.