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

# MCP Server

> Use AI assistants to help with your Parchment integration

# Parchment Documentation MCP Server

The **Model Context Protocol (MCP)** is an open standard that allows AI assistants to access external data sources and tools. Parchment hosts an MCP server at `https://docs.parchmenthealth.io/mcp` that gives AI assistants direct access to our developer documentation and OpenAPI spec, making it easier to build integrations.

## Why Use MCP?

* **Accurate Information**: AI assistants get direct access to current documentation rather than relying on training data
* **Code Examples**: Access to real code samples from our integration guide
* **OpenAPI Spec**: Full API specification for accurate endpoint details
* **Search**: Natural language search across all documentation

## Installation

<Tabs>
  <Tab title="Claude Code">
    Connect directly to our hosted MCP server:

    ```bash theme={null}
    claude mcp add --transport http parchment-docs https://docs.parchmenthealth.io/mcp
    ```

    Or add to your `~/.claude.json`:

    ```json theme={null}
    {
      "mcpServers": {
        "parchment-docs": {
          "type": "http",
          "url": "https://docs.parchmenthealth.io/mcp"
        }
      }
    }
    ```

    After adding, restart Claude Code and verify with `/mcp` command.
  </Tab>

  <Tab title="Cursor">
    Add to `~/.cursor/mcp.json` (or `.cursor/mcp.json` in your project):

    ```json theme={null}
    {
      "mcpServers": {
        "parchment-docs": {
          "url": "https://docs.parchmenthealth.io/mcp"
        }
      }
    }
    ```

    Or add via Cursor Settings: **File > Preferences > Cursor Settings > MCP**

    Restart Cursor after adding the configuration.
  </Tab>

  <Tab title="Other">
    Connect to the hosted endpoint over HTTP:

    ```
    https://docs.parchmenthealth.io/mcp
    ```

    Refer to your tool's documentation for MCP configuration.
  </Tab>
</Tabs>

## Example Usage

Here are some ways to use the MCP server with your AI assistant:

### Getting Started

> "I'm integrating with Parchment. Search the docs for getting started."

### Authentication Help

> "How do I create an authentication token for the Parchment API? Search their docs."

### Code Examples

> "Show me code examples for creating a patient in Parchment. Use the integration guide."

### API Details

> "Get the OpenAPI spec and tell me what parameters are required for the create patient endpoint."

### Webhook Setup

> "Search Parchment docs for webhook integration and show me how to handle events."

## Support

For issues with the MCP server, contact support at [hello@parchment.health](mailto:hello@parchment.health).
