MCP KnowledgeBase Server
@mbcrawfo
关于 MCP KnowledgeBase Server
Model Context Protocol (MCP) server allowing LLMs to store and search knowledge in a SQLite database
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"knowledgebase": {
"command": "docker",
"args": [
"run",
"--interactive",
"--rm",
"--volume",
"knowledgebase:/db",
"mbcrawfo/knowledge-base-server"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
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
FAQ from MCP KnowledgeBase Server
What are the runtime requirements for MCP KnowledgeBase Server?
For local deployment, the .NET 9 SDK is required. For containerized deployment, Docker is needed.
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.
What database does MCP KnowledgeBase Server use?
It uses SQLite with full text search capabilities.
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.
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.
数据库 分类下的更多 MCP 服务器

Sqlite
modelcontextprotocolModel Context Protocol Servers
MCP Server for MySQL based on NodeJS
benborlaA Model Context Protocol server that provides read-only access to MySQL databases. This server enables LLMs to inspect database schemas and execute read-only queries.
Elasticsearch MCP Server
elasticMySQL MCP Server
designcomputerA Model Context Protocol (MCP) server that enables secure interaction with MySQL databases
mcp_mysql_server
wenb1n-devModel Context Protocol (MCP) server that supports secure interaction with MySQL databases and has anomaly analysis capabilities.更加牛逼!更加好用!不仅止于mysql的增删改查功能; 还包含了数据库异常分析能力;且便于开发者们进行个性化的工具扩展
评论