Add soloma-kb-plugin: drone-kb and drone-kb-scribe MCP servers
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Mkpcphc9ZEjNpw867crpNF
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "soloma-internal",
|
||||
"description": "Soloma internal Claude Code plugins",
|
||||
"owner": {
|
||||
"name": "Soloma"
|
||||
},
|
||||
"plugins": [
|
||||
{
|
||||
"name": "soloma-kb-plugin",
|
||||
"description": "Search and contribute to the Soloma drone knowledge base",
|
||||
"source": "./"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"name": "soloma-kb-plugin",
|
||||
"description": "Soloma drone knowledge base: search the approved corpus and submit sources for ingestion. Internal use; requires Authentik groups kb-users and kb-writers.",
|
||||
"version": "0.1.0",
|
||||
"author": {
|
||||
"name": "Soloma"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"mcpServers": {
|
||||
"drone-kb": {
|
||||
"type": "http",
|
||||
"url": "https://kb-mcp.soloma.ai/mcp",
|
||||
"oauth": {
|
||||
"clientId": "DtLb7mB0iU0knxo9DoZDmMuvqAO8tyVv8okkWBfN",
|
||||
"callbackPort": 8127,
|
||||
"authServerMetadataUrl": "https://auth.soloma.ai/.well-known/oauth-authorization-server/application/o/kb-mcp-agent/"
|
||||
}
|
||||
},
|
||||
"drone-kb-scribe": {
|
||||
"type": "http",
|
||||
"url": "https://kb-mcp.soloma.ai/inbox/mcp",
|
||||
"oauth": {
|
||||
"clientId": "DtLb7mB0iU0knxo9DoZDmMuvqAO8tyVv8okkWBfN",
|
||||
"callbackPort": 8127
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
# 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
|
||||
|
||||
```
|
||||
/plugin marketplace add ssh://git@git.soloma.ai:2222/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.
|
||||
|
||||
## 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.
|
||||
@@ -0,0 +1,35 @@
|
||||
---
|
||||
name: soloma-kb
|
||||
description: Use when answering questions about Soloma drone operations from the knowledge base, or when the user wants to add a document, web page or note to it. Covers searching the approved corpus (drone-kb) and submitting sources (drone-kb-scribe).
|
||||
---
|
||||
|
||||
# Soloma drone knowledge base
|
||||
|
||||
Two MCP servers, one sign-in each (the second is usually silent):
|
||||
|
||||
- `drone-kb` — read-only search over the **approved** corpus.
|
||||
- `drone-kb-scribe` — submit material for ingestion (`submit`, `request_upload`).
|
||||
|
||||
## Answering a question
|
||||
|
||||
1. `query` the `approved` collection (lex + vec together works best).
|
||||
2. Search results are excerpts, for discovery only. `get` or `multi_get` two or three **complete** Wiki pages; safety position, scope and applicability often sit outside the excerpt.
|
||||
3. Check each page's applicability and provenance. Follow cited Sources when the evidence matters; Sources are provenance, not final guidance.
|
||||
4. Say so when the evidence is insufficient. Nothing in this KB clears an aircraft to fly.
|
||||
|
||||
Merged knowledge reaches search only after `kb-sync` pulls, exports and embeds it, a few minutes after a PR merge.
|
||||
|
||||
## Submitting material
|
||||
|
||||
Submitting provides a *source*, not a publication. Accepted bytes are stored durably, may be sent to an external AI service to draft Wiki pages **before** a human reviews the pull request, and nothing is published until a human merges that PR.
|
||||
|
||||
Before any submit or upload:
|
||||
|
||||
- Redact credentials, tokens, private keys and other secrets. The scanner is best-effort and cannot catch everything.
|
||||
- Do not submit private or customer material you would not send to an external service.
|
||||
- Use `request_upload` for files and large content; use `submit` for text.
|
||||
|
||||
Receipts:
|
||||
|
||||
- `accepted` with no holds — delivered to the Inbox; ingest drafts a PR on its next run (about every 30 minutes).
|
||||
- `accepted` with holds (`secret_finding`, `incomplete_scan`, `replacement_review_required`) — **not** delivered. A reviewer must approve, replace or reject it over SSH. Tell the user it is waiting; do not resubmit to get around it.
|
||||
Reference in New Issue
Block a user