Complete Reference for Developers
The MCP server lets Claude, or any compatible client, query your ScreenLeads data in natural language, with your credential’s permissions.
https://mcp.pre.screenleads.com/mcpHTTP transport (JSON-RPC).
https://mcp.pre.screenleads.com/healthShould return ok: true and backendAuthMode: passthrough.
https://api.pre.screenleads.comThe MCP forwards your credential to the API in passthrough mode.
passthroughThe MCP stores no global credentials: your assistant only sees what your API key can see.
Open it in a browser and confirm it returns ok: true.
Register the server with the /mcp URL and the Authorization (Bearer with your API key) and X-ScreenLeads-Client-Id headers. Some clients manage headers in their UI instead of JSON.
Confirm you see tools for companies, branding, devices, ads, promotions, plans, tokens, invoices, media and webhooks.
For instance screenleads_health_check, or ask in natural language what permissions your API key has.
{
"mcpServers": {
"screenleads": {
"url": "https://mcp.pre.screenleads.com/mcp",
"headers": {
"Authorization": "Bearer <SCREENLEADS_API_KEY>",
"X-ScreenLeads-Client-Id": "<SCREENLEADS_CLIENT_ID>"
}
}
}
}curl -X POST https://mcp.pre.screenleads.com/mcp \
-H 'Authorization: Bearer <SCREENLEADS_API_KEY>' \
-H 'X-ScreenLeads-Client-Id: <SCREENLEADS_CLIENT_ID>' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": { "name": "screenleads_health_check", "arguments": {} }
}'Visible companies, logos and brand tokens.
Screens, assigned ads and playback diagnostics.
Active promotions, QR codes, activation and deactivation.
Visible plans, token packs, balance and transactions.
Your company’s visible invoices and recent charges.
Configured integrations and your API key scopes.
Companies, devices, ads, promotions, plans, tokens and invoices — always scoped to your credential’s permissions.
https://api.pre.screenleads.comPre-production environment to validate your integration before going live.
X-API-KEY + X-ScreenLeads-Client-IdA ScreenLeads API key scoped to your client or company. Also accepted as Authorization: Bearer.
In ScreenLeads, the API client represents your integration.
Read or write scopes and, if applicable, a companyScope to restrict it to one company.
The only two values your integration needs; no recurring login. The key can be revoked or rotated from the backend.
Send the API key and the client_id on every request.
curl https://api.pre.screenleads.com/companies \
-H 'X-API-KEY: <SCREENLEADS_API_KEY>' \
-H 'X-ScreenLeads-Client-Id: <SCREENLEADS_CLIENT_ID>'curl -X POST https://api.pre.screenleads.com/auth/login \
-H 'Content-Type: application/json' \
--data '{"username":"usuario@screenleads.com","password":"PASSWORD"}'