context-portal

context-portal

MCP.Pizza Chef: GreatScottyMac

Every time you start a new chat, your assistant forgets what your project is about. ConPort stores decisions, progress notes, architecture sketches and custom glossaries in a small database that sits beside your code, then hands the relevant pieces back when the assistant needs them. It works in Cursor, VS Code, Cline, Windsurf and Roo Code, keeps one separate store per project folder, and costs nothing to run, though you do need Python and the uv tool installed before the config snippet will work.

Coding
Notes

Use This MCP server To

Remind my assistant why we chose this approach months ago Keep a running log of decisions the assistant can search Ask what changed since I last worked on this project Store a project glossary my assistant checks before answering Track open tasks and progress without leaving my editor Stop re-explaining the same background at every new session

README


Context Portal MCP (ConPort)

(It's a memory bank!)


Roo Code Logo    CLine Logo    Windsurf Cascade Logo    Cursor IDE Logo


A database-backed Model Context Protocol (MCP) server for managing structured project context, designed to be used by AI assistants and developer tools within IDEs and other interfaces.


What is Context Portal MCP server (ConPort)?

Context Portal (ConPort) is your project's memory bank. It's a tool that helps AI assistants understand your specific software project better by storing important information like decisions, tasks, and architectural patterns in a structured way. Think of it as building a project-specific knowledge base that the AI can easily access and use to give you more accurate and helpful responses.

What it does:

  • Keeps track of project decisions, progress, and system designs.
  • Stores custom project data (like glossaries or specs).
  • Helps AI find relevant project information quickly (like a smart search).
  • Enables AI to use project context for better responses (RAG).
  • More efficient for managing, searching, and updating context compared to simple text file-based memory banks.

ConPort provides a robust and structured way for AI assistants to store, retrieve, and manage various types of project context. It effectively builds a project-specific knowledge graph, capturing entities like decisions, progress, and architecture, along with their relationships. This structured knowledge base, enhanced by vector embeddings for semantic search, then serves as a powerful backend for Retrieval Augmented Generation (RAG), enabling AI assistants to access precise, up-to-date information for more context-aware and accurate responses.

It replaces older file-based context management systems by offering a more reliable and queryable database backend (SQLite per workspace). ConPort is designed to be a generic context backend, compatible with various IDEs and client interfaces that support MCP.

Key features include:

  • Structured context storage using SQLite (one DB per workspace, automatically created).
  • MCP server (context_portal_mcp) built with Python/FastAPI.
  • A comprehensive suite of defined MCP tools for interaction (see "Available ConPort Tools" below).
  • Multi-workspace support via workspace_id.
  • Primary deployment mode: STDIO for tight IDE integration.
  • Enables building a dynamic project knowledge graph with explicit relationships between context items.
  • Includes vector data storage and semantic search capabilities to power advanced RAG.
  • Serves as an ideal backend for Retrieval Augmented Generation (RAG), providing AI with precise, queryable project memory.
  • Provides structured context that AI assistants can leverage for prompt caching with compatible LLM providers.
  • Manages database schema evolution using Alembic migrations, ensuring seamless updates and data integrity.

context-portal FAQ

Which apps does it work in?
Cursor, VS Code, Cline, Windsurf and Roo Code are all documented. Any editor that can run MCP servers should work.
Do I need a paid account or key?
No. Everything runs on your own machine and the stored notes live in a file inside your project folder.
Can I use this to stop re-explaining my project every session?
Yes, that is the whole point. Decisions and notes are written down once and pulled back in automatically.
How hard is setup?
You need Python and the uv tool installed first, then a short block pasted into your editor's settings, so budget an afternoon.
Where does my data go?
Into one database file per project on your own computer. Nothing is uploaded anywhere.
Does it work across several projects?
Yes. Each project folder gets its own separate memory, so notes never bleed between them.
Is it still being worked on?
Yes. The project was still receiving code updates in early 2026.