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

# MCP

> Connect your own hosted MCP servers to Purna and share setup with your team.

MCP (Model Context Protocol) connections let Purna use tools from your own hosted servers, such as an internal database or a lab system. Open **Library → MCP** to manage them.

> [!NOTE]
>
> MCP connections are available on the Pro and Discoverer plans. On other plans, the **MCP** tab and **Add MCP** don't appear.

The tab has two views:

* **My connections**: your private connections. Each card shows the server's host, its status, how many tools it offers, and an **Enabled** switch.
* **Team listings**: server setups your team has shared.

## Connect a server

1. Select **Add** → **Add MCP**.
2. Enter a **Name** and the **Server address**, for example `https://example.com/mcp`.
3. Under **How do you connect?**, choose one:
   * **No sign-in required**
   * **Sign in with my account**, for servers that use OAuth. Select **Continue to sign in** and complete sign-in with the provider.
   * **Use an API key or token**. Enter a **Header name** and **Key or token**. Select **Add header** for more, up to 10. For bearer tokens, use the header `Authorization` with the value `Bearer <token>`.
4. Select **Connect**.
5. Select **Choose tools** to pick the commands Purna can use, then select **Done**.

Your connection is private to you.

### Advanced settings

Open **Advanced settings (optional)** to:

* Set the **Connection type**: **Automatic (recommended)**, **Streamable HTTP**, or **Legacy SSE**.
* Enter an OAuth **Client ID** and optional **Client secret**.
* Paste an existing `{"mcpServers": ...}` configuration and select **Fill in from configuration**.

> [!WARNING]
>
> Purna connects only to hosted servers. Servers that run as local commands aren't supported.

## Manage a connection

Select a connection to open its details.

* Turn individual tools on or off to choose the commands Purna can use.
* Turn the whole connection on or off with **Enable connection**.
* Review **Recent activity** to see the calls Purna made.
* Select **Edit server settings** to change the name, URL, authentication, or transport.
* Select **Replace credentials**, then **Save and reconnect**, when a key or token changes.
* Select **Reconnect** if the connection drops, **Copy safe config** to copy the setup without secrets, or **Delete** to remove it.

## Use a connection in a chat

In a chat, select **More** in the composer. Under **Private MCPs · this conversation**, turn on each connection you want, and optionally select specific tools.

These switches apply to the current chat only. Purna may ask for your approval before it takes an action through an external connection.

## Share a server with your team

A team listing shares setup information, not credentials. Every member connects with their own credentials.

1. On **Team listings**, select **Add team listing**.
2. Choose the **Team**, then enter a **Name**, **Description**, and **Server URL**.
3. Choose the authentication: **OAuth sign-in**, **Private API credentials**, or **No authentication**. Choose the transport.
4. Select **Publish to team**, or **Save draft** to finish later.

Team members select **Connect privately** on the listing to add their own connection. Publishing a listing doesn't approve its tools for chat or remove action approvals.


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