Documentation Index
Fetch the complete documentation index at: https://docs.radarboard.app/llms.txt
Use this file to discover all available pages before exploring further.
Radarboard MCP server
Radarboard exposes its own built-in MCP server from the web app. This is the endpoint you use when connecting ChatGPT or another OAuth-capable MCP client to your Radarboard instance. This is separate from external MCP servers such as RevenueCat or OpenPanel that you configure inopencode.json.
Base URL
The MCP URL is derived from your deployed app URL:Required environment variables
Set these on the web app deployment:NEXT_PUBLIC_APP_URL is the source of truth for the built-in MCP, OAuth, and discovery URLs.Endpoints
| Endpoint | URL pattern | Purpose |
|---|---|---|
| MCP server | ${NEXT_PUBLIC_APP_URL}/api/mcp | Main MCP endpoint |
| Authorization | ${NEXT_PUBLIC_APP_URL}/api/oauth/authorize | OAuth approval flow |
| Token | ${NEXT_PUBLIC_APP_URL}/api/oauth/token | Exchange auth code for token |
| Client registration | ${NEXT_PUBLIC_APP_URL}/api/oauth/register | Dynamic client registration |
| OAuth discovery | ${NEXT_PUBLIC_APP_URL}/.well-known/oauth-authorization-server | Authorization server metadata |
| Protected resource discovery | ${NEXT_PUBLIC_APP_URL}/.well-known/oauth-protected-resource | Resource metadata for clients |
How to verify
Once deployed, you can verify the MCP-related endpoints with:401 Unauthorized unless you call it with a valid OAuth-issued token.
Where to look in the codebase
If you need the implementation details:apps/app/lib/env.tsdefines the MCP-related env keysapps/app/lib/mcp-oauth.tsreadsNEXT_PUBLIC_APP_URLandRADARBOARD_API_SECRETapps/app/app/api/mcp/route.tsexposes the built-in MCP endpointapps/app/app/.well-known/oauth-authorization-server/route.tsexposes OAuth server metadataapps/app/app/.well-known/oauth-protected-resource/route.tsexposes protected resource metadata
Related pages
- For ChatGPT-specific setup, see ChatGPT connector
- For external MCP servers configured for local agents, see MCP servers overview