# NextGen Office MCP connector

Connect NextGen Office to Elaichi and Claude, ChatGPT, Cursor, Microsoft Copilot or any MCP client can look up patient allergies, conditions, care plans, coverage and diagnostic reports, with each person signed in as themselves and every call logged.

Source: https://elaichi.ai/connectors/nextgenoffice/

## Facts

| | |
| --- | --- |
| Application | NextGen Office |
| Category | Healthcare |
| AI tools | 58 |
| Authentication | Connects over OAuth |
| Bring your own OAuth app | Yes |
| MCP endpoint | https://api.elaichi.ai/mcp |
| Works with | Claude, ChatGPT, Cursor, Microsoft Copilot, any MCP client, and the Elaichi Agent |
| Tools advertised by name | No. Connected tools are never listed one by one, however few there are. The endpoint advertises `search_tools` and `execute_tool` instead |

## What you can ask once NextGen Office is connected

- Pull allergies and active conditions for the patient in room 3
- Who is on this patient's care team and what is the plan?
- Check coverage on file for tomorrow's new patients

## Connect NextGen Office in Elaichi

This happens once for the organization, before any client is involved.

1. Open Connections, choose Add connection, and pick NextGen Office.
2. Optionally set Share with, then press Connect.
3. Supply your own NextGen Office app, then approve. NextGen Office needs an OAuth app you register yourself, so bring its client ID and secret. One person does this once for the organization.

Credentials are vaulted and nobody, including the AI, reads them back. The connection becomes a toolbox immediately, so you can curate which NextGen Office tools are exposed, rename them, or freeze arguments before anyone points a client at it.

## NextGen Office MCP connector for Claude

Endpoint: https://api.elaichi.ai/mcp

1. Open Customize, then Connectors.
2. Press Add.
3. Name it, paste the MCP server URL, then Continue.
4. Sign in and approve.

On Team and Enterprise, an Owner adds it once. Everyone else turns it on for themselves.

## NextGen Office MCP connector for Claude Code

Endpoint: https://api.elaichi.ai/mcp

1. In a terminal, run `claude mcp add` with the endpoint.
2. Start Claude Code and run `/mcp`.
3. Pick elaichi, then sign in and approve in the browser.

```bash
claude mcp add --transport http elaichi --scope user https://api.elaichi.ai/mcp
```

Use `--scope project` instead to share it with the repository through `.mcp.json`.

## NextGen Office MCP connector for ChatGPT

Endpoint: https://api.elaichi.ai/mcp

1. Open Plugins, then press the + button.
2. Name it and paste the endpoint into Server URL.
3. Leave Authentication on OAuth, then tick the risk acknowledgement.
4. Press Create, then sign in and approve.

Works on the web. The plugin directory lives at chatgpt.com/plugins.

## NextGen Office MCP connector for Cursor

Endpoint: https://api.elaichi.ai/mcp

1. Open `~/.cursor/mcp.json`.
2. Add the endpoint under `mcpServers`.
3. Reload Cursor, then sign in and approve.

Set up per machine, so repeat it on each computer you work from.

## NextGen Office MCP connector for Microsoft Copilot

Endpoint: https://api.elaichi.ai/mcp

1. In Copilot Studio, open your agent, then Tools, Add a tool, New tool and Model Context Protocol.
2. Paste the endpoint into Server URL, choose OAuth 2.0, then Dynamic discovery, and press Create.
3. Create a new connection, sign in and approve, then press Add to agent.
4. Under Channels, open Teams and Microsoft Copilot and make the agent available in Microsoft Copilot.

Microsoft Copilot was called Microsoft 365 Copilot. Keep the tool on end-user credentials, so each person signs in as themselves.

## Connect NextGen Office to any MCP client

Endpoint: https://api.elaichi.ai/mcp

1. Add the endpoint as a remote MCP server.
2. Sign in and approve.

The Elaichi Agent already has these tools, with nothing to set up.

## What the consent screen decides

