MCP Technical Documentation

Connect your AI agent to H2H Digital Rx

The H2H Digital Rx MCP Server gives AI applications secure, structured access to e-prescribing: medication and pharmacy search, allergy, benefit, interaction and formulary checks, and sending prescriptions, all through the Model Context Protocol. Every call runs under a real prescriber's session, with sandbox access and examples to get your first agent call working.

Quick example

// Transcribe-to-Prescribe β€” submit a visit transcript
POST https://api.h2hdigitalrx.com/v1/ai/transcribe-to-prescribe
Authorization: Bearer <token>
{
  "patient_id": "pt_10482",
  "transcript": "Start lisinopril 10mg once daily…"
}
// 200 OK β€” structured prescription returned
{ "rx": { "drug": "lisinopril 10mg", "sig": "1 tab PO daily" } }

Base URL and credentials are issued per environment. See Authentication to get started.

Need a hand from an engineer?

Our integration team reviews architecture, shares sample projects, and helps you go live faster.