From engram
Configure the engram MCP server connection (URL + auth mode) by registering a user-scope server via `claude mcp add`.
How this command is triggered — by the user, by Claude, or both
Slash command
/engram:engram-setup [server-url]The summary Claude sees in its command listing — used to decide when to auto-load this command
# Set up the engram MCP server Register the `engram` MCP server in the user's Claude Code config, pointed at their self-hosted engram deployment. This writes a **user-scope** server (available in every project) using the supported `claude mcp add` CLI — never by hand-editing settings files. The plugin ships no bundled MCP server, so this command is the canonical way to wire engram up. ## Steps 1. **Determine the server URL.** If an argument was provided (`$1`), use it. Otherwise ask the user for their engram server URL. Examples: - Direct server: `http://localhost:8080`, or `https:...
Register the engram MCP server in the user's Claude Code config, pointed at
their self-hosted engram deployment. This writes a user-scope server
(available in every project) using the supported claude mcp add CLI — never by
hand-editing settings files. The plugin ships no bundled MCP server, so this
command is the canonical way to wire engram up.
Determine the server URL. If an argument was provided ($1), use it.
Otherwise ask the user for their engram server URL. Examples:
http://localhost:8080, or https://engram.example.com.https://gateway.example.com/mcp/engram.Ask the auth mode — one of:
401 and Claude Code runs the browser OAuth flow.Authorization: Bearer <token> (CI, or
token-authenticated servers).Run the matching command (substitute <url> / <id> / <token>):
| Mode | Command |
|---|---|
| OAuth (direct or gateway) | claude mcp add --transport http engram <url> --scope user |
| Pre-registered OAuth client | claude mcp add --transport http engram <url> --scope user --client-id <id> --client-secret --callback-port 8765 |
| Bearer token | claude mcp add --transport http engram <url> --scope user --header "Authorization: Bearer <token>" |
| None (local / no-auth) | claude mcp add --transport http engram <url> --scope user |
Notes:
--client-secret takes no inline value — Claude Code prompts for it
with masked input (or set MCP_CLIENT_SECRET in the environment to script
it). Never put the secret on the command line.--header value; never echo it back or persist it elsewhere.Authenticate (OAuth modes only). Tell the user to run /mcp, select
engram, and complete the OAuth flow.
Confirm. Report that the engram server is registered at user scope, and
how to change it later: claude mcp remove engram --scope user, then re-run
/engram-setup.
npx claudepluginhub seanb4t/engram --plugin engram