Skip to content

Connect Claude and other AI assistants to Biocompile (MCP)

Last updated

On this page

Biocompile runs a remote Model Context Protocol (MCP) server, so an AI assistant such as Claude, Codex, OpenCode, Cursor or VS Code can work in your research workspace for you. You sign in to Biocompile from the assistant, approve what it may do, and it can then read and propose changes to projects, manage files and run analyses within that approval.

The server is the public API in another form. Every tool is one API operation, called with the access you approved, so the same scopes, permission checks, rate limits and audit trail apply.

Connect an assistant

Add this server address to your MCP client:

https://app.biocompile.com/api/v1/mcp

The client finds the sign-in page by itself. You do not create a token or copy a secret.

Claude Code

Run this command in a terminal, then start Claude Code and run /mcp to sign in:

claude mcp add --transport http biocompile https://app.biocompile.com/api/v1/mcp

Claude Desktop and claude.ai

Open Settings → Connectors in Claude and choose Add custom connector. Enter Biocompile as the name and the server address as the URL, then choose Connect to sign in.

Codex

Run this command in a terminal. Codex opens Biocompile in your browser to sign in:

codex mcp add biocompile --url https://app.biocompile.com/api/v1/mcp

If the browser does not open, or you need to sign in again later, run codex mcp login biocompile.

OpenCode

Add the server to opencode.json, in your project or in ~/.config/opencode/:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "biocompile": {
      "type": "remote",
      "url": "https://app.biocompile.com/api/v1/mcp"
    }
  }
}

Then run opencode mcp auth biocompile to sign in. opencode mcp list shows whether the server is connected.

Cursor, VS Code and other clients

Add the server address as a remote HTTP server in the client’s MCP settings. In Cursor, the entry in mcp.json looks like this:

{
  "mcpServers": {
    "biocompile": { "url": "https://app.biocompile.com/api/v1/mcp" }
  }
}

Any client that supports remote MCP servers with OAuth sign-in works the same way.

Sign in and approve access

The first time the assistant connects, it opens Biocompile in your browser:

  1. Sign in to Biocompile if you are not signed in already. Result: a page asking you to connect the assistant to Biocompile opens, with the assistant’s name in its title.
  2. Check the address under “After you decide, you return to”. It must belong to the assistant you are connecting.
  3. Choose the organization the assistant may act in under Organization.
  4. Untick any permission under Permissions that the assistant does not need.
  5. Choose Approve. Result: your browser returns to the assistant, which shows its Biocompile tools.

The assistant renews its access by itself. Each access token lasts 10 minutes, and the assistant replaces it without asking you again.

Note: An assistant that registers itself shows as “Unverified application”. Its name is what the assistant says about itself, so continue only if you started the connection.

What the assistant can do

The assistant acts as you, only in the organization you chose and only with the permissions you approved. It never sees more than you can see. The server lists only the tools your approval allows:

ScopeTools
projects:readlist_organizations, list_research_projects, get_research_project
projects:writecreate_research_project, update_research_project, archive_research_project
entities:readlist_items, list_observations, get_observation, list_hypotheses, get_hypothesis, list_action_types, get_action_type, list_workbenches, get_workbench, list_drafts, list_contributions, get_contribution, get_project_version, list_item_revisions, get_item_revision
entities:writeopen_workbench, update_workbench, draft_actions, discard_draft, prepare_contribution
contributions:writecontribute
files:readlist_workbench_files, get_file, read_file
files:writeupload_file, rename_file, move_file, delete_file
agent:conversestart_agent_conversation, list_agent_conversations, send_agent_message, respond_to_agent, get_agent_turn, read_agent_conversation
runs:readlist_executables, get_executable, list_runs, get_run, get_run_logs, list_computes, get_compute
runs:executeinvoke_executable, plan_executable_invocation, invoke_plan, cancel_run, list_sandboxes, and one tool per analysis in your organization’s catalog
runs:execute and spending:approveapprove_plan_spending

The catalog tools are the analyses you can run yourself. The assistant’s own tools, such as figure drafting and pipeline setup, are not offered as tools. Biocompile’s assistant still has them inside a conversation you start.

