Files
soloma-kb-plugin/README.md
T
Angus ChiuandClaude Sonnet 5.5 622e9c8a2c fix: update manifests and README for the shared .mcp.json
Follows c020db3, which only carried the rename: drop the Claude manifest
pointer to the removed .claude-mcp.json and document the Codex plugin
install.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mkpcphc9ZEjNpw867crpNF
2026-10-18 02:41:51 +01:00

64 lines
2.8 KiB
Markdown

# soloma-kb-plugin
Claude Code plugin for the Soloma drone knowledge base. Reading and writing need a Soloma account; this repository itself is public and contains no secrets.
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
In Claude Code:
```
/plugin marketplace add https://git.soloma.ai/anguschiu/soloma-kb-plugin.git
/plugin install soloma-kb-plugin@soloma-internal
```
Restart Claude Code, then sign in (below). You need membership of **both** Authentik groups (`kb-users` and `kb-writers`); ask whoever administers Authentik.
If you added either server by hand before, remove it first so it does not appear twice:
```
claude mcp remove drone-kb -s user
claude mcp remove drone-kb-scribe -s user # or the old name, kb-scribe-live
```
## First sign-in
Each server signs in separately, because 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.
## About the `clientId` in `.mcp.json`
`soloma-kb-mcp` is the public client ID of the `kb-mcp-agent` provider in Authentik. It is a PKCE public client with no secret, and it is needed because Authentik does not support dynamic client registration. Access is enforced by Authentik group membership, not by that value.
If sign-in suddenly fails at the authorize step, the ID may have changed: update the plugin (`/plugin marketplace update soloma-internal`) and reinstall.
## Codex
The same plugin installs in Codex and brings both MCP servers; the shared `.mcp.json` carries the OAuth client ID and callback port.
```
codex plugin marketplace add https://git.soloma.ai/anguschiu/soloma-kb-plugin.git
codex plugin add soloma-kb-plugin@soloma-internal
codex mcp login drone-kb
codex mcp login drone-kb-scribe
```
Check with `codex mcp list` (both should show `OAuth`), then use the tools from the interactive `codex` session. In `codex exec` MCP tool calls may not run.
If you added these servers to `~/.codex/config.toml` by hand earlier, remove them (`[mcp_servers.drone-kb]` and `[mcp_servers.drone-kb-scribe]`) so they do not appear twice.
Requirements: Codex CLI 0.162 or newer, a browser on the same machine (the callback is `http://127.0.0.1:8127/callback/<random>`), and the Authentik provider's redirect URI regex `^http://127\.0\.0\.1:8127/callback/.*$`.
## Updating
```
/plugin marketplace update soloma-internal
```