LiveRecoverVYG Developer Docs
MCP

Authentication

How LiveRecover MCP authentication works

Overview

LiveRecover MCP uses OAuth 2.1 with PKCE to securely connect your MCP client (Claude Code, Claude Desktop, Cursor) to your LiveRecover account. This is the same industry-standard protocol used by major platforms — your credentials are never shared with the MCP client.

How it works

When you first use a LiveRecover tool, the following happens automatically:

  1. Connect Your MCP client discovers the LiveRecover MCP server and initiates an OAuth flow.

  2. Log in A browser window opens to the LiveRecover login page. Log in with your existing LiveRecover credentials.

  3. Select brand Choose which brand you want to connect. Your MCP session will be scoped to this brand.

  4. Approve Review the requested permissions and approve the connection.

  5. Connected Your MCP client receives an access token and can now use LiveRecover tools on your behalf.

Token management

  • Access tokens are short-lived and scoped to the mcp:tools permission
  • Refresh tokens allow your client to get new access tokens automatically — you won't need to re-authenticate during a session
  • Brand context is embedded in the token — all tool calls operate on the brand you selected during login

Scopes

ScopeDescription
mcp:toolsAccess to all brand-scoped MCP tools

Security

  • PKCE (Proof Key for Code Exchange) prevents authorization code interception
  • Read-only — MCP tools only read data, they never modify your LiveRecover account
  • Brand-scoped — You can only access data for the brand you selected during authentication
  • No credentials shared — Your LiveRecover password is entered directly on the LiveRecover login page, never passed through the MCP client

Troubleshooting

Browser doesn't open during authentication

Your MCP client should automatically open a browser window. If it doesn't, check the terminal output for a URL you can copy and paste manually.

"Unauthorized" errors after connecting

Your access token may have expired and failed to refresh. Disconnect and reconnect to re-authenticate:

  • Claude Code: claude mcp remove liverecover then re-add
  • Claude Desktop / Cursor: Restart the application

"Brand context required" errors

This means authentication succeeded but no brand was selected. Reconnect and make sure to select a brand during the approval step.

These are three different contracts — do not mix credentials across them.

SurfaceHow you authenticateEndpoint
LiveRecover MCP (this page)OAuth 2.1 with PKCE in your MCP client. Sign in with your LiveRecover account and select a brand.https://mcp.vyg.app/mcp
CDP MCPThe same OAuth flow, or a brand-scoped vyg_ API key sent as a Bearer token.https://cdp-mcp.vyg.app/mcp
CDP REST APIHTTP Bearer vyg_ API keys for REST reads. Key management uses a signed-in session, not an API key. Not an MCP connection.https://cdp.vyg.app

On this page