Some analyses run in a sandbox. list_sandboxes lists the sandboxes you can run in, with each one’s slug, name, status and stack status. Pass a slug as sandbox_slug to invoke_executable, plan_executable_invocation or the analysis’s own tool. Prefer a sandbox whose stack status is current, because a run on a deprecated or retired stack may fail. A sleeping sandbox has its disk archived, and running in it restores the disk.

Connecting at all needs projects:read. Each tool tells your client whether it only reads, changes or deletes something, so the client can ask you before a tool that changes data.

List tools return a short summary of each item a page at a time, and the assistant opens the item it needs with the matching tool, for example get_run. A tool refuses arguments it does not take, or values outside its limits, and says which argument to fix.

Changes to projects

The assistant drafts changes to research records and files in one of your workbenches, bound to the project. Nothing changes for anyone else until the drafts are contributed. With contributions:write, the assistant can contribute them for you: they merge into the project at once, and the decision is recorded as yours. Grant that permission only to an assistant you want to make that decision. Without it, you contribute the drafts in the app.

Spending

Without spending:approve, the assistant cannot approve spending. It can still plan an analysis and quote its cost, and you approve the run in the app. With spending:approve, it can approve the quoted spending of a plan and start it. Your organization’s paid-tool setting, credit balance and usage limits still decide, as in the app.

Talking to the Biocompile agent

With agent:converse, your assistant can hand research work to Biocompile’s own assistant: it starts a conversation, optionally in a research project, sends a message and waits up to two minutes for the reply. A longer turn goes on in Biocompile, and your assistant can check on it later. The conversation behaves as it does in the app. Biocompile’s assistant can run code in your sandboxes, write files and run analyses as you, so agent:converse is a Sensitive scope.

The tools that start a conversation or send a message also take a sandbox, Knowledge Atlas file attachments and a model choice, as the app’s chat does.

When the assistant needs an answer, for example to approve a plan or spending, the turn stops. Your assistant answers with respond_to_agent, which takes the decision the turn offers. Each decision needs the scopes the turn names, and approving a paid analysis also needs spending:approve. These are your decisions, so your assistant should ask you first. A request that only Biocompile can take, such as network access, you answer in the app. With spending:approve as well, your assistant can open a conversation in Auto Mode, where your Auto Mode settings answer those approvals.

Your assistant can also ask for each tool call’s arguments and results when it reads a turn or a conversation. See Answer what the assistant asks.

The assistant lists the conversations it may continue: an app you connected sees those it opened, and your personal access tokens see those any of your tokens opened. Your conversations from the Biocompile app are never listed. The agent’s replies come as plain text, with references to your records written as their ids, for example rp_ab12cd.

Files

The file tools work on your Knowledge Atlas files in the organization you chose. You read what you can see and change only your own files. delete_file moves an item to the trash, and no tool restores it.

Disconnect an assistant

Every approval appears in Settings → Connected apps, with its permissions, organization and last use. Choose Disconnect to revoke it. Result: Biocompile shows “App disconnected”, and the assistant loses access on its next request.

Biocompile also revokes an approval by itself when it sees a copied refresh token or a replayed sign-in, and when you leave the organization.

Limitations

The MCP server has fixed limits per call:

What is limitedLimitWhat to do instead
Text returned by read_file150,000 bytes per callRead further with offset
Other files returned by read_file768 KiBDownload the file through the API or open it in the app
File sent by upload_file10 MiBUpload larger files through the API or the app
One MCP messageAbout 15 MBSplit the work into several calls
One tool result200,000 charactersRead the next page; a larger item comes back with its largest parts summarised

The server answers each request on its own and keeps no session. It accepts browser requests only from Biocompile itself, so connect from a desktop or command-line client.

Common questions

Can an AI assistant change my project without my approval?

No, unless you approve contributions:write. Without it, the assistant only drafts changes in a workbench, and you contribute them in the app.

Do MCP tool calls cost credits?

No. Tool calls are not billed. The analyses and paid tools a call starts, and the Biocompile agent’s work in a conversation, are charged as credits, exactly as in the app.

Which AI assistants can connect to Biocompile?

Any MCP client that supports remote HTTP servers with OAuth sign-in, including Claude Code, Claude Desktop, Cursor and VS Code.

Controller: Biocompile, Inc.

Your first project starts here.

Free to start, with credits included.

We use this address to prefill your signup. A founder may email you once to help you get started. No newsletter. Privacy Policy

Already have an account? Sign in