Sign In

@squidcode/forever-plugin

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@squidcode/forever-plugin

MCP plugin for Forever - Claude Memory System

Source
npmnpm
Version
0.3.0
Version published
Weekly downloads
15
400%
Maintainers
1
Weekly downloads
 
Created
Source

@squidcode/forever-plugin

MCP (Model Context Protocol) plugin for Forever — a centralized persistent memory layer for Claude Code instances.

Forever lets multiple Claude Code sessions share memory across machines, projects, and time. This plugin connects Claude Code to your Forever server via MCP.

Prerequisites

  • Node.js 18+
  • A Forever account (register here)

Setup

1. Authenticate

npx @squidcode/forever-plugin login

You'll be prompted for:

  • Server URL: https://forever.squidcode.com
  • Email: your registered email
  • Password: your password

Credentials are saved to ~/.forever/credentials.json (mode 0600).

2. Add to Claude Code

claude mcp add forever -- npx @squidcode/forever-plugin

This registers the plugin as an MCP server that Claude Code will start automatically.

Tools

The plugin exposes three MCP tools:

memory_log

Log an entry to Forever memory.

ParameterTypeRequiredDescription
projectstringyesProject name or git remote URL
typeenumyessummary, decision, or error
contentstringyesThe content to log
tagsstring[]noTags for categorization
sessionIdstringnoSession ID for grouping entries

memory_get_recent

Get recent memory entries for a project.

ParameterTypeRequiredDescription
projectstringyesProject name or git remote URL
limitnumbernoNumber of entries (default 20)

Search memory entries across projects.

ParameterTypeRequiredDescription
querystringyesSearch query
projectstringnoFilter by project
typeenumnoFilter by entry type
limitnumbernoMax results (default 20)

How It Works

  • The plugin runs as an MCP stdio server, started by Claude Code on demand.
  • Each machine gets a unique ID (stored in ~/.forever/machine.json) for tracking which machine produced each memory entry.
  • All API calls are authenticated via JWT token obtained during login.

Development

git clone https://github.com/squidcode/forever-plugin.git
cd forever-plugin
npm install
npm run build

Scripts

ScriptDescription
npm run buildCompile TypeScript
npm run devWatch mode
npm run lintRun ESLint
npm run formatFormat with Prettier
npm run typecheckType-check without emit

Pre-commit Hooks

This project uses Husky + lint-staged to enforce code quality on every commit:

  • ESLint auto-fix + Prettier formatting on staged .ts files
  • Full TypeScript type-check

License

MIT

Keywords

mcp

FAQs

Package last updated on 21 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts