
evangstav_python-memory-mcp-server
Espejo dehttps: //github.com/evangstav/python-memory-mcp-server
0
Github Watches
1
Github Forks
1
Github Stars
Memory MCP Server
An implementation of the Model Context Protocol (MCP) server for managing Claude's memory and knowledge graph.
Installation
You can install the package using uv
:
uvx memory-mcp-server
Or install it from the repository:
uv pip install git+https://github.com/estav/python-memory-mcp-server.git
Usage
Once installed, you can run the server using:
uvx memory-mcp-server
Configuration
The server expects certain environment variables to be set:
-
DATABASE_URL
: SQLite database URL for storing the knowledge graph - Add any other configuration variables here...
Integration with Claude Desktop
To use this MCP server with Claude Desktop, add the following to your claude_desktop_config.json
:
{
"mcpServers": {
"memory": {
"command": "uvx",
"args": ["memory-mcp-server"]
}
}
}
Development
- Clone the repository:
git clone https://github.com/estav/python-memory-mcp-server.git
cd python-memory-mcp-server
- Create a virtual environment and install dependencies:
uv venv
source .venv/bin/activate
uv pip install -e ".[test]" # Include test dependencies
- Run tests:
pytest # Run all tests
pytest -v # Run with verbose output
pytest -v --cov # Run with coverage report
- Run the server locally:
python -m memory_mcp_server
Testing
The project uses pytest for testing. The test suite includes:
Unit Tests
-
test_knowledge_graph_manager.py
: Tests for basic knowledge graph operations -
test_optimized_knowledge_graph_manager.py
: Tests for optimized/batch operations -
test_server.py
: Tests for MCP server implementation
Running Tests
# Run all tests
pytest
# Run with coverage report
pytest --cov=memory_mcp_server
# Run specific test file
pytest tests/test_server.py
# Run tests with verbose output
pytest -v
Test Fixtures
The conftest.py
file provides common test fixtures:
-
temp_db_path
: Creates a temporary SQLite database -
knowledge_graph_manager
: Provides a KnowledgeGraphManager instance -
optimized_knowledge_graph_manager
: Provides an OptimizedKnowledgeGraphManager instance
License
This project is licensed under the MIT License - see the LICENSE file for details.
相关推荐
I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.
I find academic articles and books for research and literature reviews.
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
Confidential guide on numerology and astrology, based of GG33 Public information
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Advanced software engineer GPT that excels through nailing the basics.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.
La aplicación AI de escritorio todo en uno y Docker con trapo incorporado, agentes de IA, creador de agentes sin código, compatibilidad de MCP y más.
Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx
Plataforma de automatización de flujo de trabajo de código justo con capacidades de IA nativas. Combine el edificio visual con código personalizado, auto-anfitrión o nube, más de 400 integraciones.
🧑🚀 全世界最好的 llM 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Resumen de los mejores recursos del mundo.
Espejo dehttps: //github.com/agentience/practices_mcp_server
Una lista curada de servidores de protocolo de contexto del modelo (MCP)
Reviews

user_bDbxnemn
The Sentry MCP Server by inceptionJh is a game-changer for managing server environments. The user-friendly interface and robust performance make it an essential tool for anyone in need of reliable server management. Definitely worth checking out for seamless operations! Highly recommend visiting https://mcp.so/server/sentry-mcp-server/inceptionJh for more details.