# ReCoat Revolution MCP Server

**Endpoint:** `https://recoatrevolution.com/mcp`
**Transport:** Streamable HTTP (MCP spec 2025-03-26)
**Auth:** None – the server is public.
**Protocol:** JSON-RPC 2.0 over HTTPS POST.

This is the model-context-protocol interface to ReCoat Revolution's marketing site. It lets an AI agent answer service and coverage questions, and submit a quote request on behalf of a homeowner.

## Why this exists

ReCoat Revolution is a dust-free, one-day wood-floor refinishing franchise with locations across the US. An agent that wants to help a user book a quote needs three things: the list of services and their price ranges, whether the user's ZIP is served, and a way to submit the lead. The tools below cover exactly that – nothing more.

## Tools

| Tool | Type | Description |
|---|---|---|
| `list_services` | read | Seven core services (recoating, cleaning, sand-and-refinish, stain-and-coat, paint, acrylic/wax removal, other floors) with price ranges and turnaround. |
| `list_locations` | read | Every franchise – metro, cities served, owner, phone. |
| `check_service_area` | read | 5-digit US ZIP → nearest franchise + coverage boolean. State-granular (not street-level). |
| `request_quote` | write | Submits a lead. Same validator, rate limit (5/10min/IP), and honeypot as the web quote form. |

## Calling the server

```bash
# Initialize
curl -X POST https://recoatrevolution.com/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}'

# List tools
curl -X POST https://recoatrevolution.com/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}'

# Call check_service_area
curl -X POST https://recoatrevolution.com/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"check_service_area","arguments":{"zip":"63026"}}}'
```

## Auth and OAuth metadata

The `/.well-known/openid-configuration`, `/.well-known/oauth-authorization-server`, and `/.well-known/oauth-protected-resource` files are **demo fixtures** published for agent-readiness audits. This marketing site does not run a real authorization server, and the `/oauth/*` endpoints return `501 Not Implemented`. Do not attempt bearer-token auth against this server. The MCP endpoint is public.

## Rate limiting

`request_quote` shares the per-IP rate limit on `/api/quote`: 5 submissions per 10-minute window. Tools tagged read-only are unmetered.

## Stability

Protocol version: `2025-03-26`. Tool names and input schemas are versioned with the site. Breaking changes will bump the `serverInfo.version` field and publish a new server card.
