Knowledgebaseserver
K

Knowledgebaseserver

A server based on the MCP protocol that allows LLMs to store and retrieve memories during conversations, using an SQLite database to implement full-text search functionality.
2.5 points
8.5K

What is the MCP KnowledgeBase Server?

This is a server based on the Model Context Protocol (MCP), specifically designed to help AI models store memories (information fragments) during conversations and retrieve these memories in subsequent conversations. It uses an SQLite database to store information and leverages its full-text search functionality for efficient retrieval.

How to use the MCP KnowledgeBase Server?

You can deploy this server through a Docker container or a local .NET runtime environment. After deployment, AI models can interact with it via the MCP protocol to store and retrieve conversation memories.

Use cases

Suitable for AI conversation systems that require long-term memory functions, such as personal assistants, customer service robots, or any AI application scenarios that need context memory.

Main features

Memory storage
Allows AI models to store important information fragments as memories during conversations
Memory retrieval
Provides an efficient full-text search function to help AI models find relevant memories
SQLite backend
Uses a lightweight SQLite database to store data without the need for complex database settings
Docker support
Provides pre-built Docker images to simplify the deployment process
Advantages
Lightweight and easy to deploy
No complex database configuration required
Supports Docker containerized deployment
Provides an efficient full-text search function
Limitations
Designed for single-machine use, not suitable for large-scale distributed deployment
The performance of the SQLite database may be limited with large amounts of data
Requires basic server deployment knowledge

How to use

Choose a deployment method
Decide whether to run the server using a Docker container or a local .NET environment
Docker deployment
Create a persistent storage volume and run the Docker container
Local deployment
Clone the repository and run it after installing the .NET 9 SDK
Configure the AI client
Add the MCP server configuration to the AI client configuration file

Usage examples

Remember user preferences
AI can remember user preference settings, such as favorite colors and language preferences
Context memory
AI can remember previous conversation content to provide a more coherent communication experience

Frequently Asked Questions

Where is the database stored?
How to back up memory data?
Does it support simultaneous access by multiple AI instances?
Do memory data expire?

Related resources

Model Context Protocol official website
Official documentation and specifications for the MCP protocol
Docker image repository
Official Docker images
GitHub repository
Project source code and issue tracking
SQLite documentation
Official documentation for the SQLite database

Installation

Copy the following command to your Client for configuration
{
  "mcpServers": {
    "knowledgebase": {
      "command": "docker",
      "args": [
        "run",
        "--interactive",
        "--rm",
        "--volume", "knowledgebase:/db",
        "mbcrawfo/knowledge-base-server"
      ]
    }
  }
}

{
  "mcpServers": {
    "knowledgebase": {
      "command": "dotnet",
      "args": [
        "run",
        "--project", "/full/path/to/repo/src/KnowledgeBaseServer/KnowledgeBaseServer.csproj",
        "--no-restore",
        "--no-build"
      ]
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

A
Airweave
Airweave is an open - source context retrieval layer for AI agents and RAG systems. It connects and synchronizes data from various applications, tools, and databases, and provides relevant, real - time, multi - source contextual information to AI agents through a unified search interface.
Python
7.0K
5 points
V
Vestige
Vestige is an AI memory engine based on cognitive science. By implementing 29 neuroscience modules such as prediction error gating, FSRS - 6 spaced repetition, and memory dreaming, it provides long - term memory capabilities for AI. It includes a 3D visualization dashboard and 21 MCP tools, runs completely locally, and does not require the cloud.
Rust
4.5K
4.5 points
A
Assistant Ui
assistant - ui is an open - source TypeScript/React library for quickly building production - grade AI chat interfaces, providing composable UI components, streaming responses, accessibility, etc., and supporting multiple AI backends and models.
TypeScript
7.3K
5 points
N
Next Devtools MCP
The Next.js development tools MCP server provides Next.js development tools and utilities for AI programming assistants such as Claude and Cursor, including runtime diagnostics, development automation, and document access functions.
TypeScript
10.8K
5 points
P
Praisonai
PraisonAI is a production-ready multi-AI agent framework with self-reflection capabilities, designed to create AI agents to automate the solution of various problems from simple tasks to complex challenges. It simplifies the construction and management of multi-agent LLM systems by integrating PraisonAI agents, AG2, and CrewAI into a low-code solution, emphasizing simplicity, customization, and effective human-machine collaboration.
Python
10.4K
5 points
H
Haiku.rag
Haiku RAG is an intelligent retrieval - augmented generation system built on LanceDB, Pydantic AI, and Docling. It supports hybrid search, re - ranking, Q&A agents, multi - agent research processes, and provides local - first document processing and MCP server integration.
Python
10.2K
5 points
B
Blueprint MCP
Blueprint MCP is a chart generation tool based on the Arcade ecosystem. It uses technologies such as Nano Banana Pro to automatically generate visual charts such as architecture diagrams and flowcharts by analyzing codebases and system architectures, helping developers understand complex systems.
Python
9.6K
4 points
K
Klavis
Klavis AI is an open-source project that provides a simple and easy-to-use MCP (Model Context Protocol) service on Slack, Discord, and Web platforms. It includes various functions such as report generation, YouTube tools, and document conversion, supporting non-technical users and developers to use AI workflows.
TypeScript
21.7K
5 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
24.4K
4.3 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
20.4K
4.5 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
35.3K
5 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
72.5K
4.3 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
31.1K
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
64.4K
4.5 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
21.0K
4.5 points
C
Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
96.8K
4.7 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2026AIBase