This builds on the org connection from AI Integrations, not the per-project
.mcp.json. One org connection reaches every app; you don’t add a connection per repo.Why this is different from the per-app flow
The per-app guides get you into one repo, and Run Your App Locally boots it withstardeck env pull (which needs an Admin API key and the CLI). The org connection folds both into MCP tools Claude calls for you:
| Per-app flow | Org connection | |
|---|---|---|
| Reaches | One app (its .mcp.json) | Every app in the org |
| Get the repo | You clone it yourself | get_repo_access mints a clone URL |
| Get the env to run | stardeck env pull + Admin API key | get_project_dev_env returns it |
| Setup per app | One .mcp.json per repo | None — one connection |
get_repo_access, get_project_dev_env) require a role with repo access on a read & write connection. See Tools & Permissions.
Before you begin
- An org AI connection authorized in Claude Code — see Connect Your AI Tool. The server URL is
https://www.stardeck.ai/api/mcp. - The connection bound to a role with repo access, authorized at the read & write level. Without it, the code tools don’t appear.
- Git and Claude Code on your machine, and Node for running the apps.
Each app must have agent development enabled for these tools to work on it. It’s on by default for every app — a per-app safeguard for apps that should never be pulled locally. A dashboard control to turn it off per app is coming; today it’s on for every app.
Pull an app
Just ask, in plain language, in your working directory:Clone our storefront app here so we can work on it.Under the hood Claude calls
get_repo_access with the app’s name, gets back a clone URL with a short-lived token embedded, and runs git clone. You end up with an ordinary local checkout on the app’s default branch.
Repeat for each app the work touches. Open them together in one Claude Code workspace (a parent folder holding each checkout works well) and Claude can read and edit across all of them in the same session.
Run an app locally
To boot one of the checkouts:Set up the storefront to run locally and start it.Claude calls
get_project_dev_env for that app and gets the variables it needs to run — its deployment identity and secret, the sandbox database URL, the control-plane URL (in both the VITE_/NEXT_PUBLIC_ forms client code reads), its data-store connections, and its custom env vars. Claude writes them to .env.local, installs dependencies, and runs the dev server.
The result: the apps a change spans, all checked out and running against their live sandbox data, with Claude editing across them in one conversation — the same loop you’d build by hand pulling repos locally, without the per-repo setup.
Shipping changes
The git rules are the same as the single-app flow, and worth re-reading: Stardeck agents commit straight tomain, and the sandbox doesn’t auto-pull your pushes — you load a pushed commit into the sandbox from the dashboard’s git history tab. See Working alongside the Stardeck agent for the branch-and-merge workflow, and apply it per repo.
Seeing the whole system
Once you’re working across apps, the System Map in your dashboard shows how they connect — which app calls which, what reads which data store — so you can see the shape of what you’re changing before you change it.Next steps
Connect Your AI Tool
Authorize the org connection Claude uses to reach every app
Tools & Permissions
The repo-access and dev-environment tools, and the role that unlocks them
System Map
See how the apps you’re working on connect
Run a Single App Locally
The one-app flow with the CLI and an Admin API key