Skip to main content
All developer guides

Developer Portal

Use the Triangle developer portal to create and manage OAuth applications for MCP clients, local tools, and your own Connect with Triangle integrations — with PKCE, prefix-based redirect URIs, and consent metadata you control.

Before you start

  • A Triangle account. Sign in at app.trianglehealth.com before opening the developer portal.
  • An MCP client, or your own app that will implement Connect with Triangle and needs a Client ID (and optional Client Secret).
  • At least one redirect URI base: an https origin you control for production, and/or an http loopback base (localhost, 127.0.0.1, or ::1) for local development.
  • OAuth public or confidential clients — public clients use PKCE (Client ID only); confidential clients issue a one-time Client Secret for Perplexity, LM Studio, and server-side API integrations.

Connection fields

FieldValue
MCP server URLhttps://app.trianglehealth.com/mcp
OAuth server URLhttps://app.trianglehealth.com
OAuth resource (MCP)https://app.trianglehealth.com/mcp
Developer portalhttps://app.trianglehealth.com/developer/apps
Client IDShown on your app detail page after you create an OAuth app
ScopesOptional — permissions are granted on Triangle’s OAuth consent screen when the user authorizes (for example profile, notes, medical records, care team).

Setup steps

01.Create an OAuth app

Signed-in users manage apps at My Apps in the developer portal. Choose a public client (PKCE) or confidential client (Client ID + one-time Client Secret).

  • Open https://app.trianglehealth.com/developer/apps and click Create app.
  • Enter a display name — this is the label users see on the OAuth consent screen.
  • Optionally add a description, homepage URL, logo, and privacy or terms links.
  • Building your own product button? After you have a Client ID, follow the Connect with Triangle guide to implement authorize, token exchange, and revoke.
Screenshot coming soon

02.Configure redirect URIs and copy your Client ID

Register the origins your app runs on. Triangle allows longer callback paths under each base automatically.

  • Add one redirect URI base per line — for example http://localhost:3040 and https://app.example.com.
  • Loopback bases accept localhost, 127.0.0.1, and ::1 on the same port. Use https in production.
  • After saving, copy the Client ID (UUID) from the app detail page into your MCP client or Connect with Triangle implementation.
Screenshot coming soon

03.Connect your client and authorize

For MCP hosts, paste Triangle endpoints and your Client ID into the client. For your own app, send users through /oauth/authorize (see Connect with Triangle).

  • MCP server URL: https://app.trianglehealth.com/mcp
  • OAuth server URL: https://app.trianglehealth.com
  • The browser opens Triangle’s consent screen on first use. Users can disconnect from Settings → AI Services.
Screenshot coming soon

What you can do after connecting

  • Create up to 10 OAuth apps per user per rolling 24-hour period.
  • Register https production origins and http loopback bases for local development.
  • Automatic prefix matching for redirect URIs under each registered base.
  • Edit display name, description, redirect bases, and consent metadata after creation.
  • Delete apps that have no active user connections (disconnect users first if delete is blocked).
  • Power remote MCP clients and Connect with Triangle app integrations using OAuth 2.1 + PKCE.

Troubleshooting