---
title: "Connect Claude Code — genetics docs"
url: https://genetics.sh/en/docs/install/
lang: en
updated: 2026-09-30
---

Get started

-   [What is genetics](https://genetics.sh/en/docs/)
-   [How it works](https://genetics.sh/en/docs/how-it-works/)
-   [Quickstart](https://genetics.sh/en/docs/quickstart/)

Install

-   [Connect Claude Code](https://genetics.sh/en/docs/install/)
-   [Connect Cursor](https://genetics.sh/en/docs/install/cursor/)
-   [Other tools](https://genetics.sh/en/docs/install/other-tools/)

Using genetics

-   [Upload and resume conversations](https://genetics.sh/en/docs/guides/sessions/)
-   [Decisions and problems met](https://genetics.sh/en/docs/guides/decisions/)
-   [Finding, and the line that shows up first](https://genetics.sh/en/docs/guides/recall/)
-   [Sending documents to clients](https://genetics.sh/en/docs/guides/client-documents/)

Administration

-   [Workspace, members and folders](https://genetics.sh/en/docs/admin/)

Security and data

-   [What goes up, and who sees it](https://genetics.sh/en/docs/security/)
-   [Turning it off and deleting](https://genetics.sh/en/docs/security/turn-off/)

Help

-   [FAQ](https://genetics.sh/en/docs/faq/)

**Documentation menuInstall · Connect Claude Code**

Get started

-   [What is genetics](https://genetics.sh/en/docs/)
-   [How it works](https://genetics.sh/en/docs/how-it-works/)
-   [Quickstart](https://genetics.sh/en/docs/quickstart/)

Install

-   [Connect Claude Code](https://genetics.sh/en/docs/install/)
-   [Connect Cursor](https://genetics.sh/en/docs/install/cursor/)
-   [Other tools](https://genetics.sh/en/docs/install/other-tools/)

Using genetics

-   [Upload and resume conversations](https://genetics.sh/en/docs/guides/sessions/)
-   [Decisions and problems met](https://genetics.sh/en/docs/guides/decisions/)
-   [Finding, and the line that shows up first](https://genetics.sh/en/docs/guides/recall/)
-   [Sending documents to clients](https://genetics.sh/en/docs/guides/client-documents/)

Administration

-   [Workspace, members and folders](https://genetics.sh/en/docs/admin/)

Security and data

-   [What goes up, and who sees it](https://genetics.sh/en/docs/security/)
-   [Turning it off and deleting](https://genetics.sh/en/docs/security/turn-off/)

Help

-   [FAQ](https://genetics.sh/en/docs/faq/)

Install

# Connect Claude Code

If you have attached an MCP server before, this works the same way. One thing differs: a genetics workspace has to exist first, and workspaces open from the waitlist as places open.

[Markdown copy](https://genetics.sh/en/docs/install/index.md)

## One line

Terminal

```
claude mcp add --scope user genetics \
  -e GENETICS_API_BASE=<your workspace URL> \
  -- npx -y genetics-mcp@latest
```

`<your workspace URL>` is the address of your workspace. The install screen inside the workspace gives each tool the line with the address already filled in.

## Why the address travels with it

Warning

**Without the address, sign-in does not work.** The only address genetics-mcp knows is the one in this line; the package ships no default address.

## Keep the version at latest

`npx -y …@latest` fetches the newest version every time it runs — that is how a fixed version reaches your machine. Pinning a version number also freezes rollbacks there.

## Verify the install

Terminal

```
npx -y genetics-mcp@latest --version
```

If a version number prints, it is installed. Then check with the first upload in the [Quickstart](https://genetics.sh/en/docs/quickstart/).

## Windows

MCP clients on Windows cannot launch the extensionless `npx` directly, so choosing Windows on the install screen gives a line shaped like `cmd /c npx …`.

## What gets uploaded once installed

-   A person does the first upload. After that, lines added to the same conversation are sent by the connected AI tool whenever the server copy has fallen behind.
-   If an admin confirms the folder for a client in the portal and turns automatic upload on, conversations newly opened in that folder go up with no one uploading them.
-   Text that looks like a secret is masked and attachments are left out before anything goes up.
-   To keep one machine out, pass `GENETICS_NO_AUTO_PUSH=1` at install — [Turning it off and deleting](https://genetics.sh/en/docs/security/turn-off/).

## Terms of use

genetics-mcp is published on npm, but publication is not a license. All rights are reserved; copying, modifying and redistributing are not permitted. There is one way to use it — with a genetics workspace.

[Previous**Quickstart**](https://genetics.sh/en/docs/quickstart/) [Next**Connect Cursor**](https://genetics.sh/en/docs/install/cursor/)

On this page

-   [One line](https://genetics.sh/en/docs/install/#line)
-   [Why the address travels with it](https://genetics.sh/en/docs/install/#address)
-   [Keep the version at latest](https://genetics.sh/en/docs/install/#latest)
-   [Verify the install](https://genetics.sh/en/docs/install/#verify)
-   [Windows](https://genetics.sh/en/docs/install/#windows)
-   [What gets uploaded once installed](https://genetics.sh/en/docs/install/#uploads)
-   [Terms of use](https://genetics.sh/en/docs/install/#license)
