Triangle Health MCP server for AI agents

Live

OAUTH 2.1

HEALTH RECORDS

Productivity

Triangle Health MCP gives your agent a person's Triangle health record: read labs, medications, medical records, genomics, and wearable data, and manage appointments, topics, notes, and the care team.

  • Per-user credentials: each call uses the actual user's token, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
Triangle Health MCP
agent · Acme Q3
Run
Show my most recent lab report at a glance.
S
trianglehealthmcp_get_labs_overview
402ms
Health record agent
Summarized the most recent lab report: the laboratory, its panels, and every result outside its reference range.
Sources: Triangle lab report
trianglehealthmcp
1 report
18:29
Message Claude...

Tools your health record agent reaches for on Triangle Health, scoped per user.

CALL ANY TOOL
59 tools for health records in Triangle Health: read labs, medications, medical records, genomics, and wearable data, and manage appointments, topics, notes, and the care team.
trianglehealthmcp_cancel_appointment
Cancel appointment
Cancel one of the person's upcoming appointments. Cancelling cannot be undone; `reschedule_appointment` changes the time instead. Only the person's own appointments can be cancelled, and only ones still ahead. Input: `appointmentId`.
Parameters
Name
Type
Required
Description
appointmentId
string
Required
The appointment to cancel, from list_appointments.
trianglehealthmcp_complete_document_upload
Upload complete document
trianglehealthmcp_create_care_team_practitioner
Create care team practitioner
trianglehealthmcp_create_medication
Create medication
trianglehealthmcp_create_topic_group
Create topic group
trianglehealthmcp_delete_care_team_practitioner
Delete care team practitioner
trianglehealthmcp_delete_topic_group
Delete topic group
trianglehealthmcp_get_appointment_availability
Get appointment availability
trianglehealthmcp_get_care_team_practitioners
Get care team practitioners
trianglehealthmcp_get_clinical_summary
Get clinical summary
trianglehealthmcp_get_genome_overview
Get genome overview
trianglehealthmcp_get_health_overview
Get health overview
trianglehealthmcp_get_lab_result
Get lab result
trianglehealthmcp_get_measurements
Get measurements
trianglehealthmcp_get_medical_records
Get medical records
trianglehealthmcp_get_notes
Get notes
trianglehealthmcp_get_record_sources
Get record sources
trianglehealthmcp_get_topic_notes
Get topic notes
trianglehealthmcp_invite_care_team_practitioner
Invite care team practitioner
trianglehealthmcp_list_appointments
List appointments
trianglehealthmcp_list_measurement_types
List measurement types
trianglehealthmcp_list_routines
List routines
trianglehealthmcp_read_genomics_artifact
Read genomics artifact
trianglehealthmcp_rename_topic_group
Rename topic group
trianglehealthmcp_request_record_sync
Sync request record
trianglehealthmcp_reschedule_appointment
Reschedule appointment
trianglehealthmcp_search_documents
Search documents
trianglehealthmcp_set_topic_group
Set topic group
trianglehealthmcp_update_care_team_practitioner
Update care team practitioner
trianglehealthmcp_update_routines
Update routines

For more tools, view docs.

Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// Triangle Health tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["trianglehealthmcp"], toolNames: [
    "trianglehealthmcp_get_labs_overview",
    "trianglehealthmcp_get_medications",
    "trianglehealthmcp_list_appointments"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Show my latest lab report, list my medications, and check my upcoming appointments" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["trianglehealthmcp"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Show my latest lab report, list my medications, and check my upcoming appointments" }],
  tools,
});

// Execute the tool call with the user's vaulted Triangle Health OAuth token
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["trianglehealthmcp"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Show my latest lab report, list my medications, and check my upcoming appointments" }],
  tools,
});

// Tool call runs with the user's vaulted Triangle Health OAuth token
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["trianglehealthmcp"] }, pageSize: 100,
});

const agent = new Agent({
  name: "health_record_agent",
  model: "gemini-2.5-pro",
  instruction: "Triangle Health tools scoped to this user",
  tools,
});

await agent.run("Show my latest lab report, list my medications, and check my upcoming appointments");
Try these prompts
Copy any prompt into your agent. Each maps directly to a Triangle Health MCP tool. Click to copy, paste into your agent, done.
Records and labs
Copy the prompt
Copied
What medications and allergies are on my list?
Copy the prompt
Copied
Search my medical records for mentions of cholesterol.
Copy the prompt
Copied
Show my most recent lab report at a glance.
Appointments
Copy the prompt
Copied
When can a Triangle clinician see me?
Copy the prompt
Copied
Book the Thursday morning time.
Copy the prompt
Copied
Move my upcoming appointment to next week.
Topics and wearables
Copy the prompt
Copied
List my health topics.
Copy the prompt
Copied
Add a note to my sleep topic.
Copy the prompt
Copied
How did I sleep this week according to my wearable?
SEE HOW AUTH WORKS
Each user signs in to Triangle Health once, and Scalekit stores and refreshes their tokens. Credentials stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
Triangle Health MCP
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
Triangle Health MCP
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
Triangle Health MCP
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
Triangle Health MCP
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other healthcare connectors.
Support and Ops Teams
Meeting prep
Pulls agenda, participant context, and open action items before every meeting.
Support and Ops Teams
Email-to-calendar agent
Reads scheduling intent out of Gmail threads, resolves the times everyone actually has free, and creates the event on the user's own Google Calendar. No shared service account.
Test other agents
See the same per-user auth pattern across other healthcare connectors.
OPS
Meeting prep agent
Assemble the agenda, HubSpot attendee history, and open action items from Gmail before every meeting on the calendar.
OPS
Email-to-calendar scheduling agent
Read scheduling intent out of Gmail threads, resolve mutual free time, and create the Google Calendar event.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared Triangle Health token looks fine in a demo. In production every record or appointment change looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared token
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
Triangle Health today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access Triangle Health as the user or through a shared service account?
As the user. Each user signs in to Triangle Health once, and Scalekit stores and refreshes their tokens. Audit logs attribute every record and appointment change to that user, not a shared service account.
Where is the Triangle Health OAuth token stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. Refresh is automatic. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in Triangle Health?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the get and list tools without trianglehealthmcp_cancel_appointment, which cancels an upcoming appointment, and trianglehealthmcp_delete_topic, which removes a health topic from the profile. 13 of the 59 tools are destructive. Scalekit also enforces scope checks before every API call.
What happens when a user revokes Triangle Health access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
Whose records does the agent see?
Only those of the person who signed in. trianglehealthmcp_get_patient returns who the authenticated person is, and trianglehealthmcp_get_health_overview gives the picture of what Triangle holds for them.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""trianglehealthmcp"": {
""url"": ""https://mcp.scalekit.com/trianglehealthmcp"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.trianglehealthmcp]
url = ""https://mcp.scalekit.com/trianglehealthmcp""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""trianglehealthmcp"": {
""url"": ""https://mcp.scalekit.com/trianglehealthmcp"",
""type"": ""http""
}
}
}