Connect Gemini CLI to Beamline
Beamline's MCP server: https://mcp.beamline.io/mcp (remote, Streamable HTTP, OAuth sign-in).
- Add the server. In any terminal.
gemini mcp add --scope user --transport http beamline https://mcp.beamline.io/mcp - Sign in. Type /mcp auth beamline in Gemini CLI: Google, GitHub or an e-mail code.
- Connect each app. Once per app folder. Every later session there uses Beamline without being asked.
npx --yes -p https://mcp.beamline.io/cli.tgz beamline-connect --hosted https://mcp.beamline.io/mcp
Or send Gemini CLI this message
Set up Beamline for this app, so you build its UI from Beamline's React components.
1. Add the MCP server: run `gemini mcp add --scope user --transport http 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 auth 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.