> For the complete documentation index, see [llms.txt](https://docs.rhinofcp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rhinofcp.com/using-the-rhino-mcp-server/mcp-getting-started.md). Agents can also search and read this documentation through its [MCP server](https://docs.rhinofcp.com/~gitbook/mcp).

# MCP Getting Started

What is the Rhino MCP?

The **Rhino MCP** (Model Context Protocol) lets you run federated analytics in plain language from Claude, or any MCP-capable AI assistant.&#x20;

The assistant picks a Rhino tool, the Rhino MCP server and Rhino orchestrator run the job through the Rhino SDK at each site, and only aggregates (counts, means, model coefficients) flow back to you. Patient-level data never leaves the site.

<img src="https://2949362692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FydySyCBmy6F7NnGn4bPa%2Fuploads%2FMa1R25GCBgoa7evoVESi%2Funknown.png?alt=media&amp;token=bcec95ab-9013-46c0-92cd-9878f5f9d483" alt="" height="470" width="491">

***

### What You Can Do

The MCP server exposes 8 capability areas, each mapped to a set of tools your AI assistant can invoke. See the [MCP Tool Catalog](https://docs.rhinofcp.com/using-the-rhino-mcp-server/mcp-tool-catalog.md) for more detail.

| Capability Area             | What You Can Do                                                                                                                                                                                                                                                  |
| --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Authentication**          | Login, confirm identity, verify connectivity                                                                                                                                                                                                                     |
| **Projects**                | <p>List, inspect, create, and delete federated projects.</p><p></p><p>See <a href="https://docs.rhinofcp.com/using-the-rhino-mcp-server/projects-and-datasets-via-mcp#projects">example prompts</a>.</p>                                                         |
| **Datasets**                | <p>Register, sync, profile, compare, and delete datasets — including federated datasets spanning multiple sites.</p><p></p><p>See <a href="https://docs.rhinofcp.com/using-the-rhino-mcp-server/projects-and-datasets-via-mcp#datasets">example prompts</a>.</p> |
| **Queries**                 | <p>Run mean, Kaplan-Meier, Cox PH, Table 1, chi-square, and more via a single unified tool.</p><p></p><p>See <a href="https://docs.rhinofcp.com/using-the-rhino-mcp-server/queries-execution-and-monitoring-via-mcp#queries">example prompts</a>.</p>            |
| **Execution**               | <p>Upload Python code objects, execute them across sites, launch NVFlare training jobs.</p><p></p><p>See <a href="https://docs.rhinofcp.com/using-the-rhino-mcp-server/queries-execution-and-monitoring-via-mcp#execution">example prompts</a>.</p>              |
| **Monitoring**              | <p>Check run status, stream logs, list recent runs, halt jobs.</p><p></p><p>See <a href="https://docs.rhinofcp.com/using-the-rhino-mcp-server/queries-execution-and-monitoring-via-mcp#monitoring">example prompts</a>.</p>                                      |
| **Collaboration**           | <p>List, invite, and remove collaborators; check site connectivity and workgroup health.</p><p></p><p>See <a href="https://docs.rhinofcp.com/using-the-rhino-mcp-server/collaboration-via-mcp">example prompts</a>.</p>                                          |
| **Schemas & Harmonization** | <p>Manage schemas, browse vocabularies, apply semantic and syntactic mappings, run full pipelines.</p><p></p><p>See <a href="https://docs.rhinofcp.com/using-the-rhino-mcp-server/schemas-and-harmonization-via-mcp">example prompts</a>.</p>                    |

***

### Privacy and Data Safety

Privacy is enforced at the platform level. All results returned by the MCP server are **aggregated** — raw patient data never leaves hospital sites. You will never see individual patient records through any MCP tool.

The MCP server enforces the same access permissions as the Rhino FCP platform itself. Each user authenticates with their own account and sees only the projects and data they are authorized to access.

<figure><img src="https://2949362692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FydySyCBmy6F7NnGn4bPa%2Fuploads%2FmcGbSx2ZYRJklE7m3Sty%2Fimage.png?alt=media&amp;token=e5369209-53bb-461a-9417-e1c0c658038e" alt=""><figcaption></figcaption></figure>

***

### MCP Prompting Principles

Generic prompts often return acceptable answers, but following core prompt engineering best practices alongside Rhino-specific strategies yields the fastest and most accurate results.

#### General Best Practices

* Be clear and direct — Provide explicit instructions and clear constraints about your desired output format and scope.
* Add context and motivation — Explain why specific requirements or steps are important so the assistant can better adapt to your goals.
* Use examples effectively — Include relevant sample prompts or output structures (few-shot prompting) to guide tone, format, and reasoning.

#### Rhino Best Practices

* Name the dataset and site scope — "Site 1 patient\_analytics", "pool Site 1 and Site 2".
* Name non-obvious columns and concept sets — "COPD = 2000001000".
* Name the method and its expected inputs — calculate a cox ph model with followup\_days as the time variable, event as the event\_variable event, and \[age, sex, smoking] as covariates.
* Call out joins – when a question spans more than a single table and a join is needed, be explicit. Tell the MCP to create a Code Object to join the two tables before calculating the desired metric.&#x20;
* Give date ranges as two bounds, in plain words when dates are required: "index date from 1 January 2023 through 31 December 2023".
* Plan first – For complex use cases, use your agent + MCP to make a plan.

***

### How to Connect to the MCP

The MCP production server endpoint is:

```auto
https://mcp.rhinohealth.com/mcp
```

See [MCP Prerequisites and Authentication](https://docs.rhinofcp.com/using-the-rhino-mcp-server/mcp-prerequisites-and-authentication.md) for information on logging in.

See [MCP Supported Clients](https://docs.rhinofcp.com/using-the-rhino-mcp-server/mcp-supported-clients.md) for information on connecting to the AI/LLM of your choice.

See [MCP Worked Example](https://docs.rhinofcp.com/using-the-rhino-mcp-server/mcp-worked-example.md) for a walkthrough of what using the MCP could look like.

See [MCP Environments, Troubleshooting, and FAQs](https://docs.rhinofcp.com/using-the-rhino-mcp-server/mcp-environments-troubleshooting-faqs.md) for additional help.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.rhinofcp.com/using-the-rhino-mcp-server/mcp-getting-started.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
