> ## Documentation Index
> Fetch the complete documentation index at: https://developer.eka.care/llms.txt
> Use this file to discover all available pages before exploring further.

# Build with AI

> Set up a coding agent to build with Eka EMR: the reference skill and the EMR MCP server.

Use these to have a coding assistant build against Eka EMR, or to let an AI assistant act on your EMR directly.

> [!NOTE]
>
> Check what the assistant writes against these docs, and test it in the sandbox before it reaches a patient.

> **[Reference skill](#install-the-skill)**
>
> Every operation, its hosts, auth and headers, in one install.

> **[EMR MCP server](https://developer.eka.care/docs/emr/build-with-ai/mcp-server/introduction.md)**
>
> Patients, appointments, prescriptions and clinic data as tools for any MCP client.

## Before you start

Three things have to be in place before anything on this page works.

| What you need | Why |
| - | - |
| A coding assistant | Claude Code, Cursor, Codex or ChatGPT. Any one is enough. Pick one and stay on it. |
| A paid plan on it | Free tiers stop partway through a long task. |
| Your own project open in it | The assistant reads and writes the folder it is opened in. Open the repository you are building in first. |

Then work down this page in order: install the skill, connect the MCP server where there is one, and ask for one flow at a time in plain language. Read what the assistant writes before you run it.

## Install the skill

The `eka-emr` skill carries the hosts, auth and headers, and every Eka EMR operation, each with a link to its page here. It is built from these docs, so it changes when they do.

In Claude Code:

```bash theme={null}
/plugin marketplace add eka-care/eka-docs
/plugin install eka-emr@eka-docs
```

In Cursor, Codex or another agent, copy the [skill folder](https://github.com/eka-care/eka-docs/tree/main/plugins/eka-emr/skills/eka-emr) into the folder your agent loads skills from. Its map is [`SKILL.md`](https://raw.githubusercontent.com/eka-care/eka-docs/main/plugins/eka-emr/skills/eka-emr/SKILL.md).

## Connect the MCP server

The Eka MCP server is hosted at `https://mcp.eka.care/mcp`. You sign in with your Eka.care account the first time your assistant connects.

**Claude Code**

```bash theme={null}
claude mcp add eka-care --transport http https://mcp.eka.care/mcp
```

**Cursor**

```json mcp.json theme={null}
{
  "mcpServers": {
    "eka-care": {
      "url": "https://mcp.eka.care/mcp"
    }
  }
}
```

**VS Code**

```json settings.json theme={null}
{
  "mcp": {
    "servers": {
      "eka-care": {
        "type": "http",
        "url": "https://mcp.eka.care/mcp"
      }
    }
  }
}
```

Setup for every other client, sign-in and the full tool list are on the [Eka MCP server](https://developer.eka.care/docs/emr/build-with-ai/mcp-server/introduction.md) pages.

## Read these docs as an agent

Every page here is also plain text an agent can read.

* [`llms.txt`](https://developer.eka.care/llms.txt) is a map of every page.
* [`llms-full.txt`](https://developer.eka.care/llms-full.txt) is every page's text in one file.
* The menu at the top of each page copies it as Markdown, or opens it in Claude or ChatGPT.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.