Junto Memory logo

Junto Memory

Shared MCP memory and coordination for AI agents, with vector search, sessions, locks, messaging, backlog, and specs.

Install Junto Memory

Run the project’s own setup commands, in order.

Setup steps from the project

junto-memory installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Start the server
    python server.py --transport stdio
    
  2. 2. Start the server
    python -m shared_memory --transport stdio
    
  3. 3. Start the server
    docker compose up -d mongodb chromadb
    
  4. 4. Install
    pip install -r requirements.txt
    
  5. 5. Start the server
    python server.py --host 0.0.0.0 --port 8080
    
  6. 6. Start the server
    cd src && python -m shared_memory --host 0.0.0.0 --port 8080
    

Overview

junto-memory provides persistent shared memory and coordination for AI coding agents working across sessions or on the same codebase. It stores documents and state in MongoDB, uses ChromaDB for vector search, and exposes session handoffs, file locks, messaging, backlog tracking, function references, and versioned specs over MCP. Agents connect through streamable HTTP, with the server running as a Docker Compose stack on port 8080. Reach for it when agents need shared project knowledge, coordinated edits, or durable handoff context rather than isolated per-session memory.

Use cases

  • Share architecture notes and learnings across coding sessions
  • Coordinate parallel agents editing the same repository
  • Track handoffs, backlog items, and agent messages
  • Search registered functions before implementing duplicate logic
  • Maintain versioned project specifications and contracts

Key features

  • Persistent MongoDB and ChromaDB-backed memory
  • Natural-language and global knowledge search
  • Atomic file and directory locks with stale detection
  • Session handoffs, heartbeats, and agent discovery
  • Threaded inter-agent messaging and backlog management
  • Function registry and versioned specifications

Tools66

What Junto Memory lets your agent do. Expand a tool for its parameters.

Self-reported~1.9k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

9/9 checks healthy over the last 35d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars6Stargazers on the source repository.
Last commit13d agoMost recent push to the default branch.
Tools exposed66Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Junto Memory works

What junto-memory does

junto-memory gives AI agents a shared store for project knowledge and coordination state. Agents can save architecture notes, API specifications, snippets, learnings, gotchas, and interface contracts, then retrieve them with natural-language search or exact document IDs. Global search can span projects and shared collections.

The coordination layer covers session registration and handoff, file and directory locks, agent heartbeats, status discovery, threaded messages, and backlog items. It also supports function references that can be enriched with source-level details, plus versioned specifications with owner enforcement and semantic-version history.

A single agent can use the persistent memory, learning records, function registry, backlog, and specifications without using the multi-agent coordination features. Teams of agents can use the same installation to reduce duplicated investigation and coordinate changes to a shared codebase.

How it works

Agents connect to the MCP server using streamable HTTP. The server runs as a Docker Compose stack and persists documents and coordination state in MongoDB and ChromaDB-backed volumes. ChromaDB provides vector-based retrieval for knowledge searches, while MongoDB stores the broader documents, messages, sessions, locks, and project state.

A session normally starts with memory_start_session, which returns recent learnings, active agents, file locks, and pending signals. During work, an agent can acquire locks, search or store knowledge, exchange messages, and update backlog items. memory_end_session records a summary, changed files, and handoff notes while releasing locks. Heartbeats support stale-agent detection, and file locks include stale detection for inactive sessions.

Setup and configuration

Clone the repository and run the installation from a fresh Claude Code, Cursor, or other MCP-capable agent session. The documented setup uses the root-level docker-compose.yml and walks through prerequisites, environment-file configuration, container startup, health checks, and MCP client configuration.

The stack exposes MCP over port 8080 by default. Installation may require decisions about database passwords, ports, authentication, and whether the server is local or remote. Docker is part of the supported deployment path, and the project targets Python 3.11 or newer. The installation process includes a smoke test after startup.

Tools and capabilities

  • Start and close sessions with context and handoff records.
  • Search, store, retrieve, and globally query shared knowledge.
  • Lock files or directories, release locks, and inspect stale locks.
  • Send, receive, acknowledge, and track agent messages.
  • Monitor agent heartbeats, status, roles, and recent activity.
  • Create and manage backlog items with project, priority, status, assignee, and milestone filters.
  • Register functions, find them by purpose or name, and manage librarian enrichment.
  • Define and retrieve versioned specifications.
  • List projects and document counts.

Limitations and notes

The project is intended to be installed with the help of an AI coding agent because its setup includes operational choices around volumes, credentials, authentication, and network trust. Its coordination features are useful for multiple agents, but they can remain unused when only one agent connects. File locks release when a session ends, while heartbeat and lock inspection use inactivity thresholds to identify stale activity.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Junto Memory

junto-memory is an MCP server that connects AI agents to shared MongoDB and ChromaDB-backed memory and coordination state. Its main tools cover session handoffs, knowledge search and storage, file locks, agent messaging, backlog management, function references, and versioned specifications for projects worked on across sessions.

Install it by cloning the repository and asking a Claude Code, Cursor, or other MCP-capable agent to follow `AGENT_INSTALL.md` with the root Docker Compose file. The process covers environment configuration, startup, health checks, client setup, and a smoke test.

Yes, Cursor is named as a supported MCP client for junto-memory. The server exposes streamable HTTP MCP on port 8080, and the setup process includes configuring an MCP client to connect to the running stack.

It coordinates agents through sessions, file and directory locks, heartbeats, status discovery, and threaded messages. Agents can register work, inspect active or stale participants, send handoff information, and release locks automatically when ending a session.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewJunto Memory AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/junto-memory?style=directory)](https://allmcps.com/mcp/junto-memory)
HTML Embed
<a href="https://allmcps.com/mcp/junto-memory"><img src="https://allmcps.com/api/badge/junto-memory?style=directory" alt="Junto Memory on AllMCPs" /></a>