Basic information
About MCP KnowledgeBase Server
Model Context Protocol (MCP) server allowing LLMs to store and search knowledge in a SQLite database
MCP KnowledgeBase Server is a MCP server in the Databases category listed in the AddMCP.net directory, published by mbcrawfo. Supported transport: stdio. Runtime: c#. License: MIT. The repository has 7 GitHub stars. Source code is hosted on github.com.
Setup
{
"mcpServers": {
"knowledgebase": {
"command": "docker",
"args": [
"run",
"--interactive",
"--rm",
"--volume",
"knowledgebase:/db",
"mbcrawfo/knowledge-base-server"
]
}
}
}
{
"mcpServers": {
"knowledgebase": {
"command": "docker",
"args": [
"run",
"--interactive",
"--rm",
"--volume",
"knowledgebase:/db",
"mbcrawfo/knowledge-base-server"
]
}
}
}
{
"servers": {
"knowledgebase": {
"command": "docker",
"args": [
"run",
"--interactive",
"--rm",
"--volume",
"knowledgebase:/db",
"mbcrawfo/knowledge-base-server"
]
}
}
}
MCP KnowledgeBase Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"knowledgebase": {
"command": "docker",
"args": [
"run",
"--interactive",
"--rm",
"--volume",
"knowledgebase:/db",
"mbcrawfo/knowledge-base-server"
]
}
}
}
MCP KnowledgeBase Server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MCP KnowledgeBase Server?
MCP KnowledgeBase Server is a Model Context Protocol (MCP) server that allows LLMs to store memories during a conversation and search them later. Memories are stored in a SQLite database, and its full text search features power the memory search.
How to use MCP KnowledgeBase Server?
Deploy via Docker with a persistent volume or run locally with the .NET 9 SDK. Configure the server in claude_desktop_config.json using the provided examples. Control the database location with the environment variables DATABASE_NAME or DATABASE_PATH. A default "General Memory Usage" prompt is included to guide the LLM.
Key features of MCP KnowledgeBase Server
- Store memories during LLM conversations
- Search memories using SQLite full text search
- Docker deployment with persistent volume support
- Local deployment with .NET 9 SDK
- Custom database location via environment variables
- Includes a default memory usage prompt for LLMs
Use cases of MCP KnowledgeBase Server
- Storing user preferences across conversations for personalized AI responses
- Building a searchable long-term memory for AI assistants
- Enabling context-aware recall of past interactions
Frequently asked questions
1 What are the runtime requirements for MCP KnowledgeBase Server?
For local deployment, the .NET 9 SDK is required. For containerized deployment, Docker is needed.
2 How can I control where the database is stored?
Set DATABASE_NAME to use a custom filename in the default location, or set DATABASE_PATH to specify the full path to the database file. Using DATABASE_PATH ignores DATABASE_NAME.
3 What database does MCP KnowledgeBase Server use?
It uses SQLite with full text search capabilities.
4 Can I customize the prompt given to the LLM?
The server includes a "General Memory Usage" prompt by default, but you can replace it with a custom prompt to be more specific to your usage.
5 How do I persist data when using Docker?
Create a Docker volume named knowledgebase and mount it to /db in the container. For a custom database file, pass the DATABASE_PATH environment variable via --env.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In