Every scope the client asks for starts ticked except "Delete things", which you tick yourself. Calling a NextGen Office tool needs "Use your connected apps". Over MCP there is no trusted place to confirm a write in the moment, so the consent screen is the standing approval rather than a formality. Think hard before granting Use your connected apps, which can also delete in connected apps and cannot be undone.

## What teams do with NextGen Office through Elaichi

### Check allergies and conditions before a visit

Clinical. Ask for a patient's allergy intolerances and active conditions before they walk in, pulled from the live NextGen Office chart rather than a printout from this morning.

### See who is on the care team

Care coordination. Pull a patient's care team and care plan in one ask, so a handoff to a specialist starts with the right names and the current goals.

### Confirm coverage before the claim goes out

Billing. Look up the coverage NextGen Office has on file for a patient and spot a missing or expired plan before billing starts.

### Answer a records request without digging

Front desk. When another practice asks for a summary, find the patient's CCDA documents in NextGen Office and hand them over without opening five screens.

### Pull a diagnostic report into a review

Quality. Ask for a specific diagnostic report, then have the agent summarize what it says and which conditions it relates to for a chart review.

### Run a bulk export for a patient group

Operations. Build a bulk patient group in NextGen Office, start the export, and check on the job without waiting for someone technical.

## Elaichi vs Zapier MCP vs Composio for NextGen Office

All three can connect NextGen Office to an AI assistant, and all three have admin controls. They differ in where access lives and how you pay.

| What to check | Elaichi | Zapier MCP | Composio |
| --- | --- | --- | --- |
| Where the AI connects | One address for the whole organization. Endpoint: https://api.elaichi.ai/mcp | A server per member, created at sign-in. | An MCP endpoint per team, or an SDK. |
| Control over NextGen Office tools | Allow or restrict single NextGen Office tools, per role or user. | App and action restrictions on the account. | Role permissions, down to the action. |
| Record of calls | One audit entry per NextGen Office call. | A History tab of tool calls. | A log of every tool call. |
| Single sign-on | SAML or OIDC, plus SCIM, on Gold. | SAML on Enterprise. | SAML and OIDC on Enterprise. |
| Price | Free for one person; $15 per user per month on Gold. | 2 tasks per successful call. | Billed per tool call. |

