memory-bank-mcp
A Model Context Protocol (MCP) server implementation for remote memory bank management, inspired by Cline Memory Bank.
GitHub Stars
655
User Rating
Not Rated
Favorites
0
Views
122
Forks
62
Issues
12
Node.js: 18.0.0以上npm: 8.0.0以上Installation
Installation
Prerequisites
Please specify required software and versions:Installation Steps
1. Clone Repository
bash
git clone https://github.com/alioshr/memory-bank-mcp.git
cd memory-bank-mcp
2. Install Dependencies
bash
npm install
3. Configure Claude Desktop
Editclaude_desktop_config.json to add the MCP server:
json
{
"mcpServers": {
"memory-bank-mcp": {
"command": "npx",
"args": ["-y", "@allpepper/memory-bank-mcp"],
"env": {
"MEMORY_BANK_ROOT": ""
}
}
}
}
4. Start Server
bash
npm start
Troubleshooting
Common Issues
Issue: Server won't start Solution: Check Node.js version and reinstall dependencies. Issue: Not recognized by Claude Desktop Solution: Verify configuration file path and syntax.Configuration
Configuration
Basic Configuration
Claude Desktop Setup
Edit~/.config/claude-desktop/claude_desktop_config.json (macOS/Linux) or
%APPDATA%\Claude\claude_desktop_config.json (Windows):
json
{
"mcpServers": {
"memory-bank-mcp": {
"command": "npx",
"args": ["-y", "@allpepper/memory-bank-mcp"],
"env": {
"MEMORY_BANK_ROOT": ""
}
}
}
}
Environment Variables
Set the following environment variables as needed:bash
export MEMORY_BANK_ROOT=""
Advanced Configuration
Security Settings
Performance Tuning
Configuration Examples
Basic Configuration
json
{
"mcpServers": {
"memory-bank-mcp": {
"command": "npx",
"args": ["-y", "@allpepper/memory-bank-mcp"],
"env": {
"MEMORY_BANK_ROOT": "/path/to/memory-bank"
}
}
}
}
Examples
Examples
Basic Usage
Here are basic usage examples for the MCP server:Using with Claude Desktop
Available tools from this MCP server:
- tool1: Description of tool1
- tool2: Description of tool2
Programmatic Usage
javascript
// JavaScript example (Node.js)
const { MCPClient } = require('@modelcontextprotocol/client');
const client = new MCPClient();
await client.connect();
// Execute tool
const result = await client.callTool('toolName', {
parameter1: 'value1',
parameter2: 'value2'
});
console.log(result);
Advanced Examples
Automation Script
bash
#!/bin/bash
Batch processing example
for file in *.txt; do
mcp-tool process "$file"
done
API Integration
python
Python example
import requests
import json
def call_mcp_tool(tool_name, params):
response = requests.post(
'http://localhost:3000/mcp/call',
json={
'tool': tool_name,
'parameters': params
}
)
return response.json()
Usage example
result = call_mcp_tool('analyze', {
'input': 'sample data',
'options': {'format': 'json'}
})
Use Cases
Additional Resources
9
Followers
10
Repositories
0
Gists
0
Total Contributions
MCP Tasks is an efficient task management tool designed to minimize tool confusion and maximize LLM budget efficiency. It offers powerful search, filtering, and organization capabilities across multiple file formats, including Markdown, JSON, and YAML. Users can easily manage their tasks with its intuitive interface.
KnowledgeGraph MCP is a server that provides persistent memory to LLMs across conversations. It supports multiple storage backends like PostgreSQL and SQLite, allowing for project separation and better information retrieval. Users can manage their projects and preferences effectively with features like fuzzy search.
The SmartLead MCP Server is a cutting-edge solution for cold email automation leveraging AI. It offers over 116 API tools for seamless integration and features a one-click setup, making it enterprise-ready. By integrating with AI coding assistants, it enables the creation of efficient workflows tailored for developers and marketers alike.