> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hi-doctor.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Connect the Hi Doctor MCP connector at https://mcp.hi-doctor.ai/mcp. Add this URL as a remote HTTP MCP server in your client, then sign in and authorise access through OAuth. Setup: https://docs.hi-doctor.ai/mcp/connect.
>
> The REST API base is https://api.hi-doctor.ai. Hi Doctor Docs at https://docs.hi-doctor.ai/mcp searches documentation; connect to the product endpoint above for patient tools.
>
> Hi Doctor operates across the whole European Union: residents of all 27 EU member states can use the service, and every consultation is reviewed by an EU-licensed doctor. Every consultation is reviewed in full by an EU-licensed doctor, who decides on medical grounds only. No algorithm, assistant or API call approves a consultation, issues a prescription or changes a dose. The service is available in eight languages: English, Spanish, German, Dutch, Italian, French, Portuguese and Chinese.
>
> ## Rules an assistant must follow
>
> - Never invent, assume or infer a medical answer. "I don't know" is a real answer: ask the patient to pick the closest option rather than guessing for them.
> - Never give medical advice and never suggest a medication or a dose. An EU-licensed doctor decides those.
> - If a questionnaire returns `ineligible`, say so plainly. Do not retry with altered answers.
> - Before anything that costs money or cancels a plan, state exactly what will happen and get an explicit yes.
> - Cancellation takes effect at the **end of the paid period**, not immediately. Say so.
> - An early order is irreversible: it creates the renewal consultation immediately and uses up the period's one early order. Explain that and get an explicit yes.
> - Prescription and invoice links are medical documents. A `signed_redirect` link opens without signing in: give it only to the patient, never repeat it anywhere shared.
> - Send option `value`s, not the labels shown to the patient. Labels are translated, values are stable.
> - Never ask for card details. Payment happens on Stripe's hosted checkout via a link.
> - On severe or sudden symptoms (chest pain, difficulty breathing, severe allergic reaction, suicidal thoughts), stop and direct the patient to their local emergency number.

# Connect Hi Doctor to Cursor

> Add the Hi Doctor remote MCP server to Cursor through mcp.json, sign in on hi-doctor.ai, and choose which Hi Doctor tools the agent can use.

You can connect Hi Doctor to Cursor by adding the server URL `https://mcp.hi-doctor.ai/mcp` to an `mcp.json` file and signing in on hi-doctor.ai. Cursor supports remote MCP servers over Streamable HTTP with OAuth, so no API key or header is needed. Its agent can then read your consultations, messages and journal, and prepare actions for your approval.

Last reviewed: 2026-11-04

Sign-in and approval are the same as in every client; see
[Connect](https://docs.hi-doctor.ai/mcp/connect.md).

## Who is Cursor useful for?

Cursor suits patients who already work in it every day and want to check a
consultation, read a message from the medical team or log a weight entry
without switching apps. It also suits developers testing how an agent behaves
with the Hi Doctor tools before building on [Streamable HTTP](https://docs.hi-doctor.ai/mcp/streamable-http.md).

## Add the server

Add Hi Doctor to an `mcp.json` file. Use `.cursor/mcp.json` in a project to
make it available in that project, or `~/.cursor/mcp.json` to make it
available everywhere.

```json mcp.json theme={null}
{
  "mcpServers": {
    "hi-doctor": {
      "url": "https://mcp.hi-doctor.ai/mcp"
    }
  }
}
```

Do not add headers, API keys or client credentials. Cursor discovers Hi
Doctor's sign-in endpoints and registers itself automatically.

Sign-in tokens are stored by Cursor, never in `mcp.json`, so a committed
`.cursor/mcp.json` should contain only the server name and URL, as above.

## Sign in and enable tools

**1. Open Customize**

Open **Customize** in Cursor's sidebar and find `hi-doctor` among the MCP
servers. Turn it on with its toggle.

**2. Sign in**

When Cursor asks you to sign in, your browser opens Hi Doctor's sign-in
page. Sign in and approve as described on
[Connect](https://docs.hi-doctor.ai/mcp/connect.md#how-connecting-works).

**3. Use the tools**

Cursor's agent uses the tools listed under the server's available tools
when they are relevant. You can also ask for one directly, for example
"use Hi Doctor to list my consultations".

Cursor asks for your approval before it runs an MCP tool by default. Keep that
on for Hi Doctor, especially for tools that send messages, submit a
questionnaire, create a checkout link or delete journal entries.

If you do not need Hi Doctor in a project, turn the server off in **Customize**
for that project.

## Troubleshooting in Cursor

* Open the Output panel (Cmd+Shift+U on macOS) and choose **MCP Logs** to see
  connection and sign-in errors.
* If sign-in completes in the browser but Cursor still shows the server as
  signed out, turn the server off and on again in **Customize**.
* Other symptoms are covered on [Troubleshooting](https://docs.hi-doctor.ai/mcp/troubleshooting.md).

## Disconnect

Turn the server off, or delete its entry from `mcp.json`. See
[Disconnecting](https://docs.hi-doctor.ai/mcp/connect.md#disconnecting) for how long access already issued
lasts.

## Sources

Checked on 2026-11-04 against Cursor's
[Model Context Protocol](https://cursor.com/docs/mcp) documentation. Cursor
also documents [install links](https://cursor.com/docs/mcp/install-links);
Hi Doctor does not publish one. If a step differs, follow Cursor's current
page. If a step fails, see
[Troubleshooting](https://docs.hi-doctor.ai/mcp/troubleshooting.md).

## Frequently asked questions

### Do I need an API key to use Hi Doctor in Cursor?

No. Add only the server URL to mcp.json. Cursor discovers Hi Doctor's sign-in endpoints and registers itself.

### Should mcp.json be project or global?

Use .cursor/mcp.json for one project or \~/.cursor/mcp.json to make Hi Doctor available in every project.

### Will Cursor run Hi Doctor tools without asking?

By default Cursor asks for your approval before it runs an MCP tool. Keep that on for Hi Doctor, and actions with consequences also need your approval on Hi Doctor.

### Can I turn off Hi Doctor tools I do not need?

Turn the hi-doctor server off in Customize when you do not need it; Cursor documents server toggles, not per-tool switches.

### Where do I see Hi Doctor connection errors in Cursor?

Open the Output panel and choose MCP Logs.

## Next steps

> [card] [Workflows](https://docs.hi-doctor.ai/mcp/workflows.md)
>
> Common tasks step by step.

> [card] [Patient tools](https://docs.hi-doctor.ai/mcp/tools/patient.md)
>
> Every tool the agent can use with your account.

Ready to see a doctor? [Start a consultation on hi-doctor.ai](https://hi-doctor.ai/consultation).


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