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
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
c020db3fe1
commit
622e9c8a2c
@@ -4,6 +4,5 @@
|
||||
"version": "0.1.0",
|
||||
"author": {
|
||||
"name": "Soloma"
|
||||
},
|
||||
"mcpServers": "./.claude-mcp.json"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "soloma-kb-plugin",
|
||||
"version": "0.1.0",
|
||||
"description": "Soloma drone knowledge base skill: how to search the approved corpus and submit sources. The MCP servers are configured separately in config.toml (see README).",
|
||||
"description": "Soloma drone knowledge base: search the approved corpus and submit sources for ingestion. Requires Authentik groups kb-users and kb-writers.",
|
||||
"author": {
|
||||
"name": "Soloma"
|
||||
},
|
||||
@@ -15,7 +15,7 @@
|
||||
"interface": {
|
||||
"displayName": "Soloma KB",
|
||||
"shortDescription": "Search and contribute to the Soloma drone knowledge base",
|
||||
"longDescription": "A skill for the Soloma drone knowledge base. Add the drone-kb and drone-kb-scribe MCP servers to ~/.codex/config.toml as described in the README; Codex does not load OAuth settings from plugins.",
|
||||
"longDescription": "Search the Soloma drone knowledge base (drone-kb) and submit sources to it (drone-kb-scribe). Sign in to each server once with: codex mcp login drone-kb and codex mcp login drone-kb-scribe.",
|
||||
"developerName": "Soloma",
|
||||
"category": "Productivity",
|
||||
"defaultPrompt": [
|
||||
|
||||
@@ -33,7 +33,7 @@ Each server signs in separately, because Claude Code keeps one token per server.
|
||||
|
||||
Both servers use OAuth callback port **8127**: finish one sign-in before starting the other.
|
||||
|
||||
## About the `clientId` in `.claude-mcp.json`
|
||||
## 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.
|
||||
|
||||
@@ -41,40 +41,20 @@ If sign-in suddenly fails at the authorize step, the ID may have changed: update
|
||||
|
||||
## Codex
|
||||
|
||||
The plugin also installs in Codex, but **Codex does not read OAuth settings from a plugin**, so the plugin only carries the skill. Add the two MCP servers to `~/.codex/config.toml` yourself:
|
||||
|
||||
```toml
|
||||
[mcp_servers.drone-kb]
|
||||
url = "https://kb-mcp.soloma.ai/mcp"
|
||||
|
||||
[mcp_servers.drone-kb.oauth]
|
||||
client_id = "soloma-kb-mcp"
|
||||
callback_port = 8127
|
||||
|
||||
[mcp_servers.drone-kb-scribe]
|
||||
url = "https://kb-mcp.soloma.ai/inbox/mcp"
|
||||
|
||||
[mcp_servers.drone-kb-scribe.oauth]
|
||||
client_id = "soloma-kb-mcp"
|
||||
callback_port = 8127
|
||||
```
|
||||
|
||||
Then install the skill and sign in:
|
||||
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-scribe
|
||||
codex mcp login drone-kb
|
||||
codex mcp login drone-kb-scribe
|
||||
```
|
||||
|
||||
Status: see "Known Codex limits" below before relying on this.
|
||||
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.
|
||||
|
||||
### Known Codex limits
|
||||
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.
|
||||
|
||||
- **Sign-in needs one Authentik setting.** Codex's OAuth redirect is `http://127.0.0.1:8127/callback/<random>`, which the `kb-mcp-agent` provider rejects today. An Authentik admin must add the redirect URI (regex) `^http://127\.0\.0\.1:8127/callback/.*$`.
|
||||
- **`drone-kb` (read) cannot sign in from Codex yet.** Its endpoint publishes no OAuth discovery metadata, so Codex falls back to `https://kb-mcp.soloma.ai/authorize`, which does not exist. Claude Code works around this with `authServerMetadataUrl`; Codex has no equivalent for these servers. Fixing it needs a server-side change.
|
||||
- `drone-kb-scribe` (write) discovers its authorization server correctly.
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user