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

# Servers reference

> Manage connected servers, read server details and revision history, use several OAuth accounts on one server, and share a local server through a tunnel.

Look up a server feature here. To add a server, see [Connect a server](https://docs.mcpjam.com/inspector/connecting-servers.md).

## Manage servers

In the sidebar, select **Connect**, then **Servers**. Signed out, the sidebar item is **Servers**. Each connected server has a card.

![Several servers in the server list, each with a toggle](https://mintcdn.com/mcpjam/Ef9DHbayKGl2cPtz/images/connection/multiple.png?fit=max\&auto=format\&n=Ef9DHbayKGl2cPtz\&q=85\&s=f2beeb341c49f5ccb6feb87976a583d0)

* **Toggle:** turns a server off without removing it, and back on.
* **Status:** **Connected**, or **Failed** when MCPJam can't reach the server. A failed card shows the error below the status.
* **Command or URL:** select the copy icon (**Copy server command**) to copy it.
* **⋯ menu:**
  * **Reconnect** connects again, for example after you restart the server.
  * **Configure** opens the server's details.
  * **Export server info** downloads the server's details as a JSON file.
  * **Copy markdown for evals** copies a Markdown brief about the server, to give an agent that writes evals.
  * **Move to project** moves the server to another project, when you have one to move it to.
  * **Remove server** disconnects and removes it from the project.

## Server details

**Configure** opens the server's details in tabs, starting on **Config**. Some tabs appear only for some servers.

| Tab | What it shows |
| - | - |
| **Config** | The connection settings from the **Add MCP Server** dialog. Edit them and save. |
| **Overview** | Server name and title, MCP protocol version, transport, capabilities (tools, prompts, resources), instructions, and the raw server and client capabilities. A **Visit documentation** link appears if the server provides one. |
| **Tools** | Tool metadata, including OpenAI Apps metadata such as read/write hints and widget settings. Servers with OpenAI Apps metadata show the OpenAI logo next to their name. |
| **Settings** | Settings for this server. Shown only when the server provides settings. |
| **Auth** | The authentication in use, OAuth tokens, and [connected accounts](#several-oauth-accounts). HTTP servers only. |
| **Clients** | How each client is expected to handle this server. |
| **History** | [Revision history](#revision-history). Shown when you're signed in and the server is saved in a project. |

## Revision history

The **History** tab lists every recorded revision of the server. Each row shows the revision number, how many tools were added or removed compared with the previous revision, and when it was recorded.

Select a row to expand it:

* **Diff** (the default from revision 2): tools added, removed or changed since the previous revision. A changed tool shows each field that changed: description lines with the changed words highlighted, and schemas and annotations as JSON. Server info changes, such as the version or instructions, show the old and new values.
* **Snapshot**: every tool recorded in that revision, with its name and description.

Switch between **Diff** and **Snapshot** at the top of the expanded row. Revision 1 opens in **Snapshot**, because there is nothing to compare it with.

**Diff** always compares a revision with the one just before it. To compare two revisions that aren't next to each other, such as last week's and the current one, use the CLI: `mcpjam cloud projects servers revision-diff --project <name> --server <name> --revision <later> --from <earlier>`.

Scripts and agents can read the same revisions without opening MCPJam. These read stored revisions and never connect to the server, so they work for STDIO servers too:

* **[API](https://docs.mcpjam.com/reference/public-api.md#endpoints):** `GET /projects/{projectId}/servers/{serverId}/revisions`, with each revision and its diff under that path.
* **[CLI](https://docs.mcpjam.com/cli/reference.md#cloud-projects-servers-revisions):** `cloud projects servers revisions`, `revision` and `revision-diff`.
* **MCPJam MCP server and Playground chat:** the `list_server_revisions`, `get_server_revision` and `diff_server_revisions` tools.

## Several OAuth accounts

A server that uses OAuth can have more than one connected account. They're listed under **Connected accounts** in the server's **Auth** tab (**Project accounts** if the server's accounts are shared with the project). Project admins manage shared accounts: if you aren't an admin, you see the accounts but not the row's ⋯ menu or **Connect another account**, so ask a project admin to change them.

Each row shows the account's email or name, and below it the name you gave the account, **Default** for the account chat uses, or **Needs reconnect** when its tokens expired or were revoked.

The row's ⋯ menu has:

* **Rename:** gives the account a name. Chat shows it when the model picks an account.
* **Set as default:** makes this the account chat uses when no account is chosen, and the one other features use. Hidden on the current default.
* **Reconnect:** signs in again for this account only.
* **Remove:** deletes the account's credential. If it was the default, the next account becomes the default.

To add an account, select **Connect another account** at the bottom of the list. A server can have up to 8 live accounts.

With two or more live accounts, chat adds a required `link_id` argument to the server's tools, so you or the model choose which account each tool call uses. It has the same name ChatGPT uses, so your server only has one argument name to avoid. If a tool already declares `link_id`, chat shows one copy of the tool per account instead. Changing the default during a conversation doesn't affect tool calls that are already running.

Rerunning a tool call from the trace is turned off for calls that ran on a specific account, because a rerun would use the default account instead.

## Tunnels

A tunnel gives a local server a public HTTPS URL, so a remote client, such as ChatGPT, can reach it without deploying the server.

Tunnels aren't available in the web app. You need the desktop app or `npx @mcpjam/inspector@latest`, you need to be signed in, and the server must be **Connected**. Each tunnel belongs to one server. Once it's open, the card shows the tunnel URL in a small bar, the tunnel pill, with buttons to rotate the secret, see recent requests and close the tunnel. The URL contains a secret key (`?k=…`), checked before any traffic reaches your machine; requests without the right key get a `401`.

### Create a tunnel

1. In the sidebar, select **Connect**, then **Servers**.
2. On the server's card, select **Create tunnel**. The first time, select **Create tunnel** again in the dialog that explains tunnels.
3. Copy the tunnel URL from the card and paste it into your MCP client, for example as a ChatGPT connector URL.

The tunnel's domain stays the same across sessions. If you close a tunnel and create one again for the same server, you get the same domain with a new secret key.

### Rotate the secret

On the tunnel pill, select **Rotate tunnel secret** (the refresh icon) to issue a new key. The domain stays the same, and the old URL stops working immediately. To revoke a URL you shared, rotate the secret. To stop all remote access, [close the tunnel](#close-a-tunnel).

### Recent requests

On the tunnel pill, select **Recent tunnel requests** (the log icon). The panel shows the last 20 JSON-RPC methods that came through the tunnel and refreshes every 4 seconds. It closes when the tunnel closes.

### Close a tunnel

On the tunnel pill, select **Close tunnel** (**×**). Remote access stops immediately. The domain stays reserved, so the next tunnel for this server reuses it.

> [!WARNING]
>
> Anyone with the full tunnel URL, including its secret key, can use this
> server. Share it carefully, rotate the secret if it leaks, and close the
> tunnel when you're done.


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