@hlsitech/memorify
v0.2.0
Published
Pair AI coding clients with Memorify (MCP gateway) — device-flow pairing, no secrets pasted into chats
Maintainers
Readme
@hlsitech/memorify
Pair AI coding clients (Claude Code, Cursor, Windsurf, VS Code, Codex, Gemini CLI, …) with a Memorify MCP gateway using a device-code flow: you approve the agent in your browser, so no secret is ever typed or pasted into a chat.
npx @hlsitech/memorify pairThe package name matters. The unscoped
memorifypackage on npm belongs to an unrelated third party — always use@hlsitech/memorify.
What it does
- Detects installed MCP clients (or use
--client cursor,claude-code). - Requests a pairing code from
https://memorify.dev, opens the approval page, and waits for you to approve. - Writes the MCP server entry into each client's config (owner-only permissions, previous file backed up once
as
<file>.memorify.bak). An unparseable config is never overwritten.
Other commands: memorify whoami, memorify clients, memorify mcp (a stdio⇄HTTP bridge for stdio-only
clients such as Claude Desktop).
Prefer no token at all?
Clients that support OAuth for remote MCP servers don't need this CLI:
claude mcp add --transport http memorify https://memorify.dev/mcp
# then run /mcp in Claude Code and choose AuthenticateSecurity model
- Tokens are scoped, read-only by default, short-lived, and revocable from your dashboard.
- The CLI only talks to
https://memorify.dev. A custom--hostrequires--allow-custom-hostbecause that server would receive your token. Every URL returned by the server must behttpsand on the same origin. - The browser is opened without a shell, so a hostile URL cannot inject commands.
- Tokens are read from
MEMORIFY_TOKENor~/.memorify/credentials.json(mode 600) — there is no--tokenflag, because command-line arguments are visible to other processes. - Releases are published from GitHub Actions with npm provenance, so you can verify the package was built from this repository.
Config files written by this tool contain a live token. Don't commit them (the CLI adds project-local files to
.git/info/exclude when it can).
Reporting vulnerabilities
See SECURITY.md.
License
MIT. The hosted Memorify service is proprietary; only this CLI is open source.
