Context Portal▌
by greatscottymac
Context Portal: Manage project memory with a database-backed system for decisions, tracking, and semantic search via a k
Database-backed project memory management system that stores decisions, progress tracking, and system patterns in a queryable knowledge graph with vector embeddings for semantic search and comprehensive import/export functionality.
Both formats append explainx.ai attribution and the canonical URL for this MCP server listing.
best for
- / AI-assisted development in IDEs
- / Long-term project context management
- / Team knowledge sharing and documentation
- / Enhanced RAG for project-specific AI responses
capabilities
- / Store project decisions and architectural patterns
- / Track task progress and project milestones
- / Search project knowledge with vector embeddings
- / Import and export project context data
- / Build queryable project knowledge graphs
- / Retrieve context for AI assistant responses
what it does
A project memory system that stores decisions, tasks, and architectural patterns in a database with semantic search, helping AI assistants understand your project context better.
about
Context Portal is a community-built MCP server published by greatscottymac that provides AI assistants with tools and capabilities via the Model Context Protocol. Context Portal: Manage project memory with a database-backed system for decisions, tracking, and semantic search via a k It is categorized under ai ml, developer tools.
how to install
You can install Context Portal in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
license
Apache-2.0
Context Portal is released under the Apache-2.0 license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
readme
# Context Portal MCP (ConPort) ## (It's a memory bank!)
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. ## Prerequisites Before you begin, ensure you have the following installed: - **Python:** Version 3.8 or higher is recommended. - [Download Python](https://www.python.org/downloads/) - Ensure Python is added to your system's PATH during installation (especially on Windows). - **uv:** (Highly Recommended) A fast Python environment and package manager. Using `uv` significantly simplifies virtual environment creation and dependency installation. - [Install uv](https://github.com/astral-sh/uv#installation) ## Installation and Configuration (Recommended) The recommended way to install and run ConPort is by using `uvx` to execute the package directly from PyPI. This method avoids the need to manually create and manage virtual environments. ### `uvx` Configuration (Recommended for most IDEs) In your MCP client settings (e.g., `mcp_settings.json`), use the following configuration: ```json { "mcpServers": { "conport": { "command": "uvx", "args": [ "--from", "context-portal-mcp", "conport-mcp", "--mode", "stdio", "--workspace_id", "${workspaceFolder}", "--log-file", "./logs/conport.log", "--log-level", "INFO" ] } } } ``` - **`command`**: `uvx` handles the environment for you. - **`args`**: Contains the arguments to run the ConPort server. - `${workspaceFolder}`: This IDE variable is used to automatically provide the absolute path of the current project workspace. - `--log-file`: Optional: Path to a file where server logs will be written. If not provided, logs are directed to `stderr` (console). Useful for persistent logging and debugging server behavior. - `--log-level`: Optional: Sets the minimum logging level for the server. Valid choices are `DEBUG`, `INFO`, `WARNING`, `ERROR`, `CRITICAL`. Defaults to `INFO`. Set to `DEBUG` for verbose output during development or troubleshooting. > Important: Many IDEs do not expand `${workspaceFolder}` when launching MCP servers. Use one of these safe options: > 1) Provide an absolute path for `--workspace_id`. > 2) Omit `--workspace_id` at launch and rely on per-call `workspace_id` (recommended if your client provides it on every call). Alternative configuration (no `--workspace_id` at launch): ```json { "mcpServers": { "conport": { "command": "uvx", "args": [ "--from", "context-portal-mcp", "conport-mcp", "--mode", "stdio", "--log-file", "./logs/conport.log", "--log-level", "INFO" ] } } } ``` If you omit `--workspace_id`, the server will skip pre-initialization and initialize the database on the first tool call using the `workspace_id` provided in that call.
## Installation for Developers (from Git Repository) The most appropriate way to develop and test ConPort is to run it in your IDE as an MCP server using the configuration above. This exercises STDIO mode and real client behavior. If you need to run against a local checkout and virtualenv, you can configure your MCP client to launch the dev server via `uv run` and your `.venv/bin/python`: ```json { "mcpServers": { "conport": { "command": "uv", "args": [ "run", "--python", ".venv/bin/python", "--directory", "
For pre-upgrade cleanup, including clearing Python bytecode cache, please refer to the [v0.2.4_UPDATE_GUIDE.md](v0.2.4_UPDATE_GUIDE.md#1-pre-upgrade-cleanup). ## Usage with LLM Agents (Custom Instructions) ConPort's effectiveness with LLM agents is significantly enhanced by providing specific custom instructions or system prompts to the LLM. This repository includes tailored strategy files for different environments: - **For Roo Code:** - [`roo_code_conport_strategy`](https://github.com/GreatScottyMac/context-portal/blob/main/conport-custom-instructions/roo_code_conport_strategy): Contains detailed instructions for LLMs operating within the Roo Code VS Code extension, guiding them on how to use ConPort tools for context management.
- **For CLine:** - [`cline_conport_strategy`](https://github.com/GreatScottyMac/context-portal/blob/main/conport-custom-instructions/cline_conport_strategy): Contains detailed instructions for LLMs operating within the Cline VS Code extension, guiding them on how to use ConPort tools for context management.
- **For Windsurf Cascade:** - [`cascade_conport_strategy`](https://github.com/GreatScottyMac/context-portal/blob/main/conport-custom-instructions/cascade_conport_strategy): Specific guidance for LLMs integrated with the Windsurf Cascade environment. _Important_: When initiating a session in Cascade, it is necessary to explicity tell the LLM: ``` Initialize according to custom instructions ``` - **For General/Platform-Agnostic Use:** - [`generic_conport_strategy`](https://github.com/GreatScottyMac/context-portal/blob/main/conport-custom-instructions/generic_conport_strategy): Provides a platform-agnostic set of instructions for any MCP-capable LLM. It emphasizes using ConPort's `get_conport_schema` operation to dynamically discover the exact ConPort tool names and their parameters, guiding the LLM on _when_ and _why_ to perform conceptual interactions (like logging a decision or updating product context) rather than hardco ---
FAQ
- What is the Context Portal MCP server?
- Context Portal is a Model Context Protocol (MCP) server profile on explainx.ai. MCP lets AI hosts (e.g. Claude Desktop, Cursor) call tools and resources through a standard interface; this page summarizes categories, install hints, and community ratings.
- How do MCP servers relate to agent skills?
- Skills are reusable instruction packages (often SKILL.md); MCP servers expose live capabilities. Teams frequently combine both—skills for workflows, MCP for APIs and data. See explainx.ai/skills and explainx.ai/mcp-servers for parallel directories.
- How are reviews shown for Context Portal?
- This profile displays 63 aggregated ratings (sample rows for discoverability plus signed-in user reviews). Average score is about 4.7 out of 5—verify behavior in your own environment before production use.
Use Cases▌
Extended AI Capabilities
Add new capabilities to Claude beyond text generation
Example
Access external data sources, execute code, interact with tools and services
Transform Claude from chatbot to action-taking agent
Context Enhancement
Provide Claude with access to relevant context and data
Example
Load project documentation, access knowledge bases, query databases
Get more accurate, context-aware responses
Workflow Automation
Automate multi-step workflows combining AI and external tools
Example
Research → Summarize → Create document → Send notification
Complete complex tasks end-to-end without manual steps
Implementation Guide▌
Prerequisites
- ›Claude Desktop 0.7.0+ or Cursor IDE with MCP support
- ›Basic understanding of MCP architecture and capabilities
- ›Access credentials for integrated services (if required)
- ›Willingness to experiment and iterate on configuration
Time Estimate
15-60 minutes depending on server complexity
Installation Steps
- 1.Install MCP server: npm install -g [package-name] or via GitHub
- 2.Add server configuration to ~/.claude/mcp.json
- 3.Provide required credentials and configuration
- 4.Restart Claude Desktop to load new server
- 5.Test basic functionality with simple prompts
- 6.Explore capabilities and experiment with use cases
- 7.Document successful patterns for reuse
Troubleshooting
- ⚠MCP server not loading: Check config syntax, verify installation
- ⚠Connection errors: Check network, firewall, credentials
- ⚠Feature not working: Read server docs, check required parameters
- ⚠Performance issues: Monitor resource usage, check for network latency
- ⚠Conflicts with other servers: Check port assignments, namespace collisions
Best Practices▌
✓ Do
- +Read server documentation thoroughly before setup
- +Start with simple use cases to validate functionality
- +Test in non-production environment first
- +Monitor resource usage and performance
- +Keep servers updated for bug fixes and new features
- +Document configuration for team members
- +Use environment variables for sensitive configuration
✗ Don't
- −Don't grant overly permissive access to MCP servers
- −Don't skip reading security considerations in docs
- −Don't expose sensitive data without proper controls
- −Don't run untrusted MCP servers without code review
- −Don't ignore error messages—investigate root cause
💡 Pro Tips
- ★Combine multiple MCP servers for powerful workflows
- ★Create custom MCP servers for your specific needs
- ★Share successful configurations with team
- ★Use MCP inspector for debugging
- ★Join MCP community for tips and troubleshooting
Technical Details▌
Architecture
Model Context Protocol standardizes how AI hosts (Claude, Cursor) communicate with external tools and data sources through server implementations.
Protocols
- Model Context Protocol (MCP)
- JSON-RPC 2.0
- stdio or HTTP transport
Compatibility
- Claude Desktop
- Cursor IDE
- Custom MCP clients
When to Use This▌
✓ Use When
Use when you need Claude to access external data, execute actions, or integrate with tools. Best for extending AI capabilities beyond conversation.
✗ Avoid When
Avoid when native integrations exist (use official APIs directly), for real-time critical systems, or when security/compliance requires zero external dependencies.
Integration▌
- →Tool composition: Chain multiple MCP tools in workflows
- →Context augmentation: Provide AI with relevant external data
- →Action delegation: Let AI execute tasks on external systems
- →Bidirectional sync: Keep AI context and external systems in sync
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
List & Promote Your MCP Server
Share your MCP server with the developer community
Ratings
4.7★★★★★63 reviews- ★★★★★Amelia Li· Dec 28, 2024
I recommend Context Portal for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
- ★★★★★Li Mensah· Dec 28, 2024
Context Portal reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
- ★★★★★Shikha Mishra· Dec 20, 2024
According to our notes, Context Portal benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
- ★★★★★Ishan Reddy· Dec 20, 2024
According to our notes, Context Portal benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
- ★★★★★Amelia Perez· Dec 16, 2024
We wired Context Portal into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
- ★★★★★Neel Khan· Dec 12, 2024
Context Portal has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
- ★★★★★Sakshi Patil· Nov 19, 2024
I recommend Context Portal for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
- ★★★★★Diya Rahman· Nov 19, 2024
I recommend Context Portal for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
- ★★★★★Luis Martinez· Nov 19, 2024
Context Portal is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
- ★★★★★Yash Thakker· Nov 11, 2024
We wired Context Portal into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
showing 1-10 of 63