Sources: Zapier MCP [docs](https://docs.zapier.com/mcp/get-started/quickstart), [security](https://docs.zapier.com/mcp/manage/security), [usage](https://docs.zapier.com/mcp/features/usage); Composio [docs](https://docs.composio.dev/docs/composio-connect), [gateway](https://composio.dev/mcp-gateway), [enterprise](https://composio.dev/enterprise), [pricing](https://composio.dev/pricing). Checked September 2026.

Longer take: [Zapier MCP alternative](/blog/zapier-mcp-alternative/) and [when you don't need an MCP gateway](/blog/when-you-dont-need-an-mcp-gateway/).

## Frequently asked questions

### How do I connect NextGen Office to Claude?

Two steps. In Elaichi, choose NextGen Office, paste in the client ID and secret from the OAuth application your practice registers once inside NextGen Office, and sign in through NextGen Office's own login page. Then in Claude open Customize, then Connectors, then Add, and paste https://api.elaichi.ai/mcp. The client ID and secret are entered once by whoever sets it up, and nobody else on the team ever handles them.

### Does NextGen Office work with ChatGPT and Cursor as well as Claude?

Yes. Once NextGen Office is connected in Elaichi, the same endpoint, https://api.elaichi.ai/mcp, works in Claude, ChatGPT, Cursor, Microsoft Copilot, any other MCP client and the Elaichi Agent. You connect NextGen Office once and every client picks it up.

### What can an AI agent actually do with my NextGen Office data?

It can look up what is in a patient's NextGen Office chart: allergy intolerances, conditions, care plans, care teams, coverage, devices, diagnostic reports and CCDA documents. It can also set up bulk patient groups and start or check on bulk exports. Short, concrete asks such as "coverage on file for this patient" get better answers than long paragraphs.

### Does connecting NextGen Office give the AI access to every patient?

No. Every call runs as the person who signed in to NextGen Office, so the agent sees only the patients and records that person can already open in NextGen Office. Elaichi can narrow that further with roles and restrictions, and it can never widen it.

### Can my team share one NextGen Office connection?

Yes. One person connects NextGen Office in Elaichi and shares it with a team, and nobody else handles the client ID, the secret or a login. Each teammate still signs in to Elaichi as themselves, so the audit log names the actual person behind every chart lookup.

### Can I stop an agent from deleting or changing things in NextGen Office?

Yes. Restrictions in Elaichi work per action, for example deleting a bulk group or a bulk export job in NextGen Office, and they are set on a role or on one person. A restricted action still appears in Elaichi's tool search, flagged as restricted, but no client can run it, whatever the prompt says.

### What happens to a NextGen Office connection when someone leaves?

Offboarding them in Elaichi ends their access to NextGen Office through every client at once. A connection they shared keeps working for everyone else on the team. If you want the whole connection gone, disconnecting NextGen Office once in Elaichi removes it from Claude, ChatGPT, Cursor, Microsoft Copilot and every other client.

### Does the NextGen Office MCP connector work with Gemini, Codex, Claude Code or other MCP clients?

Yes. NextGen Office is reached over the same MCP endpoint every client uses, so anything that speaks MCP can call it — Gemini, Codex, Claude Code, Windsurf, Cline, Zed and OpenCode among them — alongside Claude, ChatGPT, Cursor, Microsoft Copilot, and the Elaichi Agent. The tools on offer and the access behind them are identical whichever client asks. Only the setup screen differs.

### Is Elaichi an alternative to Zapier MCP for NextGen Office?

Yes. Both let Claude, ChatGPT or Cursor use NextGen Office. Zapier MCP fits a team that already automates in Zapier, since each person signs in and acts as themselves in that account. Elaichi fits when IT wants one address for the whole company, per-tool rules by role, and a record of every NextGen Office call.

### How is Elaichi different from Composio for NextGen Office?

Composio gives AI agents tools and sign-in handling across 1,000+ apps, for developers building agents or people using an assistant, billed per tool call. Elaichi gives a company's own people governed access to NextGen Office: one address, restrictions per role or user, and $15 per user per month. Both have role permissions and a log of every call.

## All 58 NextGen Office tools

Every tool below is callable through https://api.elaichi.ai/mcp once NextGen Office is connected, subject to the toolbox it is in and the restrictions on the caller.

- **Get single NextGen Office allergy intolerance by ID** (Get). Read AllergyIntolerance. Fetches a single allergy/intolerance record by id. Allergy codes are mapped to RxNorm codes. The id is the FHIR resource id. GET /api/fhir/r4/AllergyIntolerance/{id}. Required: id.
- **List all NextGen Office allergy intolerances** (List). Search AllergyIntolerance. Fetches a bundled resource containing the allergy/intolerance records for the patient mentioned in the request. Allergy codes are mapped to RxNorm codes. GET /api/fhir/r4/AllergyIntolerance. Required: patient. Pages along the Bundle's next link; records at entry.*.resource.
- **Delete a NextGen Office bulk export job by ID** (Delete). Delete Job. Bulk FHIR connection. Cancels an export (the id is the _jobId or the Content-Location URL). DELETE /api/bulkfhir/r4/$export-poll-status. Required: id.
- **Get single NextGen Office bulk export job by ID** (Get). Poll Job Status. Bulk FHIR connection. The export's status: the id is the _jobId or the whole Content-Location URL. 202 while running (empty result), then the manifest (transactionTime, request, requiresAccessToken, output / error file URLs per type). GET /api/bulkfhir/r4/$export-poll-status. Required: id.
- **Create a NextGen Office bulk group export** (Create). Group Export. Bulk FHIR connection. Starts an export of the Group's patients' data (GET with Prefer: respond-async). NextGen answers 202; the Content-Location response header (passed back by the connector's REST proxy) is the status URL: pass it, or its _jobId, to bulk_export_jobs.get. GET /api/bulkfhir/r4/Group/{id}/$export. Required: group_id.
- **Create a NextGen Office bulk group** (Create). Create Group. Bulk FHIR connection. Creates a patient Group: patientIds (1 to 1,000 patient ids), optional name; up to 1,000 Groups per practice. The reply carries the Group id. POST /api/bulkfhir/r4/Group. Required: patientIds.
- **Delete a NextGen Office bulk group by ID** (Delete). Delete Group. Bulk FHIR connection. Deletes a patient Group. DELETE /api/bulkfhir/r4/Group/{id}. Required: id.
- **Get single NextGen Office bulk group by ID** (Get). Retrieve Group. Bulk FHIR connection. One patient Group by its id (a GUID). GET /api/bulkfhir/r4/Group/{id}. Required: id.
- **List all NextGen Office bulk groups** (List). Retrieve all Groups. Bulk FHIR connection. The client's patient Groups (NextGen answers 404 when there are none). GET /api/bulkfhir/r4/Group.
- **Update a NextGen Office bulk group by ID** (Update). Update Group. Bulk FHIR connection. Renames a Group or adds / removes patients (at least one of name, patientIdsToInclude, patientIdsToExclude; a Group can't be emptied: delete it). PUT /api/bulkfhir/r4/Group/{id}. Required: id.
- **List all NextGen Office bulk patients** (List). Search Patients. Bulk FHIR connection. The practice's active patients, to put in a Group. Filters are ANDed. GET /api/bulkfhir/r4/$patient-search. Pages with page (1,000 a page); records at entry.*.resource.
- **List all NextGen Office capability statement** (List). The server's CapabilityStatement. The FHIR R4 server's CapabilityStatement (metadata): one record. Public: no token needed. GET /api/fhir/r4/metadata.
- **Get single NextGen Office care plan by ID** (Get). Read CarePlan. Fetches a single plan of treatment(care plans, orders) and assessment note by id. The id is the FHIR resource id. GET /api/fhir/r4/CarePlan/{id}. Required: id.
- **List all NextGen Office care plans** (List). Search CarePlan. Fetches a bundled resource containing plan of treatment(care plans, orders) and assessment notes for the patient mentioned in the request. GET /api/fhir/r4/CarePlan. Required: patient, category. Pages along the Bundle's next link; records at entry.*.resource.
- **Get single NextGen Office care team by ID** (Get). Read CareTeam. Fetches a single Care Team member by id. The id is the FHIR resource id. GET /api/fhir/r4/CareTeam/{id}. Required: id.
- **List all NextGen Office care teams** (List). Search CareTeam. Fetches a bundled resource containing details of the Care Team members for the patient or care team ID mentioned in the request. GET /api/fhir/r4/CareTeam. Pages along the Bundle's next link; records at entry.*.resource.
- **NextGen Office ccda documents lookup** (Action).  The patient's record as a C-CDA document (XML, text/xml), optionally limited by date. GET /api/ccda. Required: patient.
- **Get single NextGen Office condition by ID** (Get). Read Condition. Fetches a bundled resource containing the condition/problem associated with the provided resource id. The id is the FHIR resource id. GET /api/fhir/r4/Condition/{id}. Required: id.
- **List all NextGen Office conditions** (List). Search Condition. Fetches a bundled resource containing the conditions/problems for the patient mentioned in the request. All conditions are mapped to SNOMED codes. GET /api/fhir/r4/Condition. Required: patient. Pages along the Bundle's next link; records at entry.*.resource.
- **Get single NextGen Office coverage by ID** (Get). Read Coverage. Fetches a Coverage by id. The id is the FHIR resource id. GET /api/fhir/r4/Coverage/{id}. Required: id.
- **List all NextGen Office coverages** (List). Search Coverage. Fetches a bundled resource containing Coverage data based on the provided parameters. GET /api/fhir/r4/Coverage. Required: patient. Pages along the Bundle's next link; records at entry.*.resource.
- **Get single NextGen Office device by ID** (Get). Read Device. Fetches a single implantable device by id. The id is the FHIR resource id. GET /api/fhir/r4/Device/{id}. Required: id.
- **List all NextGen Office devices** (List). Search Device. Fetches a bundled resource containing all the implantable devices for the patient mentioned in the request. GET /api/fhir/r4/Device. Required: patient. Pages along the Bundle's next link; records at entry.*.resource.
- **Get single NextGen Office diagnostic report by ID** (Get). Read DiagnosticReport. Fetches a single lab or radiology result by id. The observations contained in the resource. The id is the FHIR resource id. GET /api/fhir/r4/DiagnosticReport/{id}. Required: id.
- **List all NextGen Office diagnostic reports** (List). Search DiagnosticReport. Fetches a bundled resource containing all the lab or radiology results for the patient mentioned in the request. The observations contained in the resource. GET /api/fhir/r4/DiagnosticReport. Required: patient. Pages along the Bundle's next link; records at entry.*.resource.
- **Get single NextGen Office document reference by ID** (Get). Read DocumentReference. Fetches a single Document Reference. A reference to a document of any kind for any purpose. Provides metadata about the document so that the document can be discovered and managed. The id is the FHIR resource id. GET /api/fhir/r4/DocumentReference/{id}. Required: id.
- **List all NextGen Office document references** (List). Search DocumentReference. Fetches a bundled resource containing the valid Document References for the patient mentioned in the request. GET /api/fhir/r4/DocumentReference. Required: patient. Pages along the Bundle's next link; records at entry.*.resource.
- **Get single NextGen Office encounter by ID** (Get). Read Encounter. Fetches a single Encounter. An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient. The id is the FHIR resource id. GET /api/fhir/r4/Encounter/{id}. Required: id.
- **List all NextGen Office encounters** (List). Search Encounter. Fetches a bundled resource containing encounter data based on the provided parameters. GET /api/fhir/r4/Encounter. Pages along the Bundle's next link; records at entry.*.resource.
- **Get single NextGen Office goal by ID** (Get). Read Goal. Fetches a single Goal by id. The id is the FHIR resource id. GET /api/fhir/r4/Goal/{id}. Required: id.
- **List all NextGen Office goals** (List). Search Goal. Fetches a bundled resource containing the health concern goals for the patient mentioned in the request. GET /api/fhir/r4/Goal. Required: patient. Pages along the Bundle's next link; records at entry.*.resource.
- **Get single NextGen Office immunization by ID** (Get). Read Immunization. Fetches a single immunization record by id. The id is the FHIR resource id. GET /api/fhir/r4/Immunization/{id}. Required: id.
- **List all NextGen Office immunizations** (List). Search Immunization. Fetches a bundled resource containing the immunization records for the patient mentioned in the request. All immunizations contain cvx code mapping. GET /api/fhir/r4/Immunization. Required: patient. Pages along the Bundle's next link; records at entry.*.resource.
- **Get single NextGen Office location by ID** (Get). Read Location. Fetches Location by id. Details and position information for a physical place where services are provided and resources and participants may be stored, found, contained, or accommodated. The id is the FHIR resource id. GET /api/fhir/r4/Location/{id}. Required: id.
- **Get single NextGen Office medication administration by ID** (Get). Read MedicationAdministration. Fetches a single medication administration record by id. Medications are mapped to RxNorm codes. The id is the FHIR resource id. GET /api/fhir/r4/MedicationAdministration/{id}. Required: id.
- **List all NextGen Office medication administrations** (List). Search MedicationAdministration. Fetches a bundled resource containing all the medication administration records for the patient mentioned in the request. Medications are mapped to RxNorm codes. GET /api/fhir/r4/MedicationAdministration. Required: patient. Pages along the Bundle's next link; records at entry.*.resource.
- **Get single NextGen Office medication dispense by ID** (Get). Read MedicationDispense. Fetches a single medication dispense record by id. Medications are mapped to RxNorm codes. The id is the FHIR resource id. GET /api/fhir/r4/MedicationDispense/{id}. Required: id.
- **List all NextGen Office medication dispenses** (List). Search MedicationDispense. Returns a FHIR Bundle of MedicationDispense resources for the patient. Supported search parameters: patient (required), status (optional), _revinclude (optional, for Provenance:target). GET /api/fhir/r4/MedicationDispense. Required: patient. Pages along the Bundle's next link; records at entry.*.resource.
- **Get single NextGen Office medication request by ID** (Get). Read MedicationRequest. Fetches a single medication prescription record by id. Medications are mapped to RxNorm codes. The id is the FHIR resource id. GET /api/fhir/r4/MedicationRequest/{id}. Required: id.
- **List all NextGen Office medication requests** (List). Search MedicationRequest. Fetches a bundled resource containing all the medication prescription records for the patient mentioned in the request. Medications are mapped to RxNorm codes. GET /api/fhir/r4/MedicationRequest. Required: patient. Pages along the Bundle's next link; records at entry.*.resource.
- **Get single NextGen Office observation by ID** (Get). Read Observation. Fetches a single observation by id. The id is the FHIR resource id. GET /api/fhir/r4/Observation/{id}. Required: id.
- **List all NextGen Office observations** (List). Search Observation. Fetches a bundled resource containing the observations. for the patient mentioned in the request. GET /api/fhir/r4/Observation. Required: patient. Pages along the Bundle's next link; records at entry.*.resource.
- **Get single NextGen Office organization by ID** (Get). Read Organization. Fetches an Organization by id. Organization is a formally or informally recognized grouping of people or organizations formed for the purpose of achieving some form of collective action. The id is the FHIR resource id. GET /api/fhir/r4/Organization/{id}. Required: id.
- **List all NextGen Office organizations** (List). Search Organization. Listed in the server's CapabilityStatement (search-type interaction); not in the swagger file. (Listed in the server's CapabilityStatement; not in NextGen's swagger file.) GET /api/fhir/r4/Organization. Pages along the Bundle's next link; records at entry.*.resource.
- **Get single NextGen Office patient by ID** (Get). Read Patient. Fetches a single Patient by patient Id. The id is the FHIR resource id. GET /api/fhir/r4/Patient/{id}. Required: id.
- **List all NextGen Office patients** (List). Search Patient. Fetches a bundled resource containing the valid patients mentioned in the request parameters. GET /api/fhir/r4/Patient. Pages along the Bundle's next link; records at entry.*.resource.
- **Get single NextGen Office practitioner role by ID** (Get). Read PractitionerRole. Fetches a Practitioner Role by id. The id is the FHIR resource id. GET /api/fhir/r4/PractitionerRole/{id}. Required: id.
- **List all NextGen Office practitioner roles** (List). Search PractitionerRole. Fetches a bundled resource containing practitioner role data based on the provided parameters. GET /api/fhir/r4/PractitionerRole. Required: practitioner. Pages along the Bundle's next link; records at entry.*.resource.
- **Get single NextGen Office practitioner by ID** (Get). Read Practitioner. Fetches a Practitioner by id. Practitioner is a person who is directly or indirectly involved in the provisioning of healthcare. The id is the FHIR resource id. GET /api/fhir/r4/Practitioner/{id}. Required: id.
- **Get single NextGen Office procedure by ID** (Get). Read Procedure. Fetches a single Procedure by id. The id is the FHIR resource id. GET /api/fhir/r4/Procedure/{id}. Required: id.
- ...and 8 more tools. Call `tools/list` via the MCP endpoint, or see the full catalog via the API, for the complete set.
