All AI app guides

Developer agents

Connect GitHub Copilot to Brickway

Connect through Copilot CLI's direct remote-server flow, or add the same endpoint to VS Code for Copilot Chat.

Set up GitHub Copilot

Brickway remote MCP server

https://api.brickway.app/mcp
  1. For Copilot CLI, run the command below. It saves Brickway to your user MCP configuration.
  2. Open Copilot CLI and run `/mcp auth brickway`, then complete Brickway sign-in, collection selection, and default selection in the browser.
  3. Run `/mcp list` to confirm the read-only tools are connected, then ask a collection question.
  4. For VS Code instead, run MCP: Add Server from the Command Palette, choose HTTP, enter the same URL, save it to your user profile, and authenticate when the server starts.

Terminal

copilot mcp add --transport http brickway https://api.brickway.app/mcp

Copilot CLI and local VS Code are the paths covered here. GitHub's cloud coding agent and code review do not currently support remote OAuth MCP servers, so they cannot use this per-user Brickway connection.

What happens during authorization

The AI app opens Brickway in your browser. Brickway shows the requesting application and its exact return address, then asks you to sign in and choose which collections it may read. The AI app receives a Brickway-only MCP credential—never your Brickway sign-in token or Supabase session.

Never paste an API key, Supabase token, Brickway session, client secret, or custom Authorization header into the AI app. A compatible host discovers Brickway's public OAuth flow from the server URL.

What GitHub Copilot can ask

  • List only the collections you selected when connecting
  • Summarize sets, minifigures, ownership, build states, brands, and locations
  • Search your collection and inspect one item's safe catalog and build context
  • Find duplicate copies and collectible-minifigure series gaps
  • Compare LEGO theme progress and review bounded build history
  • Search Brickway's global LEGO and alt-brick set catalog

Prompts to try

  • Do I own Rivendell, and how many copies do I have?
  • Which sealed sets under 1,000 pieces could I build this weekend?
  • Show my duplicate sets and loose minifigures.
  • Which LEGO themes am I closest to completing?
  • Summarize what I built this year and how long it took.

Change access or disconnect

In Brickway, open Settings → AI connections. You can change this app's selected collections, disconnect it, or disconnect every AI app. Brickway revocation takes effect immediately even if GitHub Copilot still displays the old connection.

The AI app processes tool inputs and results under its own terms, retention, and training policies. Brickway excludes email addresses, household members, prices paid, sellers, acquisition sources, private notes, OAuth details, and internal database fields. The connector cannot add, edit, or delete anything. Read Brickway's privacy policy for details.