MCP server
The MCP server (Model Context Protocol) integrates My Playrooms with AI assistants.
Endpoint
The MCP endpoint is POST https://api.my-playrooms.de/mcp.
Read-only tools may be called without authentication. Booking and payment tools require X-API-Key.
Authentication
curl -X POST https://api.my-playrooms.de/mcp \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json"
Available tools
| Tool | Description | Key permission |
|---|---|---|
search_playrooms | Search playrooms | none |
get_playroom | Get playroom details | none |
get_booking_options | Get booking options | none |
create_booking | Create a booking | bookings.create |
get_booking | Get booking details | bookings.read |
create_payment_session | Create a payment session | bookings.payment.create |
The tools apply the same permission checks as the REST API (see Authentication). A key without the required effective permission receives a tool error.