1. Conduid
  2. Data
  3. memory-sqlite
MCP server · Data

memory-sqlite

Production-ready MCP memory server with SQLite WAL for thread-safe concurrent access. Drop-in replacement for @modelcontextprotocol/server-memory. Prevents race conditions and data loss in multi-session AI agent environments. ACID-compliant knowledge grap

39Low

Scored yesterday · breakdown

About memory-sqlite

memory-sqlite is an MCP server published by git+Daichi-Kudo in the Data category: production-ready MCP memory server with SQLite WAL for thread-safe concurrent access. Drop-in replacement for @modelcontextprotocol/server-memory. Prevents race conditions and data loss in multi-session AI agent environments. ACID-compliant knowledge grap.

The repository has 4 stars and 0 forks, with the last commit 4 months ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

Install
npx @pepk/mcp-memory-sqlite
Claude Code
claude mcp add memory-sqlite -- npx -y @pepk/mcp-memory-sqlite
npx
npx -y @pepk/mcp-memory-sqlite

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (3)

create_entitiesCreate multiple new entities

Parameters not published.

delete_entitiesDelete entities and their relations

Parameters not published.

open_nodesRetrieve specific entities by name

Parameters not published.

Ask AI

✦

Ask AI about memory-sqlite

Powered by Claude · Grounded in docs

I know everything about memory-sqlite. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

4 checks have not been run yet.

README

GitHub Actions Workflows

This directory contains CI/CD workflows for the @daichi-kudo/mcp-memory-sqlite package.

📁 Files

  • workflows/ci.yml - Continuous Integration workflow
  • workflows/release.yml - Release and npm publishing workflow
  • SETUP.md - Detailed setup instructions
  • PIPELINE_DIAGRAM.md - Visual pipeline diagrams

🚀 Quick Start

Windows Users

SETUP_COMMANDS.bat

Linux/macOS Users

bash SETUP_COMMANDS.sh

This will:

  1. Install required development dependencies
  2. Update package.json with CI-friendly scripts
  3. Verify everything works locally

📋 Manual Setup

If you prefer to set up manually, follow these steps:

1. Install Dependencies

npm install -D \
  @typescript-eslint/eslint-plugin \
  @typescript-eslint/parser \
  eslint \
  rimraf

2. Update package.json

Add these scripts to package.json:

{
  "scripts": {
    "typecheck": "tsc --noEmit",
    "lint": "eslint src --ext .ts && tsc --noEmit",
    "test": "echo \"No tests yet\" && exit 0",
    "test:ci": "npm run typecheck && npm run lint && npm run test",
    "clean": "rimraf dist",
    "prepublishOnly": "npm run clean && npm run build"
  }
}

3. Configure npm Token

  1. Generate token at https://www.npmjs.com/settings/[username]/tokens
  2. Choose "Automation" type
  3. Copy the token
  4. Add to GitHub repository:
    • Settings → Secrets and variables → Actions
    • New repository secret: NPM_TOKEN

4. Verify Locally

npm run typecheck  # Should pass ✓
npm run lint       # Should pass ✓
npm run build      # Should create dist/ ✓
npm test           # Should pass ✓

5. Commit and Push

git add .
git commit -m "ci: add GitHub Actions workflows"
git push origin master

🔄 Workflows

CI Workflow (ci.yml)

Triggers:

  • Push to main or develop
  • Pull requests to main or develop

Jobs:

  1. Lint and type check
  2. Build package
  3. Test on multiple platforms (Ubuntu, Windows, macOS) with Node 20 & 22
  4. Verify build artifacts are committed

Duration: ~2-3 minutes

Release Workflow (release.yml)

Triggers:

  • GitHub release published
  • Tags matching v* pattern

Steps:

  1. Run full CI checks
  2. Build package
  3. Publish to npm with provenance
  4. Create release summary

Duration: ~3-5 minutes

📦 Publishing Releases

Create a Tag

git tag v1.0.0
git push origin v1.0.0

Create GitHub Release (Recommended)

  1. Go to repository → Releases → Draft a new release
  2. Choose tag: v1.0.0
  3. Add release notes:
## What's New
- Initial release
- SQLite-based MCP memory server
- WAL mode for concurrency

## Installation
npm install @daichi-kudo/mcp-memory-sqlite
  1. Click "Publish release"

The workflow will automatically publish to npm! 🎉

🔍 Monitoring

View Workflow Runs

  1. Go to repository → Actions tab
  2. Click on a workflow run to see details
  3. Each job shows real-time logs

Check npm Package

After release, verify at:

🛠️ Troubleshooting

CI Fails: Type Errors

npm run typecheck  # See errors locally
# Fix errors
npm run typecheck  # Verify fixed

CI Fails: Lint Errors

npm run lint       # See lint errors
npm run lint -- --fix  # Auto-fix

CI Fails: Build Check

The build-check job fails if committed dist/ doesn't match the build output.

Fix:

npm run clean
npm run build
git add dist/
git commit -m "chore: update build artifacts"
git push

Release Fails: npm Publish

Common causes:

  1. NPM_TOKEN not set or invalid
  2. Package version already published
  3. Package name not available
  4. No publish permissions for @daichi-kudo scope

Solutions:

  1. Verify NPM_TOKEN in GitHub secrets
  2. Bump version in package.json
  3. Check package availability on npm
  4. Verify npm scope access

better-sqlite3 Build Fails

The native module should rebuild automatically. If it fails:

  1. Check Node.js version compatibility
  2. Verify platform has build tools (CI runners have them)
  3. Check better-sqlite3 documentation for platform support

📊 Matrix Testing

The CI workflow tests on 6 combinations:

OS Node 20 Node 22
Ubuntu ✅ ✅
Windows ✅ ✅
macOS ✅ ✅

This ensures the package works across all supported platforms.

🔐 Security

npm Provenance

The release workflow uses npm provenance, which:

  • Cryptographically links the package to the source code
  • Proves the package was built by GitHub Actions
  • Prevents tampering between build and publish
  • Improves supply chain security

Secret Management

  • NPM_TOKEN is stored as a GitHub secret
  • Never exposed in logs
  • Can be rotated without code changes
  • Scoped to publish permissions only

📚 Additional Resources

🆘 Support

If you encounter issues:

  1. Check the Troubleshooting section
  2. Review workflow logs in the Actions tab
  3. Consult the detailed guides in this directory
  4. Open an issue on GitHub

Happy CI/CD! 🚀

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About memory-sqlite

How do I install memory-sqlite?

Run npx @pepk/mcp-memory-sqlite, then add the server to your MCP client's configuration.

Is memory-sqlite safe to use with an AI agent?

Its trust score is 39 out of 100 (low). It passes 1 of the 2 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is memory-sqlite still maintained?

Yes — the last commit was 4 months ago. The repository has 4 stars and 0 forks.