Let your AI assistant use GitHub, Gmail, your calendar and 130+ other services, while you decide exactly what it's allowed to do.
Assistants like Claude Code connect to your accounts through MCP servers: plug-ins that give the assistant tools such as "list my issues" or "send an email". Most of them hand the assistant your full login and every tool the service has. Constellation does it differently. Each service runs in its own small, locked box called a sat (short for satellite), and the sat only lets through what you allowed.
- Pick what it can do. Read only, read and write, or hand-pick tools. Anything you didn't pick is blocked.
- Fence it in. Limit a sat to the accounts or repositories you choose, so "close an issue" can't reach the wrong repo.
- Approve the risky stuff. Mark tools like "send email" to ask you in Claude Code before they run, every time.
- Keep your keys safe. Sign-ins are saved in your system keychain, and each sat can only talk to its own service's servers.
- Docker , installed and running. Docker Desktop is fine.
- Go 1.26 or newer (download ). It's only used to build the
satcommand. - Claude Code , or any other app that supports MCP.
git clone https://github.com/madelinecameron/constellation
cd constellation
make install
This puts the sat command in ~/go/bin. If your terminal then says sat: command not found, add that folder to your PATH:
export PATH="$HOME/go/bin:$PATH" # also add this line to ~/.zshrc or ~/.bashrc
Keep the folder you cloned. sat builds your sats from it.
sat init github --name github-issues
sat asks a few questions in your terminal: which GitHub accounts and repositories the sat may touch, and how much it may do (read only, read and write, or let me pick). The first run takes a little longer while it builds the sat.
Not sure what's available? sat connectors lists every service and sat connectors mail searches them. Or run sat init on its own and pick from a list.
sat auth github-issues
For GitHub this opens the page that creates a token, with the right permissions already ticked. Create it, paste it back, and sat checks that it works before saving it.
sat up
sat connect claude-code
Restart Claude Code (or run /mcp) and the tools appear under sat-github-issues. Try asking: "What issues are open in my repo?"
Using a different app? sat connect --json prints the settings to paste into any MCP client.
| You want to… | Run | |---|---| | See your sats and whether they're running | sat ls | | Start them | sat up | | Stop them | sat down | | Sign in again | sat auth <name> | | See exactly what a sat allows | sat inspect <name> | | Delete a sat and its saved sign-in | sat rm <name> | | Browse services | sat connectors [search] |
Add --help to any command to see its options.
sat edit github-issues
sat up github-issues
sat edit asks the same questions again, starting from your current answers. If a change would give the sat more access, it says so and asks before saving, with "no" as the default.
Want finer control, such as approval on specific tools or limits on the values a tool accepts? Add --advanced to sat init or sat edit.
Some services, like Google Calendar and Gmail, don't take a pasted token. They need an OAuth app: a small registration in your own developer account that lets sat sign you in. You set one up once per provider, and every later sat reuses it. sat auth tells you where to go.
For Google:
- In the Google Cloud console , create an OAuth client ID of typeDesktop app . Desktop apps don't need a redirect URL.
- Under Audience , add your Google account as a test user. Until you do, Google refuses the sign-in.
- Enable the API the sat uses, for example the Google Calendar API, in the same project.
- Paste the client ID and secret when
sat authasks.
Running sat on another machine over SSH? Sign-in finishes by sending your browser to http://127.0.0.1:8976, which has to reach the machine running sat auth. Connect with ssh -L 8976:127.0.0.1:8976 <host> and run sat auth in that session.
A sat stops your assistant from doing anything through that service that you didn't allow: calling tools you didn't pick, reaching outside the accounts you fenced it to, or skipping an approval. It also stops the sat from sending your data anywhere except the service itself.
It doesn't sandbox the assistant. An assistant that can run commands in your terminal, as you, can still read what you can read, including your saved sign-ins. If that matters for your setup, limit what the assistant can run as well. More detail.
sat: command not found: add~/go/binto your PATH (seeInstall ).- The browser says it can't connect after you approve a sign-in : you're probably running
saton another machine. See the SSH tip above. - Google says "access blocked" or "app not verified" : add your account as a test user underAudience .
- "connector does not match sat.lock" : the service's connector was updated since you set up the sat. Run
sat edit <name>to review what changed, thensat up <name>. - A sat won't start :
sat upprints its last log lines. They usually name the problem.
- Ready-made sats you can copy and use
- Every command and option
- Approving tool calls
- Where sign-ins are saved , including HashiCorp Vault for teams
- How network access is limited
- How a sat works inside
- Talking to a sat directly with curl
- Building and contributing
Your sats and settings live in ~/.config/constellation.
原文来源:github.com