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

# Connect to the Biohub MCP and run your first query

> Add the Biohub MCP server to your AI agent, sign in with your Biohub account, and view your first protein structure.

> [!NOTE]
>
> Questions about what the MCP server is? Learn more about the Biohub MCP in the [Overview](https://docs.biohub.ai/biohub-mcp/overview.md).

## Before you begin

You need:

* A free Biohub account.
  If you do not have an account yet, [create a free account](https://biohub.ai/sign-up). Using the Biohub MCP does not require an API key.
* An AI agent that supports OAuth sign-in, such as Claude Code, Codex, Claude.ai or Claude Desktop, ChatGPT, Cursor, or VS Code.
* Some [Skills](https://docs.biohub.ai/biohub-mcp/skills/overview.md), such as the WaveOrder Skills, run commands on your computer. They need an agent that can support this ability, such as Claude Code, Codex, or Cursor.

**1. Add Biohub MCP to your AI agent**

> [tab] ChatGPT
>
> > [!TIP]
> >
> > **Install once for ChatGPT and Codex.**
> >
> > [Install the Biohub plugin](https://chatgpt.com/plugins/plugin_asdk_app_6afb3c8e35508191955976ebc082bb22) in ChatGPT on the web, the ChatGPT desktop app, or Codex, then connect your Biohub account.
> > All three share the same public plugin directory and app connections, so your installation and Biohub connection are available across them when you use the same ChatGPT account and workspace.
>
> These steps work in ChatGPT on the web and in the desktop app.
> The same installation and Biohub connection are also available in Codex.
>
> If you already installed Biohub in Codex, start a new chat and select it with `@`.
> Otherwise:
>
> 1. Open the [Biohub plugin](https://chatgpt.com/plugins/plugin_asdk_app_6afb3c8e35508191955976ebc082bb22).
>
> 2. Select **+** to install it.
>
> 3. Follow the prompts to connect your Biohub account.
>    Sign-in may happen during installation or when you first use the plugin.
>
> 4. Start a new chat, type `@`, select **Biohub**, and enter your question.
>
> > [accordion] Advanced: connect the MCP server directly
> >
> > Use this option to test a direct MCP connection without the plugin's bundled skills.
> >
> > 1. In ChatGPT on the web, open **Settings**, then **Security and login**, and turn on **Developer mode**.
> > 2. Open [chatgpt.com/plugins](https://chatgpt.com/plugins) and click **+** to create a developer-mode app for a remote MCP server.
> > 3. Enter `Biohub` as the name and `https://biohub.ai/mcp` as the MCP server URL, select **OAuth**, leave any client ID and secret fields empty, and create it.
> > 4. In a chat, select **Developer mode** from the **+** menu and select the app you created.

> [tab] Codex
>
> > [!TIP]
> >
> > **Install once for ChatGPT and Codex.**
> >
> > [Install the Biohub plugin](https://chatgpt.com/plugins/plugin_asdk_app_6afb3c8e35508191955976ebc082bb22) in ChatGPT on the web, the ChatGPT desktop app, or Codex, then connect your Biohub account.
> > All three share the same public plugin directory and app connections, so your installation and Biohub connection are available across them when you use the same ChatGPT account and workspace.
>
> Use the same Biohub plugin and app connection as ChatGPT.
> If you already installed it on the web or in the desktop app, start a new Codex chat or CLI session and ask it to use Biohub.
>
> To install it from Codex:
>
> 1. Open **Plugins** in the desktop app, or enter `/plugins` in Codex CLI.
> 2. Select **Biohub** from the public directory and install it.
> 3. Connect your Biohub account when prompted, then start a new chat or session.
>
> You can also [install from the plugin page](https://chatgpt.com/plugins/plugin_asdk_app_6afb3c8e35508191955976ebc082bb22).
> Use the same ChatGPT account and workspace across clients to share the installation and connection.
>
> > [accordion] Advanced: connect the MCP server directly
> >
> > Use this option for a direct MCP connection, including in the IDE extension.
> >
> > Run `codex --version` to check that you have Codex 0.148.0 or later.
> > Older versions also connect, with a different sign-in method that Biohub MCP accepts.
> >
> > ```bash theme={null}
> > codex mcp add biohub --url https://biohub.ai/mcp
> > ```
> >
> > Codex opens the sign-in page in your browser right away.
> > If it does not, run `codex mcp login biohub`.
> > Start a new `codex` session to use it.
> > Run `codex mcp list`, or enter `/mcp` in a Codex session, to check that `biohub` is connected.
> >
> > The command writes this entry to `~/.codex/config.toml`, which you can also add by hand:
> >
> > ```toml theme={null}
> > [mcp_servers.biohub]
> > url = "https://biohub.ai/mcp"
> > ```
> >
> > If you add it by hand, run `codex mcp login biohub` to sign in.
> >
> > These commands configure a direct MCP connection for Codex CLI and the IDE extension.
> > See the [Codex MCP documentation](https://learn.chatgpt.com/docs/extend/mcp) for more options.

> [tab] Claude Code
>
> Run `claude --version` to check that you have Claude Code 2.1.81 or later.
>
> ```bash theme={null}
> claude mcp add --transport http biohub https://biohub.ai/mcp
> ```
>
> Add `--scope user` to make it available in every project.
> Start a new `claude` session, enter `/mcp`, select `biohub`, and choose to sign in.
> To check the connection later, enter `/mcp` or run `claude mcp get biohub`.

> [tab] Claude
>
> These steps work in Claude.ai and Claude Desktop, which share your account's connectors, so adding Biohub once covers both.
>
> 1. Open **Customize**, then **Connectors**.
> 2. Click **+**, then **Add custom connector**.
> 3. Enter `Biohub` as the name and `https://biohub.ai/mcp` as the remote MCP server URL.
> 4. If Claude asks which OAuth client to use, choose **Use Claude's published identity**, and leave any client ID and secret fields empty.
> 5. Click **Add**, then **Connect**.
> 6. In a chat, click **+**, select **Connectors**, and turn on Biohub.
>
> On Team and Enterprise plans, only an Owner can add a custom connector, under **Organization settings**, then **Connectors**, choosing **Use Claude's published identity**.
> Members then click **Connect** under **Customize**, then **Connectors**, and each signs in with their own Biohub account.
> Free plans allow one custom connector.

> [tab] Cursor
>
> Add this entry to `~/.cursor/mcp.json` for all projects, or to `.cursor/mcp.json` in one project, keeping any servers already listed there.
> You can also add the URL in **Cursor Settings**, then **MCP**.
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "biohub": {
>       "url": "https://biohub.ai/mcp"
>     }
>   }
> }
> ```
>
> In **Cursor Settings**, then **MCP**, click **Login** or **Connect** next to `biohub`.
> When it's connected, its tools are listed there; restart Cursor if it does not pick up the change.

> [tab] VS Code
>
> VS Code uses MCP servers in Copilot Chat.
> If your organization manages GitHub Copilot, its policy must allow MCP servers.
>
> Run **MCP: Add Server** from the Command Palette and follow the prompts, or add this entry to `.vscode/mcp.json` in your workspace, keeping any servers already listed there:
>
> ```json theme={null}
> {
>   "servers": {
>     "biohub": {
>       "type": "http",
>       "url": "https://biohub.ai/mcp"
>     }
>   }
> }
> ```
>
> To add it for your user profile instead, run **MCP: Open User Configuration** and add the same entry.
> Start the `biohub` server from the MCP view or the configuration file, and sign in when asked.
> Run **MCP: List Servers** to see its status, and select **Configure Tools** in Chat to turn the Biohub tools on or off.

> [tab] Other
>
> Any MCP client that supports Streamable HTTP and OAuth sign-in can connect, such as Antigravity CLI.
>
> 1. Enter `https://biohub.ai/mcp` as the server URL, and choose Streamable HTTP, sometimes labeled HTTP, if the client asks.
> 2. Choose OAuth sign-in if the client asks, and leave any client ID and secret fields empty.
> 3. Do not select the older SSE transport, which cannot connect.

**2. Sign in if prompted**

If your Biohub account is already connected, continue to your first request.
Otherwise, follow the sign-in prompt to open Biohub in your browser.
Check that the address is an official Biohub address, then sign in.
Your AI agent keeps the connection and renews it for you.

**3. Run a first request**

Show me the 3D structure of green fluorescent protein (GFP), colored by confidence, with its chromophore residues Ser65, Tyr66, and Gly67 highlighted. Look at the structure and tell me where the chromophore sits and how confident the prediction is.

Show me the 3D structure of green fluorescent protein (GFP), colored by confidence, with its chromophore residues Ser65, Tyr66, and Gly67 highlighted.
Look at the structure and tell me where the chromophore sits and how confident the prediction is.

Copy and paste the prompt above into your AI agent.
Your AI agent finds GFP from *Aequorea victoria* in UniProt ([P42212](https://www.uniprot.org/uniprotkb/P42212), 238 residues) with `esm_atlas_search_uniprot`, then shows its structure with `ui_show_structure`.
If the ESM Atlas does not have a stored structure for a protein, it predicts one, which takes a little longer.

You should see an 11-stranded beta barrel with a helix running through its center, which carries the three highlighted chromophore residues.
The prediction's pTM is about 0.91, and most residues are colored dark blue for high confidence.
Agents that support MCP Apps display the structure in an interactive viewer you can rotate, while agents that do not will display a static image.

This request is free.
Folding, mutation scoring, and complexes are billed to your account, as the [Folding tools](https://docs.biohub.ai/biohub-mcp/folding-tools.md#costs) and [Mutation scoring tools](https://docs.biohub.ai/biohub-mcp/mutation-scoring-tools.md#costs) pages show.
If your AI agent does not find the Biohub tools, or still says you need to sign in, see [Troubleshooting](https://docs.biohub.ai/biohub-mcp/troubleshooting.md#no-tools-show-up).

## Next steps

* Try more [Example prompts](https://docs.biohub.ai/biohub-mcp/example-prompts.md), such as finding proteins similar to GFP, folding a protein, or scoring mutations.
* Learn what the tools accept and return in the [ESM Atlas tools](https://docs.biohub.ai/biohub-mcp/esm-atlas-tools.md), [Folding tools](https://docs.biohub.ai/biohub-mcp/folding-tools.md), and [Mutation scoring tools](https://docs.biohub.ai/biohub-mcp/mutation-scoring-tools.md) references.
* Follow a [Skill](https://docs.biohub.ai/biohub-mcp/skills/overview.md), such as the [WaveOrder reconstruction tutorial](https://docs.biohub.ai/biohub-mcp/skills/waveorder-tutorial.md), which needs an agent that can run commands on your computer.


## Related topics

- [Biohub MCP server](https://docs.biohub.ai/biohub-mcp/overview.md)
- [Troubleshoot Biohub MCP connections and tool errors](https://docs.biohub.ai/biohub-mcp/troubleshooting.md)
- [Biohub MCP folding tools](https://docs.biohub.ai/biohub-mcp/folding-tools.md)
- [Get started with ESM models](https://docs.biohub.ai/learn/getting-started.md)
- [Biohub MCP Skills](https://docs.biohub.ai/biohub-mcp/skills/overview.md)
