Skip to content

Commit b5e4efb

Browse files
committed
brainkb skill: note multi-user auth (Bearer header on remote, login locally)
1 parent 587947e commit b5e4efb

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

brainkb_skills/SKILL.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ Help the user ingest and explore a BrainKB knowledge base through the
2020

2121
- BrainKB uses JWT auth. Ask the user for their **email**, **password**, and the
2222
**base URL** (default `http://localhost:8010`) if not already provided.
23+
- The MCP is **multi-user**: on the hosted remote each caller authenticates with
24+
their own token via an `Authorization: Bearer <token>` header (configured on the
25+
MCP client), so `brainkb_login` may be unnecessary there. Locally, use
26+
`brainkb_login(email, password)` — it scopes the token to that session only.
2327
- **Never print, echo, or store the password or the JWT token.** Pass them
2428
straight to the login step. When using curl, read the token into a shell
2529
variable — do not paste it into chat.

0 commit comments

Comments
 (0)