Skip to main content
Glama
AliYar-Khan

light-agent-memory-mcp-server

by AliYar-Khan

light-agent-memory-mcp-server

지속적인 에이전트 메모리를 위한 MCP 서버 — 프로젝트, 기본 설정, 세션 학습 내용을 로컬 SQLite 데이터베이스에 저장합니다.

하네스에 종속되지 않습니다. opencode, Claude Desktop, Cursor, Windsurf 등 모든 MCP 호환 클라이언트에서 동작합니다.

설치

npm install -g light-agent-memory-mcp-server

또는 npx로 직접 사용할 수 있습니다 (설치 불필요):

npx light-agent-memory-mcp-server

Related MCP server: tartarus-mcp

설정

MCP 클라이언트의 설정 파일에 추가하세요:

opencode (~/.config/opencode/opencode.json):

{
  "mcp": {
    "memory": {
      "type": "local",
      "command": ["npx", "-y", "light-agent-memory-mcp-server"],
      "enabled": true
    }
  }
}

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "memory": {
      "command": "npx",
      "args": ["-y", "light-agent-memory-mcp-server"]
    }
  }
}

Cursor (.cursor/mcp.json):

{
  "mcpServers": {
    "memory": {
      "command": "npx",
      "args": ["-y", "light-agent-memory-mcp-server"]
    }
  }
}

사용자 지정 데이터베이스 경로

npx light-agent-memory-mcp-server --db /path/to/custom.db

도구

프로젝트 메모리

도구

설명

memory_project_save

프로젝트 컨텍스트 저장/업데이트 (기술 스택, 아키텍처, 컨벤션)

memory_project_get

이름으로 프로젝트 세부 정보 가져오기

memory_project_list

저장된 모든 프로젝트 나열

기본 설정 메모리

도구

설명

memory_pref_save

개인 코딩 기본 설정 저장/업데이트

memory_pref_get

키로 기본 설정 가져오기

memory_pref_list

기본 설정 나열 (카테고리별 필터링 가능)

학습 메모리

도구

설명

memory_learning_save

세션 학습 기록 (해결책, 통찰, 버그 노트)

memory_learning_search

키워드로 학습 내용 검색

일반

도구

설명

memory_save

통합 저장 (유형에 따라 자동 라우팅)

memory_search

키워드로 유형 간 검색

memory_delete

유형과 ID로 메모리 삭제

memory_list

페이징 및 통계와 함께 모든 메모리 나열

예제

프로젝트 저장:

memory_project_save({
  name: "my-app",
  path: "/home/user/projects/my-app",
  tech_stack: ["TypeScript", "React", "SQLite"],
  architecture: "Monorepo with pnpm workspaces, plugin-based architecture",
  conventions: "ESM-only, strict TypeScript, no comments in code"
})

기본 설정 저장:

memory_pref_save({
  key: "language.typescript.style",
  value: "Always use ESM imports, strict mode, and prefer readonly types",
  category: "language"
})

학습 내용 기록:

memory_learning_save({
  title: "Fix SQLite WAL mode deadlock",
  content: "When using WAL mode in SQLite, set busy_timeout to 5000ms to avoid SQLITE_BUSY errors under concurrent reads.",
  project_name: "my-app",
  tags: ["sqlite", "debugging", "concurrency"]
})

모든 메모리 검색:

memory_search({ query: "SQLite" })

데이터베이스

데이터는 기본적으로 ~/.agent-memory/memory.db에 저장됩니다 (Node.js 내장 node:sqlite를 사용하는 SQLite). 데이터베이스는 최초 실행 시 자동으로 생성됩니다.

스키마

  • projectsid, name (고유), path, tech_stack (JSON), architecture, conventions, notes, timestamps

  • preferencesid, key (고유), value, category, timestamps

  • learningsid, title, content, project_name, tags (JSON), timestamps

개발

git clone https://github.com/AliYar-Khan/light-agent-memory-mcp-server.git
cd light-agent-memory-mcp-server
npm install
npm run build
npm run dev  # runs with tsx, no build step

라이선스

MIT

A
license - permissive license
A
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides persistent, local-first AI memory across sessions via MCP tools for storing, searching, and retrieving context from past interactions.
    1
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    A local-first MCP memory server providing persistent, searchable memory for AI agents, powered by SQLite.
    5
    1
    Apache 2.0
  • A
    license
    Not graded
    quality
    A
    maintenance
    Provides persistent memory for AI coding agents via MCP, enabling agents to store and semantically recall facts, events, and lessons across sessions, all running locally without cloud dependencies.
    Apache 2.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    Persistent memory for AI coding agents. Enables agents to save and recall decisions, patterns, bugs, and context across sessions via an MCP server with local SQLite storage.
    45
    2
    MIT

View all related MCP servers

Related MCP Connectors

  • Shared, governed long-term memory for AI agents across tools and sessions via MCP and REST.

  • Persistent memory for AI agents. Search, store, and recall across sessions.

  • Your memory, everywhere AI goes. Build knowledge once, access it via MCP anywhere.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AliYar-Khan/light-agent-memory-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server