AI Skill Hub 推荐使用:MCP内存日志 是一款优质的MCP工具。AI 综合评分 7.5 分,在同类工具中表现稳健。如果你正在寻找可靠的MCP工具解决方案,这是一个值得深入了解的选择。
安全AI内存管理,动态项目检测,自动会话简报
MCP内存日志 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
安全AI内存管理,动态项目检测,自动会话简报
MCP内存日志 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/neverinfamous/memory-journal-mcp
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"mcp----": {
"command": "npx",
"args": ["-y", "memory-journal-mcp"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 MCP内存日志 执行以下任务... Claude: [自动调用 MCP内存日志 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"mcp____": {
"command": "npx",
"args": ["-y", "memory-journal-mcp"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
📚 Full Documentation (Wiki) • Changelog • Security • Release Article
🎯 AI Context + Project Intelligence: Bridge disconnected AI sessions with persistent project memory and automatic session handoff — with full GitHub workflow integration.
🚀 Quick Deploy:
npm install -g memory-journal-mcpMemory Journal provides a hybrid approach to GitHub management:
| Capability Source | Purpose |
|---|---|
| **MCP Server** | Specialized features: Kanban visualization, Milestones, journal linking, project timelines |
| **Agent (gh CLI)** | Full GitHub mutations: create/close issues, create/merge PRs, manage releases |
MCP Server Tools (Read + Kanban + Milestones + Issue Lifecycle):
get_github_issues / get_github_issue - Query issuesget_github_prs / get_github_pr - Query pull requestsget_github_context - Full repository contextget_kanban_board / add_kanban_item / move_kanban_item / delete_kanban_item - Kanban managementget_github_milestones / get_github_milestone - Milestone tracking with completion %create_github_milestone / update_github_milestone / delete_github_milestone - Milestone CRUDget_repo_insights - Repository traffic & analytics (stars, clones, views, referrers, popular paths)create_github_issue_with_entry / close_github_issue_with_entry - Issue lifecycle with journal linkingWhy this design? The MCP server focuses on value-added features that integrate journal entries with GitHub (Kanban views, Milestones, timeline resources, context linking). Standard GitHub mutations (create/close issues, merge PRs, manage releases) are handled directly by agents via gh CLI.
npm install -g memory-journal-mcp
git clone https://github.com/neverinfamous/memory-journal-mcp.git
cd memory-journal-mcp
npm install
npm run build
Add this to your ~/.cursor/mcp.json, Claude Desktop config, or equivalent:
{
"mcpServers": {
"memory-journal-mcp": {
"command": "memory-journal-mcp",
"env": {
"GITHUB_TOKEN": "ghp_your_token_here",
"PROJECT_REGISTRY": "{\"my-repo\":{\"path\":\"/path/to/your/git/repo\",\"project_number\":1}}",
"ALLOWED_IO_ROOTS": "/path/to/your/git/repo"
}
}
}
}
Showcasing the full power of the server, including Multi-Project Routing, Team Collaboration, Copilot awareness, and Context Injections.
{
"mcpServers": {
"memory-journal-mcp": {
"command": "memory-journal-mcp",
"env": {
"DB_PATH": "/path/to/your/memory_journal.db",
"TEAM_DB_PATH": "/path/to/shared/team.db",
"GITHUB_TOKEN": "ghp_your_token_here",
"PROJECT_REGISTRY": "{\"my-repo\":{\"path\":\"/path/to/repo\",\"project_number\":1},\"other-repo\":{\"path\":\"/path/to/other\",\"project_number\":5}}",
"ALLOWED_IO_ROOTS": "/path/to/repo,/path/to/other,/path/to/your/skills",
"AUTO_REBUILD_INDEX": "true",
"MEMORY_JOURNAL_MCP_TOOL_FILTER": "codemode",
"CODEMODE_INTERNAL_FULL_ACCESS": "true",
"BRIEFING_ENTRY_COUNT": "3",
"BRIEFING_SUMMARY_COUNT": "1",
"BRIEFING_INCLUDE_TEAM": "true",
"BRIEFING_ISSUE_COUNT": "3",
"BRIEFING_PR_COUNT": "3",
"BRIEFING_PR_STATUS": "true",
"BRIEFING_WORKFLOW_COUNT": "3",
"BRIEFING_WORKFLOW_STATUS": "true",
"BRIEFING_COPILOT_REVIEWS": "true",
"RULES_FILE_PATH": "/path/to/your/RULES.md",
"SKILLS_DIR_PATH": "/path/to/your/skills",
"MEMORY_JOURNAL_WORKFLOW_SUMMARY": "/deploy: prod deployment | /audit: security scan",
"AUDIT_LOG_PATH": "/path/to/your/mcp-audit.jsonl",
"TEAM_AUTHOR": "your_username"
}
}
}
}
💡 Tip: Optimize your context window! Journal entries (BRIEFING_ENTRY_COUNT) capture frequent, granular actions (e.g. bug fixes, implementation steps). Session summaries (BRIEFING_SUMMARY_COUNT) surface high-level retrospectives meant to pass strategic context continuously across distinct AI sessions. Use both appropriately to keep the agent briefing highly focused!
🔒 Security Posture: Stdio vs HTTP - Stdio (Default): Runs implicitly within the secure boundaries of your local IDE or command-line environment. No explicit authentication is required because the execution context is already trusted. - HTTP/SSE: Exposes the server over a network socket. By default, HTTP binds ONLY tolocalhostand blocks wildcard CORS to prevent unauthorized access and CSRF attacks. Public network binding (--server-host 0.0.0.0) requires explicit authentication (--auth-tokenor--oauth-enabled). The server will throw a fatal error if you attempt to expose it publicly without securing it.
For remote access or web-based clients, run the server in HTTP mode:
memory-journal-mcp --transport http --port 3000
To bind to all interfaces (required for containers) and enable the automated proactive analytics scheduler (e.g. daily digest), you MUST provide an authentication token:
export MCP_AUTH_TOKEN="your_secure_random_token"
memory-journal-mcp --transport http --port 3000 --server-host 0.0.0.0 --digest-interval 1440
Endpoints:
| Endpoint | Description | Mode |
|---|---|---|
GET / | Server info and available endpoints | Both |
POST /mcp | JSON-RPC requests (initialize, tools/call, etc.) | Both |
GET /mcp | SSE stream for server-to-client notifications | Stateful |
DELETE /mcp | Session termination | Stateful |
GET /sse | Legacy SSE connection (MCP 2024-11-05) | Stateful |
POST /messages | Legacy SSE message endpoint | Stateful |
GET /health | Health check ({ status, timestamp }) | Both |
GET /.well-known/oauth-protected-resource | RFC 9728 Protected Resource Metadata | Both |
Session Management: The server uses stateful sessions by default. Include the mcp-session-id header (returned from initialization) in subsequent requests.
--oauth-enabled)Example with curl:
Initialize session (returns mcp-session-id header):
curl -X POST http://localhost:3000/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}}}'
List tools (with session):
curl -X POST http://localhost:3000/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "mcp-session-id: YOUR_SESSION_ID" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}'
For serverless deployments (Lambda, Workers, Vercel), use stateless mode:
memory-journal-mcp --transport http --port 3000 --stateless
| Mode | Progress Notifications | Legacy SSE | Serverless |
|---|---|---|---|
| Stateful (default) | ✅ Yes | ✅ Yes | ⚠️ Complex |
Stateless (--stateless) | ❌ No | ❌ No | ✅ Native |
When running in HTTP/SSE mode, enable periodic maintenance jobs with CLI flags. These jobs run in-process on setInterval — no external cron needed.
Note: These flags are ignored for stdio transport because stdio sessions are short-lived (tied to your IDE session). For stdio, use OS-level scheduling (Task Scheduler, cron) or run the backup/cleanup tools manually.
memory-journal-mcp --transport http --port 3000 \
--backup-interval 60 --keep-backups 10 \
--vacuum-interval 1440 \
--rebuild-index-interval 720
| Flag | Default | Description |
|---|---|---|
--backup-interval <min> | 0 (off) | Create timestamped database backups and prune old ones automatically |
--keep-backups <count> | 5 | Max backups retained during automated cleanup |
--vacuum-interval <min> | 0 (off) | Run PRAGMA optimize and flush database to disk |
--rebuild-index-interval <min> | 0 (off) | Full vector index rebuild to maintain semantic search quality |
Each job is error-isolated — a failure in one job won't affect the others. Scheduler status (last run, result, next run) is visible via memory://health.
The GitHub tools (get_github_issues, get_github_prs, etc.) auto-detect the repository from your git context when PROJECT_REGISTRY is configured or the MCP server is run inside a git repository.
| Environment Variable | Description |
|---|---|
DB_PATH | Database file location (CLI: --db; default: ./memory_journal.db) |
TEAM_DB_PATH | Team database file location (CLI: --team-db) |
TEAM_AUTHOR | Override author name for team entries (default: git config user.name) |
GITHUB_TOKEN | GitHub personal access token for API access |
DEFAULT_PROJECT_NUMBER | Default GitHub Project number for auto-assignment when creating issues |
PROJECT_REGISTRY | JSON map of repos to { path, project_number } for multi-project auto-detection and routing |
AUTO_REBUILD_INDEX | Set to true to rebuild vector index on server startup |
MCP_HOST | Server bind host (0.0.0.0 for containers, default: localhost) |
MCP_AUTH_TOKEN | Bearer token for HTTP transport authentication (CLI: --auth-token). Must NOT be the default placeholder token. |
ALLOWED_IO_ROOTS | **Critical Security Boundary**: Comma-separated absolute paths granting filesystem access to Code Mode and export tools (default: none / fail-closed) |
MCP_CORS_ORIGIN | Allowed CORS origins for HTTP transport, comma-separated (default: blank, strict opt-in) |
TRUST_PROXY | Trust proxy headers for rate limiting and origin checks (CLI: --trust-proxy; default: false) |
PUBLIC_ORIGIN | Public origin URL for OAuth redirect URIs (CLI: --public-origin) |
MCP_RATE_LIMIT_MAX | Max requests per minute per client IP, HTTP only (default: 100) |
LOG_LEVEL | Log verbosity: error, warn, info, debug (default: info; CLI: --log-level) |
MCP_ENABLE_HSTS | Enable HSTS security header on HTTP responses (CLI: --enable-hsts; default: false) |
OAUTH_ENABLED | Set to true to enable OAuth 2.1 authentication (HTTP only) |
OAUTH_ISSUER | OAuth issuer URL (e.g., https://auth.example.com/realms/mcp) |
OAUTH_AUDIENCE | Expected JWT audience claim |
OAUTH_JWKS_URI | JWKS endpoint for token signature verification |
OAUTH_ALLOW_PLAINTEXT_LOOPBACK | Allow plaintext HTTP loopback redirect URIs for local OAuth clients (CLI: --oauth-allow-plaintext-loopback; default: false) |
OAUTH_CLOCK_TOLERANCE | Allowed clock skew tolerance in seconds for JWT verification (default: 5) |
CODE_MODE_MAX_RESULT_SIZE | Maximum size in bytes for mj_execute_code result payload (CLI: --codemode-max-result-size; default: 102400) |
CODEMODE_INTERNAL_FULL_ACCESS | Bypass tool filter constraints within the Code Mode sandbox (CLI: --codemode-internal-full-access; default: false) |
BRIEFING_ENTRY_COUNT | Journal entries in briefing (CLI: --briefing-entries; default: 3) |
BRIEFING_SUMMARY_COUNT | Session summaries to list in briefing (CLI: --briefing-summaries; default: 1) |
BRIEFING_INCLUDE_TEAM | Include team DB entries in briefing (true/false; default: false) |
BRIEFING_ISSUE_COUNT | Issues to list in briefing; 0 = count only (default: 0) |
BRIEFING_PR_COUNT | PRs to list in briefing; 0 = count only (default: 0) |
BRIEFING_PR_STATUS | Show PR status breakdown (open/merged/closed; default: false) |
BRIEFING_MILESTONE_COUNT | Milestones to list in briefing; 0 = hide entirely (CLI: --briefing-milestones; default: 3) |
BRIEFING_WORKFLOW_COUNT | Workflow runs to list in briefing; 0 = status only (default: 0) |
BRIEFING_WORKFLOW_STATUS | Show workflow status breakdown in briefing (default: false) |
BRIEFING_COPILOT_REVIEWS | Aggregate Copilot review state in briefing (default: false) |
RULES_FILE_PATH | Path to user rules file for agent awareness (CLI: --rules-file) |
SKILLS_DIR_PATH | Path to skills directory for agent awareness (CLI: --skills-dir) |
MEMORY_JOURNAL_WORKFLOW_SUMMARY | Free-text workflow summary for memory://workflows (CLI: --workflow-summary) |
INSTRUCTION_LEVEL | Briefing depth: essential, standard, full (CLI: --instruction-level; default: standard) |
PROJECT_LINT_CMD | Project lint command for GitHub Commander validation gates (default: npm run lint) |
PROJECT_TYPECHECK_CMD | Project typecheck command (default: npm run typecheck; empty = skip) |
PROJECT_BUILD_CMD | Project build command (default: npm run build; empty = skip) |
PROJECT_TEST_CMD | Project test command (default: npm run test) |
PROJECT_E2E_CMD | Project E2E test command (default: empty = skip) |
PROJECT_PACKAGE_MANAGER | Package manager override: npm, yarn, pnpm, bun (default: auto-detect from lockfile) |
PROJECT_HAS_DOCKERFILE | Enable Docker audit steps (default: auto-detect) |
COMMANDER_HITL_FILE_THRESHOLD | Human-in-the-loop checkpoint if changes touch > N files (default: 10) |
COMMANDER_SECURITY_TOOLS | Override security tool auto-detection (comma-separated; default: auto-detect) |
COMMANDER_BRANCH_PREFIX | Branch naming prefix for PRs (default: fix) |
AUDIT_LOG_PATH | Path for the JSONL operational telemetry log of write/admin tool calls. Rotates at 10 MB (keeps 5 archives). Omit to disable telemetry logging. |
AUDIT_REDACT | Set to false to include tool arguments in telemetry log entries (default: true) |
AUDIT_READS | Log read-scoped tool calls in addition to write/admin (CLI: --audit-reads; default: false) |
AUDIT_LOG_MAX_SIZE | Maximum operational telemetry file size in bytes before rotation (CLI: --audit-log-max-size; default: 10485760) |
MCP_METRICS_ENABLED | Set to false to disable in-memory tool call metrics accumulation (default: true) |
FLAG_VOCABULARY | Comma-separated flag types for Hush Protocol (CLI: --flag-vocabulary; default: blocker,needs_review,help_requested,fyi) |
PRUNE_OLDER_THAN_DAYS | Soft-delete entries older than N days with importance below threshold on startup; 0 = disabled (CLI: --prune-older-than-days; default: 0) |
PRUNE_IMPORTANCE_THRESHOLD | Importance score threshold (0.0–1.0) — entries scoring below this are pruned (CLI: --prune-importance-threshold; default: 0.15) |
Multi-Project Workflows: For agents to seamlessly support multiple projects, provide PROJECT_REGISTRY.
When executing GitHub tools (issues, PRs, context, etc.), the server resolves repository context in this order:
repo string that matches a key in your PROJECT_REGISTRY, the server dynamically mounts the physical directory mapped to that project. It executes git commands locally and automatically infers the owner.owner and repo explicitly, those values override auto-detection for API calls.PROJECT_REGISTRY or explicit parameters, the server blocks execution and returns {requiresUserInput: true} to prompt the agent.When opening an issue or viewing/moving a Kanban card, the server needs a GitHub Project number. It determines this via:
project_number argument passed by the agent.repo string precisely matches an entry in your PROJECT_REGISTRY, seamlessly mapping it to its pre-configured project_number.DEFAULT_PROJECT_NUMBER if set.export GITHUB_TOKEN="your_token" # For Projects/Issues/PRs
Scopes: repo, project, read:org (org-level project discovery only)
find-related - Discover connected entries via semantic similarityprepare-standup - Daily standup summariesprepare-retro - Sprint retrospectivesweekly-digest - Day-by-day weekly summariesanalyze-period - Deep period analysis with insightsgoal-tracker - Milestone and achievement trackingget-context-bundle - Project context with Git/GitHub/Kanbanget-recent-entries - Formatted recent entriesproject-status-summary - GitHub Project status reportspr-summary - Pull request journal activity summarycode-review-prep - Comprehensive PR review preparationpr-retrospective - Completed PR analysis with learningsactions-failure-digest - CI/CD failure analysisproject-milestone-tracker - Milestone progress trackingconfirm-briefing - Acknowledge session context to usersession-summary - Create a session summary entry with accomplishments, pending items, and next-session contextteam-session-summary - Create a retrospective team session summary entry securely isolated to the team databaseadversarial-plan-review - Multi-pass adversarial plan review with structured dimensions, scoring rubric, and prior plan contextflag-dashboard - Triage active flags with priority assessment and resolution guidanceThe server natively bundles the github-commander agent skill (accessible via memory://skills/github-commander). This extends your AI assistant with 9 autonomous DevOps workflows for repository stewardship: Issue Triage, Milestone Sprints, PR Reviews, Copilot Audits, Security Audits, Code Quality Audits, Performance Audits, Roadmap Kickoffs, and Dependency Updates. Configure validation layers using the PROJECT_* environment overrides to enforce CI-matching execution locally during agent tasks!
高质量MCP工具,值得关注
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
总体来看,MCP内存日志 是一款质量良好的MCP工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | memory-journal-mcp |
| 原始描述 | 开源MCP工具:Secure AI Memory with Dynamic Project Detection, Automatic Session Briefing, Per。⭐16 · TypeScript |
| Topics | ai-agentai-contextcontext-engineering |
| GitHub | https://github.com/neverinfamous/memory-journal-mcp |
| License | MIT |
| 语言 | TypeScript |
收录时间:2026-05-31 · 更新时间:2026-06-01 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端