diff --git a/plugin/.claude-plugin/plugin.json b/plugin/.claude-plugin/plugin.json index f5afc61..9615574 100644 --- a/plugin/.claude-plugin/plugin.json +++ b/plugin/.claude-plugin/plugin.json @@ -3,7 +3,13 @@ "description": "Scribe second brain for Claude Code: MCP tools over your notes/tasks/projects/rules, a session-start push channel that surfaces your always-on rules + active-project context, and a set of universal process-skills (brainstorm, debug, TDD, plan, verify). Replaces superpowers + file-memory with one app-backed plugin.", "version": "0.1.0", "author": { "name": "Bryan Van Deusen" }, - "mcpServers": "./.mcp.json", + "mcpServers": { + "scribe": { + "type": "http", + "url": "${user_config.api_endpoint}/mcp", + "headers": { "Authorization": "Bearer ${user_config.api_token}" } + } + }, "userConfig": { "api_endpoint": { "type": "string", diff --git a/plugin/README.md b/plugin/README.md index 77d6104..8b3ed7c 100644 --- a/plugin/README.md +++ b/plugin/README.md @@ -33,7 +33,7 @@ On install you'll be asked for: ## What gets wired -- `.mcp.json` → the `scribe` MCP server at `/mcp` (Bearer auth). +- `plugin.json` `mcpServers` → the `scribe` MCP server at `/mcp` (Bearer auth). - `hooks/hooks.json` → SessionStart hook (`hooks/scribe_session_context.sh`), **fail-open**: if Scribe is unreachable it injects nothing and never blocks the session.