Server data from the Official MCP Registry
Developer journal with knowledge graphs, relationships, Git context, and semantic search
Developer journal with knowledge graphs, relationships, Git context, and semantic search
Valid MCP server (1 strong, 1 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry. Trust signals: trusted author (10/10 approved).
46 tools verified ยท Open access ยท No issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Add this to your MCP configuration file:
{
"mcpServers": {
"mcp-server": {
"args": [
"-y",
"memory-journal-mcp"
],
"command": "npx"
}
}
}From the project's GitHub README.
๐ฏ AI Context + Project Intelligence: Bridge disconnected AI sessions with persistent project memory and automatic session handoff โ with full GitHub workflow integration.
GitHub โข Wiki โข Changelog โข Release Article
๐ Quick Deploy:
npm install -g memory-journal-mcpWhen managing large projects with AI assistance, you face a critical challenge:
Memory Journal solves this by acting as your project's long-term memory, bridging the gap between fragmented AI sessions.
Experience true context-aware development:
/issue-triage workflow on the top priority ticket in the Kanban board." (GitHub operations)See complete examples & prompts โ
70 MCP Tools ยท 17 Workflow Prompts ยท 36 Resources ยท 10 Tool Groups ยท Code Mode ยท GitHub Commander (Issue Triage, PR Review, Milestone Sprints, Security/Quality/Perf Audits) ยท GitHub Integration (Issues, PRs, Actions, Kanban, Milestones, Insights) ยท Team Collaboration (Shared DB, Vector Search, Cross-Project Insights, Hush Protocol Flags)
| Feature | Description |
|---|---|
| Session Intelligence | Agents auto-query project history, create entries at checkpoints, and hand off context between sessions via /session-summary and team-session-summary |
| GitHub Integration | 18 tools for Issues, PRs, Actions, Kanban, Milestones (%), Copilot Reviews, and 14-day Insights |
| Dynamic Project Routing | Seamlessly switch contexts and access CI/Issue tracking across multiple repositories using a single server instance via PROJECT_REGISTRY |
| Knowledge Graphs | 8 relationship types linking specs โ implementations โ tests โ PRs with Mermaid visualization |
| Hybrid Search | Reciprocal Rank Fusion combining FTS5 keywords, semantic vector similarity, auto-heuristics, and date-range filters |
| Code Mode | Execute multi-step operations in a trusted-admin execution environment โ up to 90% token savings via mj.* API |
| Configurable Briefing | 15 env vars / CLI flags control memory://briefing content โ entries, team, GitHub detail, skills awareness, chronological grounding |
| Reports & Analytics | Standups, retrospectives, PR summaries, digests, period analyses, and milestone tracking |
| Hush Protocol (Flags) | Replace Slack/Teams noise with structured, actionable, and searchable AI flags (blockers, reviews) that automatically surface in session briefings |
| Team Collaboration | 25 tools with full parity โ CRUD, vector search, relationship graphs, cross-project insights, author attribution, Hush Protocol flags |
| Data Interoperability | Bidirectional Markdown roundtripping, unified IO namespace, and schema-safe JSON exports with hard bounds-checked path traversal defenses |
| Backup & Restore | One-command backup/restore with automated scheduling, retention policies, and safety-net auto-backups |
| Security & Transport | OAuth 2.1 (RFC 9728/8414, JWT/JWKS, scopes), Streamable HTTP + SSE, rate limiting, CORS, SQL injection prevention, non-root Docker |
| Structured Error Handling | Every tool returns {success, error, code, category, suggestion, recoverable} โ agents get classification, remediation hints, and recoverability signals |
| Agent Collaboration | IDE agents and Copilot share context; review findings become searchable knowledge; agents suggest reusable rules and skills (setup) |
| Native Agent Skills | Bundled foundational coding paradigms (autonomous-dev, python, docker, tailwind-css, golang, playwright-standard, etc.) establishing permanent AI behavior and architecture rules |
| GitHub Commander | Pipeline skills for issue triage, PR reviews, sprint milestones, and security/quality/performance audits with journal trails (docs) |
flowchart TB
subgraph Session["๐ค AI Session Start"]
Briefing["๐ Read Briefing<br/>(memory://briefing)"]
end
subgraph Core["๐ Journal Operations"]
Create["Create Entry"]
Retrieve["Retrieve & Search"]
Link["Link Entries"]
end
subgraph Search["๐ Hybrid Search"]
FTS["Keyword (FTS5)"]
Semantic["Semantic (Vector)"]
DateRange["Date Range"]
RRF["Reciprocal Rank Fusion"]
end
subgraph GitHub["๐ GitHub Integration"]
Issues["Issues & Milestones"]
PRs["Pull Requests"]
Actions["GitHub Actions"]
Kanban["Kanban Boards"]
Insights["Repository Insights"]
end
subgraph Outputs["๐ Outputs"]
Reports["Standups & Retrospectives"]
Graphs["Knowledge Graphs"]
Timeline["Project Timelines"]
end
Session --> Core
Core --> Search
Core <--> GitHub
Search --> Outputs
GitHub --> Outputs
Suggested Rule (Add to AGENTS.md, GEMINI.md, system prompts, etc.)
๐ MANDATORY SESSION START ROUTINE
Execute BEFORE fulfilling any user request in a new session:
repo_name from the active workspace context or user prompt. If the task is not associated with a specific project, fallback to using the generic resource without a repo name (which defaults to the first registered workspace).read_resource tool (Server: memory-journal-mcp) to read memory://briefing/{repo_name} (or memory://briefing if falling back).
execute_code for this step.activeFlags (count > 0), you MUST print an alert ABOVE the table: โ ๏ธ **{count} active flag(s)** โ review before proceeding. followed by each flag (๐ฉ {flag_type} โ @{target_user}: {preview}).<br> for line breaks).[!IMPORTANT] All shortcuts and tool groups include Code Mode (
mj_execute_code) by default for token-efficient operations. To exclude it, add-codemodeto your filter:--tool-filter starter,-codemode
Control which tools are exposed via MEMORY_JOURNAL_MCP_TOOL_FILTER (or CLI: --tool-filter):
| Filter | Tools | Use Case |
|---|---|---|
full | 70 | All tools (default) |
starter | ~11 | Core + search + codemode |
essential | ~7 | Minimal footprint |
readonly | 17 | Disable all mutations |
-github | 52 | Exclude a group |
-github,-analytics | 50 | Exclude multiple groups |
Filter Syntax: shortcut or group or tool_name (whitelist mode) ยท -group (disable group) ยท -tool (disable tool) ยท +tool (re-enable after group disable)
Custom Selection: List individual tool names to create your own whitelist: --tool-filter "create_entry,search_entries,semantic_search"
Groups: core, search, analytics, relationships, io, admin, github, backup, team, codemode
Complete tool filtering guide โ
| Group | Tools | Description |
|---|---|---|
codemode | 1 | Code Mode (sandboxed code execution) ๐ Recommended |
core | 6 | Entry CRUD, tags, test |
search | 4 | Text search, date range, semantic, vector stats |
analytics | 2 | Statistics, cross-project insights |
relationships | 2 | Link entries, visualize graphs |
io | 3 | JSON/Markdown export and File-level Markdown Data Integration Interoperability (Import/Export) |
admin | 5 | Update, delete, rebuild/add to vector index, merge tags |
github | 18 | Issues, PRs, context, Kanban, Milestones, Insights, issue lifecycle, Copilot Reviews |
backup | 4 | Backup, list, restore, cleanup |
team | 25 | CRUD, search, stats, relationships, IO (Markdown import/export), backup, vector search, cross-project insights, matrix, Hush Protocol flags (requires TEAM_DB_PATH) |
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 databaseStatic Resources (appear in resource lists):
memory://briefing - Session initialization: compact context for AI agents (~300 tokens) โ includes localTime and optional activeFlagsmemory://instructions - Behavioral guidance: complete server instructions for AI agentsmemory://recent - 10 most recent entriesmemory://significant - Significant milestones and breakthroughsmemory://graph/recent - Live Mermaid diagram of recent relationshipsmemory://health - Server health & diagnosticsmemory://graph/actions - CI/CD narrative graphmemory://actions/recent - Recent workflow runsmemory://tags - All tags with usage countsmemory://statistics - Journal statisticsmemory://rules - User rules file content for agent awarenessmemory://workflows - Available agent workflows summarymemory://skills - Agent skills index (names, paths, excerpts)memory://github/status - GitHub repository status overviewmemory://github/insights - Repository stars, forks, and 14-day traffic summarymemory://github/milestones - Open milestones with completion percentagesmemory://team/recent - Recent team entries with author attributionmemory://team/statistics - Team entry counts, types, and author breakdownmemory://help - Tool group index with descriptions and tool countsmemory://help/gotchas - Field notes, edge cases, and critical usage patternsmemory://metrics/summary - Aggregate tool call metrics since server start (calls, errors, token estimates, duration) โ HIGH prioritymemory://metrics/tokens - Per-tool token usage breakdown sorted by output token cost โ MEDIUM prioritymemory://metrics/system - Process-level metrics: memory (MB), uptime (s), Node.js version, platform โ MEDIUM prioritymemory://metrics/users - Per-user call counts (populated when OAuth user identifiers are present) โ LOW prioritymemory://audit - Last 50 write/admin tool call entries from the JSONL operational telemetry log (requires AUDIT_LOG_PATH)memory://flags - Active (unresolved) team flags dashboard (requires TEAM_DB_PATH)memory://flags/vocabulary - Configured flag vocabulary termsTemplate Resources (require parameters, fetch directly by URI):
memory://projects/{number}/timeline - Project activity timelinememory://issues/{issue_number}/entries - Entries linked to issuememory://prs/{pr_number}/entries - Entries linked to PRmemory://prs/{pr_number}/timeline - Combined PR + journal timelinememory://kanban/{project_number} - GitHub Project Kanban boardmemory://kanban/{project_number}/diagram - Kanban Mermaid visualizationmemory://milestones/{number} - Milestone detail with completion progressmemory://help/{group} - Per-group tool reference with parameters and annotationsmemory://briefing/{repo} - Context targeted to a specific repositoryNote: The memory://github/status, memory://github/insights, memory://github/milestones, and memory://milestones/{number} resources also accept an optional /{repo} path suffix for cross-repo targeting.
Code Mode (mj_execute_code) is a revolutionary approach that dramatically reduces token usage by up to 90% and is included by default in all presets. Instead of spending thousands of tokens on sequential tool calls, AI agents use a single sandboxed execution to reason faster.
Code executes in a worker_threads sandbox designed as a secure multi-tenant process isolation environment. All mj.* API calls execute against the journal within the sandbox, providing:
require(), process, eval(), and filesystem accessmj.* (e.g., mj.core.createEntry(), mj.search.searchEntries(), mj.github.getGithubIssues(), mj.team.passTeamFlag())--tool-filter readonly safely halts the sandbox to prevent execution, returning a structured { success: false, error: "..." } response to the agent instead of a raw MCP protocol exception.Run with only Code Mode enabled โ a single tool that provides access to all 69 tools' worth of capability through the mj.* API:
{
"mcpServers": {
"memory-journal-mcp": {
"command": "memory-journal-mcp",
"args": ["--tool-filter", "codemode"]
}
}
}
This exposes just mj_execute_code. The agent writes JavaScript against the typed mj.* SDK โ composing operations across all 10 tool groups and returning exactly the data it needs โ in one execution. This mirrors the Code Mode pattern pioneered by Cloudflare for their entire API: fixed token cost regardless of how many capabilities exist.
If you prefer individual tool calls, exclude codemode:
{
"args": ["--tool-filter", "starter,-codemode"]
}
The Hush Protocol reimagines team collaboration for AI-augmented workflows by replacing noisy Slack/Teams messages with structured, machine-actionable flags.
When you encounter a blocker, need a review, or want to broadcast a milestone, your AI agent can raise a flag in the shared Team Database:
memory://briefing payload for all team members. When another developer's agent starts a session, it immediately sees your blockers and can help resolve them autonomously.blocker, needs_review, help_requested, fyi). You can customize your team's vocabulary via the --flag-vocabulary configuration.needs_review flags to understand how architectural blockers were conquered.Dashboard & Operations: Read memory://flags to see an active dashboard overview and use mj.team.passTeamFlag() / mj.team.resolveTeamFlag() to manage them programmatically in Code Mode.
Complete Hush Protocol guide and Mermaid sequence diagrams โ
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!
Variants (modify the config above):
| Variant | Change |
|---|---|
| Minimal (no GitHub) | Remove the env block entirely |
| npx (no install) | Replace "command" with "npx" and add "args": ["-y", "memory-journal-mcp"] |
| From source | Replace "command" with "node" and add "args": ["dist/cli.js"] |
| Code Mode only | Add "args": ["--tool-filter", "codemode"] (single tool, all capabilities) |
| Docker | Replace "command" with "docker" and use run -i --rm -v ./data:/app/data writenotenow/memory-journal-mcp:latest as args |
| Team collaboration | Add "TEAM_DB_PATH": "./team.db" to env |
Restart your MCP client and start journaling!
๐ 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 to
localhostand 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.
Documentation truncated โ see the full README on GitHub.
Be the first to review this server!
by Modelcontextprotocol ยท Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno ยท Developer Tools
Toleno Network MCP Server โ Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace ยท Developer Tools
Create, build, and publish Python MCP servers to PyPI โ conversationally.
by Microsoft ยท Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
by mcp-marketplace ยท Developer Tools
Scaffold, build, and publish TypeScript MCP servers to npm โ conversationally
by mcp-marketplace ยท Finance
Free stock data and market news for any MCP-compatible AI assistant.