light-agent-memory-mcp-server
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-serverRelated 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도구
프로젝트 메모리
도구 | 설명 |
| 프로젝트 컨텍스트 저장/업데이트 (기술 스택, 아키텍처, 컨벤션) |
| 이름으로 프로젝트 세부 정보 가져오기 |
| 저장된 모든 프로젝트 나열 |
기본 설정 메모리
도구 | 설명 |
| 개인 코딩 기본 설정 저장/업데이트 |
| 키로 기본 설정 가져오기 |
| 기본 설정 나열 (카테고리별 필터링 가능) |
학습 메모리
도구 | 설명 |
| 세션 학습 기록 (해결책, 통찰, 버그 노트) |
| 키워드로 학습 내용 검색 |
일반
도구 | 설명 |
| 통합 저장 (유형에 따라 자동 라우팅) |
| 키워드로 유형 간 검색 |
| 유형과 ID로 메모리 삭제 |
| 페이징 및 통계와 함께 모든 메모리 나열 |
예제
프로젝트 저장:
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). 데이터베이스는 최초 실행 시 자동으로 생성됩니다.
스키마
projects —
id,name(고유),path,tech_stack(JSON),architecture,conventions,notes, timestampspreferences —
id,key(고유),value,category, timestampslearnings —
id,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
Maintenance
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
- AlicenseNot gradedqualityCmaintenanceProvides persistent, local-first AI memory across sessions via MCP tools for storing, searching, and retrieving context from past interactions.1MIT
- AlicenseNot gradedqualityCmaintenanceA local-first MCP memory server providing persistent, searchable memory for AI agents, powered by SQLite.51Apache 2.0
- AlicenseNot gradedqualityAmaintenanceProvides 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
- AlicenseNot gradedqualityCmaintenancePersistent 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.452MIT
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.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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