# Connect Claude Code to Beamline

Beamline's MCP server: https://mcp.beamline.io/mcp (remote, Streamable HTTP, OAuth sign-in).

1. **Add the server.** In any terminal.

   ```bash
   claude mcp add --transport http --scope user beamline https://mcp.beamline.io/mcp
   ```
2. **Sign in.** Type /mcp in Claude Code, choose beamline, then Google, GitHub or an e-mail code.
3. **Connect each app.** Once per app folder. Every later session there uses Beamline without being asked.

   ```bash
   npx --yes -p https://mcp.beamline.io/cli.tgz beamline-connect --hosted https://mcp.beamline.io/mcp
   ```

Or send Claude Code this message:

```text
Set up Beamline for this app, so you build its UI from Beamline's React components.
1. Add the MCP server: run `claude mcp add --transport http --scope user beamline https://mcp.beamline.io/mcp`.
2. Connect this app: in its folder, run `npx --yes -p https://mcp.beamline.io/cli.tgz beamline-connect --hosted https://mcp.beamline.io/mcp`.
3. Ask me to type /mcp, choose beamline and sign in (Google, GitHub or an e-mail code).
4. When I say I'm signed in, call beamline_capabilities, read every part, and tell me Beamline is ready.
```

Then your agent reads what each of Beamline's 190 React components and screens is for (beamline_capabilities), installs only the parts a screen needs into your repo (beamline_install), as a ready-built package or as plain React source, and checks the result. Sign in once with Google, GitHub or an e-mail code: the free sample opens at once, and what your team bought comes with you.

Other agents: [Codex](https://beamline.io/connect/codex.md) · [Cursor](https://beamline.io/connect/cursor.md) · [Claude](https://beamline.io/connect/claude.md) · [VS Code](https://beamline.io/connect/vscode.md) · [Gemini CLI](https://beamline.io/connect/gemini.md) · [Windsurf](https://beamline.io/connect/windsurf.md) · [ChatGPT](https://beamline.io/connect/chatgpt.md) · [Any MCP client](https://beamline.io/connect/any.md)

- [What Beamline is](https://beamline.io/) · [The component library](https://beamline.io/components/) · [Docs](https://beamline.io/docs) · [Get Beamline](https://beamline.io/checkout?pack=complete)
