
内存银行加载器MCP
这是一个MCP服务器,用于一次检索内存银行目录中的所有文件。其目的是减少加载内存银行时的AI工具调用频率,从而节省时间和金钱。
1
Github Watches
0
Github Forks
2
Github Stars
memory-bank-loader-mcp
This is an MCP server for retrieving all files in the memory-bank directory at once. Its purpose is to reduce AI tool invocation frequency when loading memory-bank, saving both time and money.
Features
- Recursively reads all files within the specified directory (e.g., a 'memory-bank' directory).
- Sorts files with a specific priority order:
- Root-level files come first.
- Specific priority files (
projectbrief.md
, etc.) within the root are ordered first. - All other files (non-priority root and all subdirectory files) are sorted alphabetically by relative path.
- Optimized for providing clear and structured context to AI models.
Tools
-
read-memory-bank
- Read and consolidates files from the specified memory bank directory. Use this to provide project context (Memory Bank) to the AI.
-
Input:
-
memoryBankDirectoryFullPath
(string, required): The full, absolute path to the directory containing the memory bank files.
-
-
Returns:
- Read file list.
Setup
NPX
{
"mcpServers": {
"memory-bank-loader": {
"command": "npx",
"args": [
"-y",
"memory-bank-loader-mcp@latest",
],
}
}
}
Build
$ npm run build
{
"mcpServers": {
"memory-bank-loader": {
"command": "node",
"args": [
"/full/path/to/memory-bank-loader-mcp/build/index.js"
]
}
}
}
License
MIT
相关推荐
Confidential guide on numerology and astrology, based of GG33 Public information
Take an adjectivised noun, and create images making it progressively more adjective!
Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease
Reviews

user_WPpapFMb
As a dedicated user of memory-bank-loader-mcp, I am impressed by its seamless integration and efficient performance. Abeyuya has crafted a robust tool essential for memory management tasks. Simple to configure and reliable, it has significantly streamlined my workflow. Highly recommend checking it out!