You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add --project option to specify project for supermemory (#26)
- Add a new CLI option --project that only applies when installing a URL on https://api.supermemory.ai/*.
- Behavior:
- If --project is provided, it is validated (no spaces) and added as a header: x-sm-project: <value>.
- If --project is omitted for Supermemory URLs, the installer prompts for a project. Empty input defaults to default (users can still override per LLM session).
- The header is appended alongside any --header flags.
- Works for both regular installs and Warp output (included in args as --header "x-sm-project: <value>").
- Does not affect non-URL installs or non-Supermemory URLs.
Docs:
- Update README with a new “Supermemory project support” section explaining:
- When the flag applies
- Validation rules
- Prompting and default behavior
- Examples and Warp notes
Copy file name to clipboardExpand all lines: README.md
+25Lines changed: 25 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,6 +39,31 @@ The tool automatically:
39
39
- Infers server names from package names or URLs (e.g., `mcp.example.com` → `mcp-example-com`)
40
40
- Handles OAuth authentication for remote servers
41
41
42
+
### Supermemory project support
43
+
44
+
When installing a server hosted on `https://api.supermemory.ai/*`, you can pass a project name via `--project`. This is a convenience alias for adding the header `x-sm-project: <value>`.
45
+
46
+
Rules:
47
+
48
+
- Only applies to URL installs targeting `https://api.supermemory.ai/*`.
49
+
- Values must not contain spaces.
50
+
- If you omit `--project` for these URLs, you'll be prompted. Pressing Enter uses `default`.
51
+
- The value is injected as a header alongside any `--header` flags.
0 commit comments