feat: add Claude Code plugin with pre-registered Authentik OAuth client
Claude Code's .mcp.json now accepts an `oauth` block with a pre-registered clientId, so the plugin no longer depends on RFC 7591 Dynamic Client Registration (still unshipped in Authentik — goauthentik/authentik#8751, milestoned for 2026.8.0). This lets users install shared-memory as a plugin instead of running the `claude mcp add --client-id ...` one-liner by hand. OIDC_CLIENT_ID_MCP is a Public PKCE client, so committing it is safe; no secret is involved. callbackPort 33418 matches the documented one-liner and is covered by the loopback redirect regex on the Authentik provider. Verified: both manifests pass `claude plugin validate`, and a local-path marketplace install on Claude Code 2.1.220 preserves the oauth block through to the installed cache. Remote (git-sourced) marketplace install is still untested — see anthropics/claude-ai-mcp#359. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"$schema": "https://anthropic.com/claude-code/marketplace.schema.json",
|
||||
"name": "dnspegasus",
|
||||
"description": "Self-hosted Claude Code plugins for the dnspegasus.net infrastructure.",
|
||||
"owner": {
|
||||
"name": "jknapp",
|
||||
"url": "https://repo.anhonesthost.net/jknapp/shared-memory"
|
||||
},
|
||||
"plugins": [
|
||||
{
|
||||
"name": "shared-memory",
|
||||
"source": "./plugin",
|
||||
"description": "Shared persistent memory and snippet library for Claude Code sessions, backed by memory.dnspegasus.net and authenticated with Authentik OIDC."
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user