a year ago
research-and-dataModel Context Protocol (MCP) server allowing LLMs to store and search knowledge in a SQLite database
Overview
What is MCP KnowledgeBase Server?
MCP KnowledgeBase Server is a Model Context Protocol (MCP) server that enables large language models (LLMs) to store and retrieve memories during conversations using a SQLite database.
How to use MCP KnowledgeBase Server?
To use the server, you can run it in a Docker container or locally using the .Net CLI. Set the environment variables for the database location and filename, and configure the server in your application settings.
Key features of MCP KnowledgeBase Server?
- Allows LLMs to store and search memories.
- Utilizes SQLite for memory storage and full-text search capabilities.
- Supports both Docker and local execution.
Use cases of MCP KnowledgeBase Server?
- Enhancing conversational AI by allowing it to remember past interactions.
- Storing user preferences and context for personalized responses.
- Enabling complex dialogue systems that require memory.
FAQ from MCP KnowledgeBase Server?
- Can I run the server locally?
Yes, you can run it locally using the .Net CLI after setting up the necessary environment variables.
- What should I do if the server hangs on shutdown?
You will need to manually kill the Docker container or the dotnet process if running locally.
- Is there a way to initialize the database?
Yes, you can use the
--init-dbparameter to create or upgrade databases for testing.