Brewale docs
One command connects Claude Code, Codex CLI, Cursor, VS Code or Zed to your team's skills, connectors and conventions.
npx brewale
Quickstart — your first connection
Zero to a working, verified agent connection in about five minutes. Four steps, one command, no credit card.
Create your org
Sign up at brewale.dev with email/password or Google — no card. Then create an organization: the container for your skills, conventions, tokens, and members.
Share your first skill
A skill is a recurring task written down so any agent can load it when it needs it. Once your agent is connected (step 03), ask it to capture something your team just solved:
We just solved <X>. Propose a Brewale skill capturing how — call skill_authoring_guide first, then create_skill.
It calls skill_authoring_guide, then create_skill. The draft waits under Skills → Needs review until someone on your team
approves it in Brewale; then every connected agent can load it within ~5 seconds. No repository
needed.
With GitHub sync on…
GitHub sync is optional. Under Settings → GitHub sync, install the Brewale GitHub App and pick a repository (with an optional base
path). Push a conventions.md and skills/{slug}/SKILL.md to the default branch and Brewale syncs and publishes them.
Approving an agent's proposal then also commits it back to your repo, or opens it as a pull request to review on GitHub first. In Brewale-only mode, approving publishes straight to Brewale and you export as markdown anytime.
Connect your agent
npx brewale
The installer detects Claude Code, Codex CLI, Cursor, VS Code, and Zed and writes the
MCP config for https://mcp.brewale.dev/mcp. Auth is OAuth 2.1 by default: your browser opens, you sign in, pick the org, and
consent — no token to copy. With separate consent it also adds a managed instruction
block to your CLAUDE.md / AGENTS.md so agents actually call Brewale.
Alternates: --auth token for API keys, or for any Streamable-HTTP MCP client.
Verify
Start a session. A well-configured agent calls get_conventions at session start (that's what the instruction block is for) and list_skills / get_skill on demand.
Verify it worked
npx brewale status for a read-only health report with a connectivity probe — or ask your agent “what conventions
apply here?” and watch get_conventions fire.Setup time is untimed — your 14-day trial starts on your org's first MCP call, not at signup.
What your agent can do now
get_conventions readlist_skills readget_skill readget_skill_file readcreate_skill proposescreate_convention proposes — drafts only; a human reviews and publishes.+ tools from connectors your org publishes, as cmcp__<short name>__<tool>, once the agent reconnects.
Everything an agent gets flows through this one connection — and you can revoke it in one click. See .
How Brewale works
Three things your team shares, one connection, every agent.
- Skills
- Shared with the team, fetched on demand:
list_skills,get_skill. - Connectors
- Your MCP servers with per-tool access:
cmcp__…. - Conventions
- Loaded at session start:
get_conventions.
mcp.brewale.dev/mcp
one connection
- Claude Code
- Codex CLI
- Cursor
- VS Code
- Zed
What it can do
Read what's published, call the connector tools you allow, and propose. Agents can draft new skills and conventions over MCP, but nothing is served to anyone until a person approves it. Agents never publish.
Who is connected
People connect with OAuth 2.1 or an org-scoped API key; machines get service accounts. Every call is attributed in analytics, and every connection can be cut in one click.
It's your knowledge. Brewale serves it, you keep the files.
With GitHub sync on, your repo is the source of truth — every published version maps to a commit SHA. Prefer no repo? Author and publish in Brewale and export your files as markdown anytime. Either way, full version history lives in the app and you can leave whenever, files in hand.
Skills
Recurring tasks written down once, loaded by any agent on the team when it needs them.
Skills & skill bundles
The on-demand half: reusable knowledge documents your agents pull only when relevant.
Anatomy
Each skill is a skills/{slug}/SKILL.md with optional YAML frontmatter — name, description, and category. The description is what agents see in list_skills, so write it as a trigger: “Use when…”.
--- name: "Release checklist" description: "Use when preparing or verifying a production release." category: "devops" --- Your skill content in markdown…
Categories: code_style, testing, architecture, git_workflow, security, performance, api_design, documentation, devops, other.
Bundles
A skill directory can also carry references/, scripts/, and templates/. Agents fetch individual bundle files on demand via get_skill_file — big skills stay cheap, because only what's needed enters the context window.
Lifecycle & per-user control
- Push → auto-sync → published. Per-version history by commit SHA; unpublish from the UI without touching the repo. Every version has its own link, so you can point a teammate at exactly the one you mean.
- Archive, don't delete. Archiving a skill stops serving it to agents within ~5 seconds and moves it to the Archived list — Restore brings it back with its history.
- In your slash menu. Every skill your agent
can use is also an MCP prompt you can run yourself — in Claude Code as
/mcp__brewale__{slug}. With they show up as plain/{slug}commands instead. - “Enabled for me”. Every member has a
per-skill toggle — disabled skills disappear from that member's
list_skills. A personal preference, not an org-wide state. - Agents can also draft new skills — see — and per-skill show whether each one earns its keep.
Personal skills
Skills don't have to belong to the org. Ask your agent for a private skill and it calls create_skill with visibility: "personal" — the skill is tied to your account instead, and you review and publish it yourself under Account → My skills.
- Only your agents see it. Personal skills are
served exclusively to your own connections, listed as
p:{slug}inlist_skills— never to other members. - Available in all your orgs. One personal skill follows you across every organization you belong to, with a per-org switch to turn it off where it doesn't fit.
- Brewale-only. Personal skills are never synced to a GitHub repo — download any of them as a zip from Account → My skills.
Local skills
npx brewale sync writes your skills into each agent's own skills folder. Agents see every skill from the first
message of a session, without a tool call to find them, and each skill shows up as a plain /{slug} command.
Set up a computer
Log in once per computer, then sync. Login opens your browser, where you pick an
organization and approve the computer. On a machine without a browser, open the link on
another device and run the --code command it shows. Run sync from the repository root to also get that project's skills.
npx brewale login npx brewale sync
Or ask your agent to “update my local skills”.
It calls sync_local_skills and runs the one-time npx brewale sync --code … command it gets back — or hands it to you, if its sandbox can't write to your home folder.
The code works once and expires after 5 minutes.
Staying up to date
- Claude Code. Setting up local skills with
npx brewaleadds a session-start hook to~/.claude/settings.jsonthat syncs quietly each time a session starts. - Other agents. When skills were added or
changed since your last sync, Brewale tells your agent as it loads your conventions,
and the agent offers to update. You can also run
npx brewale syncany time.
Live or Copy
Admins pick the default under Settings → Skills & conventions → Delivery.
Anyone can override it for their own computer with npx brewale sync --mode live or --mode copy.
Where the files go
| Set | Holds | Folders |
|---|---|---|
| Global | Org-wide skills, skills from projects you subscribe to, and your personal skills | ~/.claude/skills (Claude Code) · ~/.agents/skills (Codex CLI) · ~/.cursor/skills (Cursor) |
| Project | Skills scoped to the repository's project (when your org uses Projects), run from inside the repository | .claude/skills (Claude Code) · .agents/skills (Codex CLI, Cursor, VS Code) at the repository root |
- Only folders for agents found on the computer are written. Zed has no skills folder and keeps using the MCP prompts.
- Project folders are hidden from git through
.git/info/exclude— nothing is committed, and teammates' checkouts are untouched. - Sync only creates, updates and removes folders it wrote itself. A folder of your own with the same name is left alone, with a warning.
Devices
Every computer you log in from is listed under Account → Devices, with its organization and last sync. Its key only works for syncing, not as an MCP connection. Removing a device stops its sync within ~5 seconds; files already written stay on the computer. When a member is removed from the organization, their devices go too: live skills stop loading, while copied files stay on disk.
Skills over MCP
Brewale also publishes your skills through the MCP Skills extension, the open standard for serving Agent Skills from an MCP server. An agent that supports it lists your skills and loads them, bundled files included, the way it loads skills from a local folder: no tool call to find them and nothing to sync.
Addresses
- Organization skills:
skill://org/{name}/SKILL.md - Your personal skills:
skill://personal/{name}/SKILL.md - Bundled files sit next to the skill, for
example
skill://org/{name}/references/checklist.md
{name} is the skill's slug. A slug with characters the standard doesn't allow (capitals, underscores,
dots) gets a short suffix so it stays unique.
What agents get
- The same skills as the skill tools. Personal skills reach only you, opted-out skills stay hidden, and project skills appear when the connection is scoped to that project (Projects is enabled per organization).
- Verifiable files. Every file comes with a SHA-256 digest and size, so the agent can check that what it loads is what Brewale listed.
- Current versions. Published changes are served within ~5 seconds; an agent may keep its list of skills for up to a minute before asking again.
Today
Support in agents is still rolling out. Until yours supports it, nothing changes: the
skill tools and local skills work as before. In Claude Code, your skills already show up
as resources you can attach with @. Reads through this route show in analytics as Skill resource.
Connectors — your MCP servers
Connect the MCP servers your team already uses and serve their tools through the same Brewale connection — deciding tool by tool what agents may do. Off by default: an admin turns on Allow custom MCP connectors under Settings → Connectors.
Set one up (admins)
- Settings → Connectors → Add connector: a name, a short name, and the server's public https URL.
- Choose how people authenticate: one shared credential for the whole org, each person connects their own token, each person signs in with OAuth, or no authentication.
- Choose who decides what tools can do: one set of rules for everyone, or each person gets their own — optionally only stricter than yours.
- The connector starts as a draft members can't see. Refresh its tools, allow or deny read, write, and delete, switch off or reclassify individual tools, then Publish.
Use one (members)
- Connectors in the sidebar lists every published connector. Switch on Enabled for me, and sign in or add your token where the connector asks for one. Admins decide whether a connector starts on for everyone.
- Agents call its tools as
cmcp__<short name>__<tool>. Changes reach an agent once it reconnects. - Admins can revoke one person's access to a connector, and restore it, from the connector's page.
Project connectors
With enabled for your org, a project can have its own connectors — say, a different account per repo. Add them from the project's page with Add connector, or Copy from org to reuse an org connector's setup without its credentials.
- Everyone connects their own account. Project connectors can't use one shared credential.
- The closest one wins. A connection scoped
with
?project_id=owner/repogets that project's connectors. One with the same short name as an org connector replaces it there, so tool names stay the same in every repo. Unscoped connections get org connectors plus those from projects you switched on under Settings → What agents get; if two of those share a short name, each gets its repo name appended. - Who manages them. Admins manage every project connector. Turn on Let members add project connectors in Settings → Connectors and any member can add one — they manage what they add, it starts switched off for everyone else, and only admins can replace an org connector.
Conventions
The always-on half of the content model: one conventions.md at the repo root (or under your configured base path), served whole by get_conventions — which well-configured agents call at session start and before edits. That's exactly what
the CLI's instruction block enforces.
Every push creates a new version tied to the commit SHA — history and one-click unpublish live in the app under Conventions. Archive a convention to stop serving it without losing it, and restore it from the Archived list anytime.
Not loading? Check the file lives at the configured base path and review the sync history under Settings → GitHub sync — or jump to .
Connect agents
Every way an agent, a person or a machine signs in to Brewale.
CLI reference — npx brewale
The installer the quickstart just ran, in full. It shows you the exact bytes before writing anything, and re-running is idempotent.
Commands
npx brewale | Interactive setup (alias: init) |
npx brewale status | Read-only health report + connectivity probe (alias: doctor) |
npx brewale login | Connects this computer for local skills: approve it in the browser for one organization |
npx brewale sync | Writes your skills into each agent's skills folder (see Local skills) |
npx brewale logout | Forgets the local skills login on this computer |
npx brewale uninstall | Removes the config entries, instruction blocks, local skill folders and session hook it added |
Flags
--agent <ids> | claude-code (alias claude), codex, cursor, vscode (alias code), zed — repeatable or comma-separated. Default: detected agents. |
--project / --global | Config scope (default: project). Codex CLI MCP config is always global. |
--local | Claude Code only: stored in ~/.claude.json for this repo, nothing written to the repo. The right choice for trying Brewale without touching a shared .mcp.json. |
--auth <oauth|token> | Default oauth (recommended — no secret stored anywhere). |
--token <tok> | Brewale API key. Warning: flags can end up in shell history. |
--token-stdin | Read the token from stdin — the safe option for CI. |
--project-id <owner/repo> | Scope the connection to a Brewale project. Default: derived from the git remote and confirmed. |
--no-project-id | Don't scope to a project; skip the git-remote prompt. |
--no-instructions / --instructions-only | Skip, or only manage, the CLAUDE.md / AGENTS.md instruction block. |
--yes / -y | Accept defaults; required when stdin isn't a TTY. |
--dry-run | Preview everything, write nothing. |
--url <mcp-url> | Advanced: non-default server URL. |
--no-verify | Skip the post-install verification probe. |
--quiet / --verbose | Less / more output. |
--code <code> | sync: log in with a one-time code from the approval page or from your agent. Works once, expires in 5 minutes. |
--mode <live|copy> | sync: override your organization's default delivery for this computer. Remembered for later syncs. |
--global-only | sync: only write the skills that apply everywhere; skip this repository's project skills. |
The trust surface
- Shows the exact bytes (or the exact command) before writing anything.
- Idempotent — re-running never duplicates config or instruction blocks.
- Managed markers: one block between
<!-- brewale:start -->and<!-- brewale:end -->— content outside them is never touched. - Token auth writes env-var references (
${BREWALE_MCP_TOKEN}) into project files, never raw tokens. - All terminal output passes a secret redactor. Zero telemetry.
What we write where
| Agent | Target | Notes |
|---|---|---|
| Claude Code | ./.mcp.json (project) · ~/.claude.json (user & local, via claude mcp add) | Token auth in project files is an env-var reference (${BREWALE_MCP_TOKEN}) — the raw token is never written to the repo. |
| Codex CLI | ~/.codex/config.toml (via codex mcp add — always global) | Token auth passes only the env-var name, never the value. |
| Cursor | ./.cursor/mcp.json · ~/.cursor/mcp.json | Token auth references ${env:BREWALE_MCP_TOKEN} at both scopes. |
| VS Code | ./.vscode/mcp.json (project) · user profile via code --add-mcp | Project token auth uses a ${input:brewale-token} password prompt — VS Code asks once and stores the value outside the repo. |
| Zed | ./.zed/settings.json · ~/.config/zed/settings.json | Settings are JSONC and edited comment-preservingly. Zed has no env-var interpolation, so token auth is refused at project scope (it would commit the token) and stored with a warning globally. |
| Instructions | CLAUDE.md / AGENTS.md (with separate consent) | One managed block between <!-- brewale:start --> and <!-- brewale:end --> markers. Content outside the markers is never touched. |
Verify it worked
npx brewale status is always safe to run — read-only, with a connectivity probe against the Brewale server.Manual setup — any MCP client
For clients the CLI doesn't cover, and for people who prefer editing JSON themselves.
https://mcp.brewale.dev/mcp Streamable HTTP · works with any MCP client that supports remote serversOAuth 2.1 (recommended)
{
"mcpServers": {
"brewale": {
"type": "http",
"url": "https://mcp.brewale.dev/mcp"
}
}
}API key (Bearer token)
{
"mcpServers": {
"brewale": {
"type": "http",
"url": "https://mcp.brewale.dev/mcp",
"headers": {
"Authorization": "Bearer ${BREWALE_MCP_TOKEN:-}"
}
}
}
}Project scope lives in .mcp.json at the repo root. User scope goes through `claude mcp add --scope user` into ~/.claude.json — there is no ~/.claude/mcp.json.
OAuth 2.1 (recommended)
{
"mcpServers": {
"brewale": {
"url": "https://mcp.brewale.dev/mcp"
}
}
}API key (Bearer token)
{
"mcpServers": {
"brewale": {
"url": "https://mcp.brewale.dev/mcp",
"headers": {
"Authorization": "Bearer ${env:BREWALE_MCP_TOKEN}"
}
}
}
}Env-var interpolation needs Cursor 1.6 or newer; older versions need the raw token pasted into a user-scope file instead.
OAuth 2.1 (recommended)
{
"servers": {
"brewale": {
"type": "http",
"url": "https://mcp.brewale.dev/mcp"
}
}
}API key (Bearer token)
{
"inputs": [
{
"id": "brewale-token",
"type": "promptString",
"password": true,
"description": "Brewale MCP token"
}
],
"servers": {
"brewale": {
"type": "http",
"url": "https://mcp.brewale.dev/mcp",
"headers": {
"Authorization": "Bearer ${input:brewale-token}"
}
}
}
}VS Code asks for the token once on first server start and keeps it outside the repo. Global installs go through `code --add-mcp`.
OAuth 2.1 (recommended)
{
"context_servers": {
"brewale": {
"url": "https://mcp.brewale.dev/mcp"
}
}
}API key (Bearer token)
{
"context_servers": {
"brewale": {
"url": "https://mcp.brewale.dev/mcp",
"headers": {
"Authorization": "Bearer lore-mcp_your-api-key"
}
}
}
}Zed has no env-var interpolation, so keep token auth in the global settings file only — in a project-scoped .zed/settings.json the token would end up committed.
OAuth 2.1 (recommended)
codex mcp add brewale --url https://mcp.brewale.dev/mcp
API key (Bearer token)
export BREWALE_MCP_TOKEN=lore-mcp_your-api-key codex mcp add brewale --url https://mcp.brewale.dev/mcp \ --bearer-token-env-var BREWALE_MCP_TOKEN
Codex MCP config is always global, in ~/.codex/config.toml — only the env-var name is stored, never the value.
OAuth 2.1 (recommended)
Server URL: https://mcp.brewale.dev/mcp Transport: Streamable HTTP Auth: OAuth 2.1 — discovered via /.well-known/oauth-protected-resource
API key (Bearer token)
Server URL: https://mcp.brewale.dev/mcp Transport: Streamable HTTP Auth header: Authorization: Bearer lore-mcp_your-api-key
Any MCP client that supports remote servers over Streamable HTTP works. OAuth-capable clients need only the URL — discovery and Dynamic Client Registration handle the rest.
To scope a connection to a project, append ?project_id=owner/repo to the URL — see .
Verify it worked
get_conventions call is the confirmation.Authentication
Two ways in: OAuth 2.1 for humans in editors, org-scoped API keys for CI and clients
without OAuth support. Both arrive on the Authorization header.
OAuth 2.1 (recommended)
- The client hits
/mcpwithout credentials and gets a401with aWWW-Authenticatechallenge. - It discovers the authorization server via
/.well-knownmetadata. - Dynamic Client Registration (RFC 7591) means no pre-registration — any client self-onboards from just the URL.
- Your browser opens: sign in, pick the organization, grant consent.
- The code is exchanged for short-lived JWTs verified via JWKS, refreshed via
offline_access.
Scopes: mcp:read and offline_access. No long-lived secret is ever stored in an editor config.
API keys
Minted under Settings → API Keys: name,
optional expiry, lore-mcp_ prefix. Shown exactly once, hashed at rest, scoped to one organization, revocable individually.
Authorization: Bearer lore-mcp_your-api-key
Which one?
--token-stdin in the CLI.Who can cut what, within ~5 seconds
| Control | Where | What it cuts |
|---|---|---|
| Revoke one API key | Settings → API keys | Every connection using that key, within ~5 seconds. |
| Disconnect all MCP clients | Account page | Every OAuth grant across all your agents — each client must re-authenticate. |
| Sign out everywhere | Account page | All of your web sessions, including the current one. |
| Remove a device | Account → Devices | Local skills sync from that computer, within ~5 seconds. Files already written stay on it. |
| Mark a member inactive | Settings → People | That member's MCP access — web access stays, and on Pro they stop counting as a billed seat. |
| Remove a member | Settings → People | All of their MCP access to the organization. |
Service accounts
Machine identities that authenticate to MCP on behalf of your org — for shared bots, CI agents, and review automation, without tying the connection to a person.
Create them under Settings → Service accounts: a name, a visibility (private to the creator or org-wide so admins manage it), and bearer tokens with optional expiry. They authenticate via token or via the OAuth select-org “authorize as” flow. Each account keeps an authentication log and shows up in analytics like a member, so automated usage stays attributable.
A service account does not consume a billed seat.
Your org
Scope, sync, people, usage and billing.
Projects — scope what each agent sees
Opt-in: any org admin flips it on under Settings → Skills & conventions. One org, many repos, different standards — the right context flows to the right codebase.
- Scope in git. Skills and conventions declare
scope: general | projectin their frontmatter.generalcontent is always served; aprojectitem is served only to connections scoped to a project it's attached to, or to members who subscribed to that project — attachments are managed in the app, by agents, or, when GitHub sync is on, in . - Scope the connection. Append
?project_id=owner/repoto the MCP URL.npx brewalederives this from the git remote automatically (--project-id/--no-project-idto override), and any tool call can pass a per-callproject_idoverride for skills and conventions. Which an agent gets follows the connection URL only. - Agent-side tools (available when Projects is
on):
register_projectregisters a newowner/repokey,search_projectsfinds existing ones, andattach_to_project/detach_from_projectlink project-scoped skills and conventions to a project (admins and owners, or every member when an admin allows it). The Projects page in the web app lists them all. - Always-on projects. Under Settings → What agents get each member picks the projects whose skills and conventions their agents always receive, on top of the connection's project — and can switch off org-wide skills or conventions for themselves. Changes reach agents within ~5 seconds. With connectors on, a third column picks projects whose connectors you always get; those apply once your agent reconnects.
GitHub sync & repository structure
You own your skills
Connect (optional)
Settings → GitHub sync → install the Brewale GitHub App → pick a repository (switch anytime) with an optional base path. No repo? Skip it — author over MCP, publish in Brewale, and export everything as markdown from Settings → Organization whenever you want.
Sync
Pushes to the default branch sync incrementally via webhook — only changed files are processed. Sync Now forces a full manual pass, and a sync history shows the status, commit SHA, and any errors for every run.
Publishing & version history
The publish gate and commit-SHA pinning are the core control primitive: agents only ever see published content, and every published version maps to exactly one commit.
| New file | New published version. |
| Edit | New version, history kept per commit SHA. |
| Delete | Unpublishes — history is preserved. |
| Unchanged | No-op — identical content never creates a version. |
Repository layout
<base-path>/
├── conventions.md
├── projects.yaml
└── skills/
├── code-style/
│ └── SKILL.md
└── release-checklist/
├── SKILL.md
├── references/
├── scripts/
└── templates/SKILL.md frontmatter (all fields optional): name (defaults to the slug), description, category (defaults to “other”), and scope when Projects is enabled.
Approving an agent proposal commits through this same connection — or merges the proposal's pull request, if you opened one. One pipeline for human- and agent-written content.
Projects in your repo
When is enabled, Brewale keeps a projects.yaml at the base path: every project, its name, and the project-scoped skills and conventions
attached to it.
projects:
acme/web:
name: Acme Web
skills:
- release-checklist
conventions: []- Both ways. Attaching or detaching in the web app or over MCP commits the updated file. Editing the file and pushing to the default branch applies your change in Brewale, and agents get it within ~5 seconds.
- New and removed projects. A new project key in the file creates that project. Removing a project from the file detaches everything from it; the project itself is only deleted in Brewale.
- What can be listed. Only skills and
conventions with
scope: project. Entries Brewale can't apply, such as an unknown slug or an item withscope: general, are skipped and reported in the sync history. Brewale then rewrites the file to match what is actually attached. - Sync Now catches up on missed edits. It compares the file with the last version Brewale and the repo agreed on and applies only what was edited since, so a file nobody edited changes nothing. Right after you connect a repository or change its base path, there is no agreed version yet, and Sync Now only adds projects and attachments.
- Only Brewale's file. Brewale manages a
projects.yamlonly while it starts with the# Brewale projectscomment line. It never reads or overwrites a file without it.
Repo access means attach access
projects.yaml, whatever their role in Brewale. The “Members can attach to projects” setting only
applies in the web app and over MCP. Repo access already lets people change skill
content, so grant it with the same care.Members, roles & invitations
- Invitations. Settings → People → invite by email. The invitee gets a link, signs up (or in) and lands in the org — works with Google sign-in too.
- Ownership transfer. Owner-only, under Settings → Members.
- Removal. Removing a member revokes their org MCP access.
- Multiple orgs. One account can belong to several orgs. The org switcher picks context in the web app; OAuth consent picks which org a connection serves.
Inactive members
Analytics
The quickstart answers “is it connected?” — analytics answer “is the knowledge actually being used?”
- Org overview. 30-day summary cards compared with the previous 30 days, a calls-over-time chart, top skills, and a per-member table with drill-in to an individual member's usage.
- Agents in use. Sessions from the last 30 days, grouped by the client name each agent reports when it connects (blank names show as “Unknown client”), plus the share of sessions that loaded at least one skill. Session data starts being collected with this feature, so earlier activity doesn't appear, and a session only counts as loading a skill when the client sends the session id back on its later requests.
- How skills are loaded. Successful skill
lookups from the last 30 days, split by path: a local skill stub, the
get_skilltool, an MCP prompt, or a skill resource read. The same definition of a skill lookup is used for the overview, member, skill and service-account pages. Lookups that found nothing aren't counted. - Unused skills. Published skills that weren't loaded in the last 30 days, linked to the skill page so you can improve the description or retire them. Skills added in the last week are left out.
- Per-skill analytics. From any skill's page: total calls, a 30-day trend, and top callers — the feedback loop for curation. Skills nobody calls need better descriptions or retirement; heavily-called skills deserve investment.
- Attributable automation. Service accounts appear alongside members, so automated usage is never a blind spot.
Billing & trial
Plain, verifiable billing facts — the same ones the pricing page commits to.
- Plans
Two plans, billed via Polar — checkout, invoices, and receipts all run through it. Solo is a flat monthly price for one developer; Pro is per seat, for teams.
Solo covers exactly one organization member and every Brewale feature except the team ones: inviting teammates is blocked, and reviewer invites on proposals are hidden. Service accounts still work.
Upgrade from Solo to Pro in one click under Settings → Billing, or when you try to invite someone. The change is prorated.
- Trial
14-day free trial of Pro, no card. The clock starts on your org's first MCP call, not at signup — setup time is untimed. You pick Solo or Pro when you subscribe.
Unused trial days carry over to checkout: subscribing early never costs you trial time.
- Seats
On Pro, seats reconcile automatically as members join and leave. There is no seat list to manage.
On Pro, inactive members are not billed as seats — see Members & roles for what the toggle does.
Service accounts are never billed as seats.
- Payment & expiry
Billing managers: under Settings → Billing, admins choose who receives invoices and billing email — including addresses like finance@ that never log in. Polar emails all of them.
Payment failure: we warn, we don't cut off. There is a grace period before anything is restricted.
An expired trial without a subscription is the one state that pauses MCP access. Your content, repo connection, and web access are untouched — subscribing resumes service within ~5 seconds.
Current price: brewale.dev/pricing.
Account security
Everything here is self-service: protect the account and cut off access when you need to. Agents lose access within ~5 seconds.
Two-factor authentication
TOTP with any authenticator app. Setup generates one-time backup codes — store them outside the authenticator; they're your way back in if you lose the device.
Sign in with Google
One-click login and signup, plus linking Google to an existing email/password account from account settings.
Kill switches
Token hygiene
- Prefer OAuth for humans in editors — nothing long-lived to leak.
- Give CI tokens an expiry date when you mint them.
- Revoke tokens you no longer use under Settings → API Keys.
- Tokens are hashed at rest and shown exactly once at mint — treat the copy you take as the only copy.
Reference
Every tool, every known problem, and where the legal pages live.
MCP tool reference
Every Brewale tool your agents get through the connection, in three groups — plus the tools of any connectors your org publishes.
The chips describe how each tool behaves: read tools return published content, proposes tools only ever create drafts for human review.
Read
read Always available| Tool | What it returns | When your agent calls it |
|---|---|---|
get_conventions | Your published conventions document (honors project scope). | At session start and before edits. |
list_skills | The skill catalog: slugs, names, descriptions (honors per-user toggles) — plus your own personal skills as p:{slug}. | At task start, to discover relevant skills. |
get_skill | The full SKILL.md for one slug. | When a listed skill matches the task at hand. |
get_skill_file | One bundle file — references/, scripts/, or templates/. | When a skill points at its supporting files. |
sync_local_skills | A one-time npx brewale sync --code … command that writes your skills into your agents’ skills folders. | When you ask it to set up or update your local skills. |
Authoring — proposes only, never publishes
proposes On by default — admins can switch skill or convention authoring off under Settings → Skills & conventions| Tool | What it returns | When your agent calls it |
|---|---|---|
skill_authoring_guide | The house style for writing skills, including your organization's rubric from Settings → Skills & conventions. | Before drafting a skill proposal. |
create_skill | A new skill draft in Proposed state — served to no one. visibility: "personal" makes it a personal skill instead of an org one. | When the agent learns something worth keeping. |
update_skill | A proposed edit to an existing skill. Supporting files carry over unless the edit changes or removes them. Refused while your own proposal for that skill is open as a GitHub pull request — the error names the pull request to push to instead. | When a skill turns out stale or wrong. |
convention_authoring_guide | The house style for writing conventions, including your organization's rubric from Settings → Skills & conventions. | Before drafting a convention proposal. |
create_convention | A new convention draft in Proposed state. | When a rule deserves to become always-on. |
update_convention | A proposed edit to a convention (including conventions.md). Refused, like update_skill, while your proposal is open as a GitHub pull request. | When an existing rule needs a change. |
invite_reviewers | Adds reviewers to an existing proposal; its content is unchanged. | When a draft needs reviewers (Pro plan — a Solo organization has only one member). The create_* and update_* tools also take reviewers directly. |
Projects
read Listed when Projects is enabled at Settings → Skills & conventions| Tool | What it returns | When your agent calls it |
|---|---|---|
register_project | Registers a new owner/repo project key (idempotent). | When working in a repo that has no registered project yet. |
search_projects | Existing project keys matching a query. | To find the right key before scoping content to it. |
attach_to_project | Links a project-scoped skill or convention to a project, so agents in that project receive it. | When content should reach one repo. Admins and owners, or every member when an admin allows it. With GitHub sync on, anyone who can push to the repo can also attach through projects.yaml. |
detach_from_project | Unlinks a skill or convention from a project (idempotent). | When content no longer applies to that project. |
Connector tools. Each published you've switched on adds its tools as cmcp__<short name>__<tool>, limited to what your org allows. Prompts. Every skill is also an MCP prompt for
your slash menu; with local skills it's a plain /{slug} command.
Every tool is org-scoped by the authenticated connection. No Brewale tool publishes content or writes to your repository directly.
Troubleshooting & FAQ
Ordered by frequency. The first answer is almost always npx brewale status.
My agent can't connect to the MCP server
Run npx brewale status first — it's a read-only health report with a connectivity probe. Check that the URL points to https://mcp.brewale.dev/mcp. If you're using token auth, verify the key hasn't expired or been revoked under Settings → API Keys and that the header format is Authorization: Bearer lore-mcp_… .
Should I use OAuth or an API key?
OAuth for humans in editors — tokens are short-lived, user-scoped, and no long-lived secret is stored in your config. API keys for CI, scripts, and clients without OAuth support. The Authentication section has the full comparison.
My skill isn't showing up for agents
Three checks: is it Published, not Proposed? Is its 'Enabled for me' toggle on for you — skills you disable disappear from your own list_skills? And if Projects is enabled, does the skill's scope match your connection's project_id?
My connector's tools aren't showing up
Check that Allow custom MCP connectors is on under Settings → Connectors and the connector is published, that it's Enabled for you on the Connectors page, and that you've signed in or added your token if it asks. Then reconnect your agent — connector changes apply on reconnect. For a project connector, the connection needs that project's ?project_id=owner/repo, or the project switched on in the Connectors column of Settings → What agents get.
My local skills are out of date
Run npx brewale sync, or ask your agent to "update my local skills". In Claude Code, the session-start hook runs sync for you. If sync says you need to log in, the device was removed or your access changed — run npx brewale login.
My agent’s update_skill is refused because of a pull request
That proposal is open as a GitHub pull request, so its changes go there. Push to the pull request’s branch — the error names it — or have a reviewer click Close pull request, keep proposal to bring the work back to Brewale.
Changes I pushed aren't showing up
Automatic sync only processes pushes to the default branch. Check the sync history under Settings → GitHub for errors, confirm the default branch and base path, and hit Sync Now to force a full pass.
I lost my API key
Keys are shown exactly once and stored hashed, so a lost key can't be recovered. Revoke it under Settings → API Keys, mint a new one, and update your agent configuration.
Conventions aren't loading at session start
Confirm conventions.md lives at the configured base path in your connected repo, and that the managed instruction block exists in your CLAUDE.md / AGENTS.md — npx brewale status checks both the MCP config and the instruction block.
It says my trial expired — what am I locked out of?
An expired trial without a subscription is the one state that pauses MCP access. Your content, GitHub connection, and web access are untouched, and subscribing under Settings → Billing resumes service within ~5 seconds.
Which config file does Claude Code actually use?
Project scope: .mcp.json in the repo root. User and local scope: ~/.claude.json, written via claude mcp add. There is no ~/.claude/mcp.json — if you have one, nothing reads it.
Can I use Brewale with multiple organizations?
Yes — one account can belong to several orgs. The org switcher picks your context in the web app, and each MCP connection serves exactly one org: you pick which at the OAuth consent screen, or by the org your token is scoped to.