Eka Care MCP Server
for AI Agents
Connect your AI agent to StackOne's Eka Care MCP server and give it 160 MCP tools out of the box. Auth, tool execution, and security all managed.
Coverage
160 Agent Actions
Create, read, update, and delete across Eka Care — and extend your agent's capabilities with custom actions.
Authentication
Agent Tool Authentication
Per-user OAuth in one call. Your Eka Care MCP server gets session-scoped tokens with zero credentials stored on your infra.
Agent Auth →Security
Agent Protection
Every Eka Care tool response scanned for prompt injection in milliseconds — 88.7% accuracy, all running on CPU.
Prompt Injection Defense →Performance
Max Agent Context. Min Cost.
Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every Eka Care call.
Tools Discovery →What is the Eka Care MCP Server?
A Eka Care MCP server lets AI agents read and write Eka Care data through the Model Context Protocol — Anthropic's open standard for connecting LLMs to external tools. StackOne's Eka Care MCP server ships with 160 pre-built actions, fully extensible via the Connector Builder — plus managed authentication, prompt injection defense, observability, and agent execution runtime. Connect it from MCP clients like Claude Desktop, Claude Code, Cursor, Goose, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.
All Eka Care MCP Tools
Every action from Eka Care's API, ready for your agent. Create, read, update, and delete — scoped to exactly what you need.
An IPD Admissions
- Create An IPD Admission
Creates an IPD admission in your workspace. Create an IPD Admission operation of the IPD (in-patient department) API (POST /ipd/v1/sdk/admissions).
- Update An IPD Admission
Updates the given fields of an admission. Update an IPD Admission operation of the IPD (in-patient department) API (PATCH /ipd/v1/sdk/admissions/{admission_id}).
Appointments
- Get Appointments
This API endpoint is used to retrieve all the appointments scheduled for a business with flexible filters.
- Update Appointment
This API endpoint is used to update an existing appointment.
Charges
- Add Charges
Adds one or more charges. Add Charges operation of the IPD (in-patient department) API (POST /ipd/v1/sdk/admissions/{admission_id}/billing/charges).
- List Charges
The account's charges. List Charges operation of the IPD (in-patient department) API (GET /ipd/v1/sdk/admissions/{admission_id}/billing/charges).
Claims
- Create Claim
Creates the claim (the case every later call hangs off) and sends the auth-requirements check for the listed procedures.
- Get Claim
Claim summary: status, payer references, turn-around deadlines, review path, co-payment and the stages with a saved draft.
- List Claims
Lists claims with their beneficiary. List Claims operation of the ABDM (Ayushman Bharat Digital Mission) API (GET /abdm/nhcx/v1/claims).
Clinics
- Create Clinic
The Create Clinic API allows you to register a new clinic for your business, including its name, address, pincode, contact number, city, state, and assigned doctors.
- List Clinics
Retrieve a list of all clinics registered for your business.
Doctors
- List Doctors
Retrieve a list of all doctors registered for your business.
- Update Doctor
Update an existing doctor's profile.
Doctor Profiles
- Create Doctor Profile
Create a new doctor profile for your business.
- Get Doctor Profile
This API endpoint is used to retrieve detailed information about a specific doctor using their unique identifier.
Documents
- Get Document
Fetch a document's metadata and a presigned GET URL to download its content (markdown).
- List Documents
To get the list of all the records for a given authenticated user.
- Update Document
This API is used to update the document. Update Document operation of the Eka Care API (PATCH /mr/api/v1/docs/{id}).
- Delete Document
Archive (soft-delete) a document. Delete Document operation of the Eka Care API (DELETE /voice/api/v1/documents/{document_id}).
- Delete Document
This API is used to delete a document using a document ID.
Sessions
- Create Session
Create a new scribing session. Create Session operation of the Eka Care API (POST /voice/v1/sessions).
- Create Session
Creates a new MedAssist session and returns its session_id for WebSocket communication.
- Get Sessions
List past sessions for the authenticated user, newest first.
- Get Session
Retrieve the current status of a session and, once processing finishes, its transcript and structured template results.
- Get Session
Retrieves the status of a MedAssist session, optionally with its messages.
- Update Session
Update a session's metadata before it is committed.
Nursing Notes
- Create Nursing Note
This API adds a nursing note to an IPD admission of your workspace.
- Update Nursing Note
This API updates a nursing note of your workspace.
Orders
- Create Order
This API places a medicine order for an IPD admission of your workspace.
- Get Order
This API returns a single medicine order of your workspace with its full detail.
- List Orders
This API lists the medicine orders of your workspace, newest first.
Patient Profiles By Mobile Numbers
- Search Patient Profiles By Mobile Number
This API provides functionality to get all profiles of patient by their mobile number in business' directory.
- Retrieve Patient Profiles By Mobile Number
Retrieves patient profiles using the mobile number in a workspace.
Patient Profiles
- List Patient Profiles
Retrieves a paginated list of patient profiles.
- Retrieve Patient Profile
Retrieve Patient Profile operation of the Eka Care API (GET /profiles/v1/patient/{oid}) — retrieves the matching records.
- Search Patient Profiles
Global Search is exclusive to specific workspaces only.
EMR User Profiles
- Retrieve EMR User Profile
Retrieves an EMR user profile by OID. Retrieve EMR User Profile operation of the Eka Care API (GET /profiles/v1/emr-user/{oid}).
- Update EMR User Profile
Updates an EMR user profile with validated and normalized data.
Cases
- Create Case
This endpoint creates a new medical case. Create Case operation of the Eka Care API (POST /mr/api/v1/cases).
- List Cases
This endpoint returns a list of all cases. List Cases operation of the Eka Care API (GET /mr/api/v1/cases).
- Update Case
This endpoint allows updating details of an existing medical case using the case ID.
- Delete Case
This endpoint allows deleting a case using the case ID.
Schedules
- Create Schedule
Creates a schedule for an `entity_id` in a `location_id` — `entity_id` is your doctor id, `location_id` is your clinic id.
- Update Schedule
Edits an existing schedule's config, name, archive state, and/or its timebounds, in one call.
- Delete Schedule
Tears down a schedule: hard-deletes the schedule head, its config document, every product assignment row, and all v2 timebounds/blocks (weekly, daily, repeat-weekly, repeat-daily) for it.
Discharge Summarys
- Create Discharge Summary
This API saves a discharge summary for an IPD admission of your workspace.
- Update Discharge Summary
This API updates the content of a discharge summary of your workspace.
Nursing Note Templates
- Create Nursing Note Template
This API creates a nursing note template for your workspace.
- List Nursing Note Templates
This API returns all nursing note templates of your workspace, newest first.
Templates
- Create Template
Create a custom note template. Create Template operation of the Eka Care API (POST /voice/api/v1/template).
- List Templates
G. List Templates operation of the Eka Care API (GET /voice/api/v1/template).
- Update Template
Update a custom template's title or description.
- Delete Template
Archive (soft-delete) a custom template. Delete Template operation of the Eka Care API (DELETE /voice/api/v1/template/{template_id}).
Other (107)
- Create Bed
This API creates a new IPD bed for your workspace.
- Create Category
This API creates a new IPD category for your workspace.
- Create Or Update Document
Create a new document on a session (omit `document_id` → `201`), or update an existing one (include `document_id` → `200`) — for example to save a doctor's edits to generated notes.
- Create An Invoice
Invoices the given charges (all un-invoiced charges when `chargeIds` is omitted), with an optional bill-level discount.
- Send Notification
This API allows partners to send notifications to users.
- Add Patient To Directory
This functionality enables the addition of new patient records to a business' directory.
- Create A Patient Profile
Allows businesses to add new patient record by capturing personal, contact, and medical information.
- Create Rate Plan
This API creates a new IPD rate plan for your workspace.
- Upload Report
Sends a PDF or image to Eka's AI document parsing (smart report, PII detection or classification).
- Upload Record
Uploads a PDF or image into a patient's medical records in one call.
- Create Room
This API creates a new IPD room for your workspace.
- Upload Audio
Upload audio as a raw binary body. Upload Audio operation of the Eka Care API (POST /voice/v1/sessions/{session_id}/audio/{file_sequence}).
- Upload Transcript
Optional. Upload Transcript operation of the Eka Care API (POST /voice/api/v1/transaction/{session_id}/convert-to-template).
- Get Linked Providers
Get Linked Providers operation of the ABDM (Ayushman Bharat Digital Mission) API (GET /abdm/v1/care-contexts/providers) — lists the matching records.
- Get Linked CareContexts
Get Linked CareContexts operation of the ABDM (Ayushman Bharat Digital Mission) API (GET /abdm/v1/care-contexts/linked) — retrieves the matching records.
- Get Status
Fetch the auto approval policy settings. Get Status operation of the ABDM (Ayushman Bharat Digital Mission) API (GET /abdm/v1/consents/auto-approval).
- Search Payers
Lists payers from the NHCX participant registry.
- Search Policies
Finds a beneficiary's policies by mobile number, ABHA number or member ID.
- Search ABHA
Search KYCed ABHA profiles using mobile number
- List Requests
API to list all the Subscriptions and Consent requests
- Get Admission With Visits
This API returns an IPD admission of your workspace (same as [Get Admission](/api-reference/doc-tool/ipd-api/admissions/get-admission)) together with the prescriptions of the visits linked to the admission.
- List Discharge Summaries For Admission
This API returns all discharge summaries of an IPD admission of your workspace, newest first (by creation time).
- List Nursing Notes For Admission
This API returns all nursing notes of an IPD admission of your workspace, newest first (by `date`).
- Get An IPD Admission By Id
Fetches an IPD admission of your workspace. Get an IPD Admission by Id operation of the IPD (in-patient department) API (GET /ipd/v1/sdk/admissions/{admission_id}).
- List IPD Admissions
Lists your workspace's IPD admissions, optionally filtered.
- Get The Billing Summary
The account's rollups — `charges`, `invoiced`, `paid`, `outstanding`, `due`, `balance` — also refreshed onto the admission's billing totals.
- Get Appointment Details
This API endpoint is used to retrieve the details of an appointment using its unique identifier.
- Get Resolved Schedule
Resolves one or more entities' schedules over a date range into concrete daily availability windows (`bounds`), any blackout `blocks`, and — when `include_rules=true` — the raw underlying rules and config each schedule was resolved from.
- Get Appointment Slots
Lists a doctor's appointment slots and their availability at a clinic for a date range.
- Get Clinic Details
This API endpoint retrieves detailed information about a specific clinic using its unique identifier.
- Get Clinic By ID
Retrieve a single clinic's details using either the Eka ID or the partner-provided ID.
- Get Service Conf Details
Fetches a single service configuration by id.
- Get Service Conf List
Lists the bookable services a doctor offers, such as consultations or procedures, with their durations.
- Get Doctor By ID
Retrieve a single doctor's profile using either the Eka ID or the partner-provided ID.
- Get Workspace Information
The Get Workspace Information API retrieves basic information about a business including the business ID and business name.
- Get Clinic And Doctor Details
The Get Clinic and Doctor Details API provides a comprehensive list of clinics and doctors associated with those clinics for a business.
- List An Admission's Events
Returns every audit event of the admission (status changes, clearances, discharge steps, pharmacy notifications, …), newest first.
- Get Provider Details
Fetches the Providers based on the HIP ID. Get Provider Details operation of the ABDM (Ayushman Bharat Digital Mission) API (GET /abdm/v1/provider/{hip_id}).
- Search Providers
Fetches the List of Providers. Search Providers operation of the ABDM (Ayushman Bharat Digital Mission) API (GET /abdm/v1/providers).
- List Invoices
The account's invoices. List Invoices operation of the IPD (in-patient department) API (GET /ipd/v1/sdk/admissions/{admission_id}/billing/invoices).
- Get IPD Setup Data
This API returns your workspace's IPD setup data in one call: beds, rooms, categories, rate plans, rate plan inclusions, and the bed and rate plan links to clinics.
- Get Generic (pharmacology) Information
Get Generic (pharmacology) Information operation of the Eka Care API (GET /eka-mcp/pharmacology/v1/search) — retrieves the matching records.
- Search Medications
This endpoint returns suggested/similar drugs from the Eka medical database for the given parameters - drug name, generics, form or volume.
- Search Protocols
This endpoint returns pages from the protocols based on the query, publishers and tag.
- Search Drugs And Laboratory Tests
This endpoint returns comprehensive information about pharmaceutical drugs and laboratory tests from the Eka medical database based on search query.
- Search Symptoms And Diagnoses
This endpoint returns comprehensive information about medical symptoms and diagnoses from the Eka medical database based on search query.
- List Registry
Lists the medical coding systems available for code mapping (ICD-10-CM, ICD-10-PCS, SNOMED CT, LOINC and medication) with their versions.
- List Admission Advices For Patient
This API lists the admission advices for a patient in your workspace — the times a doctor advised admission in a prescription (the "Admission Advised" section), newest first.
- Get Patient Details By Profile Id
This API provides functionality to get details of a patient by their Eka profile id, from a business' directory.
- Retrieve Patient Profile By Username
Retrieves patient profile using username in a workspace.
- List Payments
The account's payments. List Payments operation of the IPD (in-patient department) API (GET /ipd/v1/sdk/admissions/{admission_id}/billing/payments).
- Get Claim Payments
Every payment notice the payer sent for the claim.
- Get Prescription Details
This API retrieves comprehensive details of a prescription created by a doctor.
- Retrieve Health Records
Retrieve a parsed transcibes based on the given identifier
- List Session Documents
Fetch a session's full record — status, patient details, audio quality matrix and, most importantly, the list of all documents generated or created on the session (notes, transcripts, custom documents).
- Get Session Audio
Fetch the complete recording of a session as a presigned download URL (single combined MP3).
- List Template Titles
Lists every note template's id and title in a short form, without the full template definitions.
- Get Transaction Status
Get Transaction Status operation of the Eka Care API (GET /dr/v1/payment/transaction_status/{transaction_id}) — retrieves the matching records.
- Get Webhooks
Retrieves all registered webhooks. Get Webhooks operation of the Eka Care API (GET /notification/v1/connect/webhook/subscriptions).
- Update Auto Approval Policy
Update the auto approval policy settings. Update Auto Approval Policy operation of the ABDM (Ayushman Bharat Digital Mission) API (PATCH /abdm/v1/consents/auto-approval).
- Update Profile
Update Profile Details The API expects all the fields returned by the [Get Profiles API](/api-reference/user-app/abdm-connect/profile/details/profile-details) to be included in the PATCH request body.
- Update Appointment V2
This API endpoint is used to update an existing appointment.
- Update Order Status
This API sets the `status` of a medicine order of your workspace.
- Update Patient Details
Thi API provides functionality to update patient details for the registered patients.
- Update Patient Profile Details
Payload for updating patient profile. Update Patient Profile Details operation of the Eka Care API (PATCH /profiles/v1/patient/{oid}).
- Update Patient Vitals And Link To ABHA
Update the vitals data for a specific patient using the transaction ID.
- Delete A Webhook
Deletes an existing webhook based on its ID. Delete a Webhook operation of the Eka Care API (DELETE /notification/v1/connect/webhook/subscriptions/{id}).
- Discover Unlinked Care-contexts
ABDM allows a user to find their health records from any health facility they have visited via the discovery process.
- Confirm Linking
Confirm linking for discovered care context. Confirm Linking operation of the ABDM (Ayushman Bharat Digital Mission) API (POST /abdm/v1/care-contexts/discover/link/confirm).
- Initialise Linking
Initialise the linking for discovered care context.
- Consent Approve
This endpoint is used to approve the consent. Consent Approve operation of the ABDM (Ayushman Bharat Digital Mission) API (POST /abdm/v1/consents/approve).
- Consent Create
Consent Create operation of the ABDM (Ayushman Bharat Digital Mission) API (POST /abdm/v1/consents/create) — creates the matching records.
- Consent Deny
This endpoint is used to deny the consent. Consent Deny operation of the ABDM (Ayushman Bharat Digital Mission) API (POST /abdm/v1/consents/deny).
- Consent Details
Consent Details operation of the ABDM (Ayushman Bharat Digital Mission) API (POST /abdm/v1/consents/details).
- Consent List
Consent List operation of the ABDM (Ayushman Bharat Digital Mission) API (POST /abdm/v1/consents/list) — lists the matching records.
- Consent Revoke
This endpoint is used to revoke the consent. Consent Revoke operation of the ABDM (Ayushman Bharat Digital Mission) API (POST /abdm/v1/consents/revoke).
- ABHA Card
Please cache these results locally. ABHA Card operation of the ABDM (Ayushman Bharat Digital Mission) API (GET /abdm/v1/profile/asset/card).
- ABHA QR Code
Fetch the data for ABHA qr code display. ABHA QR Code operation of the ABDM (Ayushman Bharat Digital Mission) API (GET /abdm/v1/profile/asset/qr).
- Profile Details
Fetches the ABHA profile of the User. Profile Details operation of the ABDM (Ayushman Bharat Digital Mission) API (GET /abdm/v1/profile).
- Does Abha Address Exist
This API endpoint allows to check whether provided health id is already present in system.
- Requests Get Details
Requests Get Details operation of the ABDM (Ayushman Bharat Digital Mission) API (GET /abdm/v1/request) — retrieves the matching records.
- Generate Discharge Summary
This API uses AI to draft a discharge summary for an IPD admission of your workspace, from the patient's details and the prescriptions of the admission's visits (latest visit first, each dated).
- Open The Admission's Billing Account
Finds or creates the admission's billing account and links it to the admission.
- Record A Payment
Records a payment against the account. Record a Payment operation of the IPD (in-patient department) API (POST /ipd/v1/sdk/admissions/{admission_id}/billing/payments).
- Initiate A Discharge
Moves the admission to DISCHARGE_INITIATED, records the transition, and notifies every pharmacy the admission ordered from — in that order, as one operation.
- Record An Admission Event
Logs an event on an IPD admission, such as a pharmacy or billing clearance, a discharge checklist step or a discharge summary handover.
- Book Appointment Slot
Books an appointment for a patient with a doctor at a clinic at a given start time.
- Cancel Appointment
This API endpoint is used to cancel an existing appointment.
- No-Show Appointment
This API endpoint is used to update an existing appointment to No-Show state.
- Complete Appointment
This API endpoint is used to complete an existing appointment.
- Confirm Follow-Up Appointment
This API endpoint confirms an existing follow-up appointment by changing its status from INITIATED to BOOKED.
- Parked Appointment
This API endpoint is used to update an existing appointment to parked state.
- Reschedule Appointment
This API is used to reschedule an appointment.
- Submit Claim
Submits the final claim after discharge. Submit Claim operation of the ABDM (Ayushman Bharat Digital Mission) API (POST /abdm/nhcx/v1/claims/{claimId}/claim).
- Parsed Report Result
This API is check the parsing status of the uploaded document
- Check Whether A Patient Can Be Admitted
Returns `can_admit: false` when the patient already has an active (`AD`) admission in your workspace.
- Link Entities (Batch)
Maps up to 5 free-text medical terms to standard codes (ICD-10-CM, ICD-10-PCS, SNOMED CT, LOINC or medication) in one call.
- Link Entity
Maps one free-text medical term to standard codes in ICD-10-CM, ICD-10-PCS, SNOMED CT, LOINC or a medication catalogue.
- Archive Or Permanently Delete Patient Profile
By default, the patient profile is archived (soft delete).
- Check Eligibility
Checks the policy is in force and returns the wallet balance, without creating a claim.
- Describes A Document
Once you retrieve a list of all documents with their corresponding IDs, you can use this endpoint to get more details about a specific document.
- Step 1: Upload Record
Generate a presigned URL that allows you to securely upload a document to the server.
- End Session
Finalize the session and start asynchronous processing.
- Exchange MedAssist Token
Exchanges a MedAssist agent ID for a short-lived session token and a refresh token.
- Refresh Session Token
Exchanges a MedAssist refresh token for a new sess_token and refresh_token.
- Process Template
After a session ends, generate another document from it for the given template.
- Register Webhook
Registers a new webhook triggered by specific events.
Set Up Your Eka Care MCP Server in Minutes
One endpoint. Any framework. Your agent is talking to Eka Care in under 10 lines of code.
Agent Frameworks
{
"mcpServers": {
"stackone": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://api.stackone.com/mcp?x-account-id=<account_id>",
"--header",
"Authorization: Basic <YOUR_BASE64_TOKEN>"
]
}
}
}Platform Resources
MCP Code Mode: Keeping Tool Responses Out of Agent Context
Anthropic's code_execution processes data already in context. Custom MCP code mode keeps raw tool responses in a sandbox. 14K tokens vs 500.
11 min
Comparing BM25, TF-IDF, and Hybrid Search for MCP Tool Discovery
Benchmarking BM25, TF-IDF, and hybrid search for MCP tool discovery across 916 tools. The 80/20 TF-IDF/BM25 hybrid hits 21% Top-1 accuracy in under 1ms.
10 min
Indirect Prompt Injection Defense for MCP Tools: A Technical Guide
MCP tools that read emails, CRM records, and tickets are indirect prompt injection vectors. Here's how we built a two-tier defense that scans tool results in ~11ms.
12 min
MCP vs A2A: Architecture, Security, and When to Use Each
MCP vs A2A: what each protocol standardizes, how they differ, their shared security risks including indirect prompt injection, and when to use one, both, or a hybrid architecture.
12 min
MCP vs API: What Hundreds of Connector Builds Taught Us
MCP wraps APIs, it doesn't replace them. After building hundreds of connectors that serve both, here's when each approach wins.
14 min read
Eka Care MCP Server FAQ
Does StackOne have a Eka Care MCP server?
Eka Care MCP server vs direct API integration — what's the difference?
How does Eka Care authentication work for AI agents?
origin_owner_id.Are Eka Care MCP tools vulnerable to prompt injection?
What is the context bloat of a Eka Care agent and how do I avoid it?
Can I limit which actions my Eka Care agent can access?
Can I create custom agent actions for my Eka Care MCP server?
When should I NOT use a Eka Care MCP server?
What AI frameworks and AI clients does the StackOne Eka Care MCP server support?
Put your AI agents to work
All the tools you need to build and scale AI agent integrations, with best-in-class connectivity, execution, and security.