Authentication
Every request to https://mcp.review.expert carries a bearer token in the Authorization header: an OAuth access token or a team API key. Each token belongs to exactly one team. Tokens in the URL and session cookies are never accepted.
Scopes
| Scope | Allows | Tools | Default |
|---|---|---|---|
| apps:read | List the App Store and Google Play apps connected to your team. | list_apps | On |
| reviews:read | Read reviews, existing developer replies, unsent drafts and aggregate stats for your team's apps. | get_app_reviews, search_reviews, get_review, review_stats, sentiment_trends, list_drafts | On |
| replies:draft | Write reply drafts (AI-generated or your own text). Drafts are never posted; a person sends them in Review Expert. | draft_reply, create_reply_draft | On |
| replies:post | Publish replies on the App Store and Google Play. Off by default; only owners and admins can grant it, per key or connection. | post_reply | Off |
OAuth 2.1 (for Claude, ChatGPT and other connectors)
Most clients do all of this for you once you paste the server URL. The flow follows the MCP authorization spec:
- An unauthenticated request gets a 401 that points to the protected resource metadata.
HTTP/1.1 401 Unauthorized
WWW-Authenticate: Bearer realm="review.expert", resource_metadata="https://mcp.review.expert/.well-known/oauth-protected-resource"- The client reads the resource and authorization server metadata.
GET https://mcp.review.expert/.well-known/oauth-protected-resource
{
"resource": "https://mcp.review.expert",
"authorization_servers": ["https://review.expert"],
"scopes_supported": ["apps:read", "reviews:read", "replies:draft", "replies:post"],
"bearer_methods_supported": ["header"]
}GET https://review.expert/.well-known/oauth-authorization-server
{
"issuer": "https://review.expert",
"authorization_endpoint": "https://review.expert/oauth/authorize",
"token_endpoint": "https://review.expert/oauth/token",
"registration_endpoint": "https://review.expert/oauth/register",
"revocation_endpoint": "https://review.expert/oauth/revoke",
"response_types_supported": ["code"],
"grant_types_supported": ["authorization_code", "refresh_token"],
"code_challenge_methods_supported": ["S256"],
"token_endpoint_auth_methods_supported": ["none"],
"client_id_metadata_document_supported": true,
"authorization_response_iss_parameter_supported": true
}- It identifies itself. Clients that publish a client ID metadata document (Claude, ChatGPT) use its https URL as the
client_id, and Review Expert fetches the document. Other clients register dynamically (RFC 7591). Only public clients are supported, so there is no client secret. Redirect URIs must be https, http onlocalhost/127.0.0.1(any port), or an app scheme.
POST https://review.expert/oauth/register
Content-Type: application/json
{ "client_name": "My agent", "redirect_uris": ["http://127.0.0.1:33418/callback"] }
HTTP/1.1 201 Created
{ "client_id": "rxc_…", "token_endpoint_auth_method": "none", … }- It opens the authorization page with a PKCE
S256challenge (required). You sign in (or sign up with an emailed code), pick the team the client may use and approve. The page shows the client's name, its domain when it uses a metadata document, and where you will be sent back. Access tokens last one hour, work for that one team, and are bound to theresourcethey were issued for (RFC 8707): a token forhttps://mcp.review.expertis not accepted anywhere else.
https://review.expert/oauth/authorize?response_type=code
&client_id=rxc_…
&redirect_uri=http%3A%2F%2F127.0.0.1%3A33418%2Fcallback
&code_challenge=<BASE64URL(SHA256(verifier))>
&code_challenge_method=S256
&scope=apps%3Aread%20reviews%3Aread%20replies%3Adraft
&resource=https%3A%2F%2Fmcp.review.expert
&state=<random>- It exchanges the single-use code (valid 10 minutes) for an access token (1 hour) and a refresh token (30 days, rotated on every use).
POST https://review.expert/oauth/token
Content-Type: application/x-www-form-urlencoded
grant_type=authorization_code&client_id=rxc_…&code=rx_code_…
&redirect_uri=http%3A%2F%2F127.0.0.1%3A33418%2Fcallback&code_verifier=<verifier>
{ "access_token": "rx_oat_…", "token_type": "Bearer", "expires_in": 3600,
"refresh_token": "rx_ort_…", "scope": "apps:read reviews:read replies:draft" }OAuth tokens act for the person who approved them: if they leave the team, the token stops working. replies:post is only granted when the client asks for it, the person ticks it, and they are an owner or admin of the team. Disconnect a client any time under Settings → MCP, or revoke a token at https://review.expert/oauth/revoke.
API keys (for scripts, CI and header-based clients)
- Owners and admins create keys under Settings → MCP. Keys start with
rx_live_, are shown once and stored only as a SHA-256 hash. - A key belongs to one team and can be revoked at any time; revocation is immediate.
- Keys expire after 30 days, 90 days (default), one year, or never, as you choose.
- New keys can read and draft. Posting to the stores needs the “Allow posting replies” switch when the key is created; it is off by default and stops working if the key's creator is no longer an owner or admin.
Authorization: Bearer rx_live_…Security model
- The team comes only from the token. No tool takes a team id, and other teams' ids return not found.
- Every tool call is recorded in an audit log (tool, ids and filters; never review or reply text).
- Rate limits apply per key or connection; usage limits per team. See limits.
- CORS allows any origin to send a bearer token, but never cookies.
Connect your AI assistant to your reviews
Sign in, then open Settings → MCP inside the app to create a key or manage connections. Add the server URL to your client. It takes about a minute.
