Medprisc Agent

v1.0.0

A powerful MCP server built with NitroStack

Connection Setup

Add via Cursor Settings UI (Settings > Features > MCP > Add New MCP Server):

{
  "mcpServers": {
    // your other mcp servers
    "medprisc-agent": {
      "url": "https://medprescagent-6a5b2-ipvfour-amrita-university-amritapuri-campus.app.nitrocloud.ai/mcp"
    }
  }
}

Connect remote tools directly via Claude's Web UI:

Add custom connector BETA
Connect Claude to your data and tools. Learn more about connectors or get started with pre-built ones.
Advanced settings
Only use connectors from developers you trust. Anthropic does not control which tools developers make available and cannot verify that they will work as intended or that they won't change.

Configure custom tools directly via ChatGPT's Web UI:

New App
PNG only. Best results at 256 x 256 px or larger. Max file size: 10 KB
Custom MCP servers introduce risk. Learn more
OpenAI hasn't reviewed this MCP server. Attackers may attempt to steal your data or trick the model into taking unintended actions, including destroying data.

Add the following configuration block under mcpServers in your Antigravity configuration file (~/.gemini/config/mcp_config.json):

{
  "mcpServers": {
    // your other mcp servers
    "medprisc-agent": {
      "serverUrl": "https://medprescagent-6a5b2-ipvfour-amrita-university-amritapuri-campus.app.nitrocloud.ai/mcp"
    }
  }
}

Add the following configuration block to your Codex configuration file (~/.codex/config.toml):

[mcp_servers.medprisc-agent]
url = "https://medprescagent-6a5b2-ipvfour-amrita-university-amritapuri-campus.app.nitrocloud.ai/mcp"

Connect directly using the Server-Sent Events endpoint:

https://medprescagent-6a5b2-ipvfour-amrita-university-amritapuri-campus.app.nitrocloud.ai/mcp
Available Tools
add_patient

Register a new patient in MedVault so their prescriptions, schedule, safety checks, inventory and history can be managed. Returns the new patient id to use with every other tool.

list_patients

List every patient on file with their id, name, age, allergies and conditions. Use this to find the patientId to pass to the other tools.

parse_prescription

Parse a prescription (upload a photo, or provide plain text) with Gemini, extract the medicines with dose/frequency/duration/timing, save them to the patient's medication list, and return the structured list.

generate_schedule

Generate a daily medication timetable (morning/afternoon/night with times and instructions) from the patient's active medicines, and save it to their history.

check_safety

Screen the patient's current medicines (plus optional new ones) against their allergies, health conditions, and drug-drug interactions. Returns warnings ranked high/medium/low. This is a screening aid, not medical advice.

find_alternatives

Find alternative brand-name medicines with the SAME active salt, available in the Indian market. Useful when a prescribed brand is out of stock or too expensive. Does NOT return prices — use get_prices for that.

get_prices

Get the current market price of a medicine, scraped live from Netmeds via Apify and cached for 6 hours. A cold lookup starts a background scrape: if the result says {pending: true}, call again ~30 seconds later to collect the price. If a brand name has no listing, it automatically retries with a simplified name and then the active salt — ALWAYS pass the salt parameter when you know it (e.g. from find_alternatives). Never fails hard — returns {price: null} if live data is unavailable.

update_inventory

Record or update a medicine's pill count for a patient: how many pills remain and how many are taken per day. Upserts — call again anytime the count changes.

check_stock

Check pill stock for all of a patient's tracked medicines. Returns days of supply left per medicine and a lowStock flag when under 5 days.

send_alert

Send an alert message to the patient/caregiver via BOTH Telegram and Gmail. Channels fail independently — the result reports each channel's success separately.

check_and_notify

The automatic refill guardian: checks pill stock, and if any medicine is running low, composes a friendly caregiver-style reminder and sends it via Telegram + Gmail. Returns what was sent.

share_history

Generate a 6-digit access code the patient can give their doctor. The doctor uses get_shared_history with that code to view the patient's medical summary (conditions, allergies, active medicines, recent events).

get_shared_history

Doctor-side tool: enter the 6-digit access code a patient shared to view their medical summary. Returns an error if the code doesn't match any patient.

set_reminder_times

Set a patient's daily dose-reminder times (24h HH:MM). The background engine then automatically sends Telegram+email reminders at those times for every active medicine (per its 1-0-1 frequency), subtracts the dose from inventory, and escalates the message when stock runs low. Each dose also gets a heads-up pre-reminder (default 10 minutes before). Defaults: 08:00 / 13:00 / 20:00.

get_reminder_status

Show a patient's dose-reminder plan: slot times, each active medicine's exact fire times today, remaining pills, and which reminders already fired today.