Files
soloma-kb-plugin/README.md
T

47 lines
1.8 KiB
Markdown

# soloma-kb-plugin
Claude Code plugin for the Soloma drone knowledge base. Internal use only.
Adds two MCP servers and one skill:
| Server | Endpoint | Purpose | Authentik group |
|---|---|---|---|
| `drone-kb` | `https://kb-mcp.soloma.ai/mcp` | Search the approved corpus | `kb-users` |
| `drone-kb-scribe` | `https://kb-mcp.soloma.ai/inbox/mcp` | Submit sources for ingestion | `kb-writers` |
## Install
Gitea's SSH listens on port 2222, and Claude Code's marketplace parser does not accept `ssh://` URLs, so set the port in `~/.ssh/config` once:
```
Host git.soloma.ai
Port 2222
IdentityFile ~/.ssh/<your-gitea-key>
```
Then, in Claude Code:
```
/plugin marketplace add git@git.soloma.ai:soloma-core/soloma-kb-plugin.git
/plugin install soloma-kb-plugin@soloma-internal
```
You need read access to this repository and membership of **both** Authentik groups (`kb-users` and `kb-writers`).
(Alternative without SSH config: add `https://git.soloma.ai/soloma-core/soloma-kb-plugin.git` instead; git will need a Gitea username and access token from its credential helper.)
## First sign-in
Each server signs in separately (Claude Code keeps one token per server). Run `/mcp`, authenticate `drone-kb`, then `drone-kb-scribe`. Both use the same Authentik provider, so the second sign-in should finish without asking for credentials again.
Both servers use OAuth callback port **8127**: finish one sign-in before starting the other.
If you added either server by hand before (`claude mcp add ... drone-kb`), remove it first to avoid duplicates:
```
claude mcp remove drone-kb -s user
claude mcp remove drone-kb-scribe -s user # or the old name, kb-scribe-live
```
The OAuth `clientId` in `.mcp.json` identifies the public `kb-mcp-agent` client (PKCE, no secret). Access is enforced by Authentik group membership, not by that value.