Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cbunting99/enhanced-mcp-memory
/ functions
Functions
118 in github.com/cbunting99/enhanced-mcp-memory
⨍
Functions
118
◇
Types & classes
11
↓ 19 callers
Method
_check_connection
Check if database connection is valid
database.py:41
↓ 8 callers
Method
add_context_memory
Add a new memory to the database with enhanced features
memory_manager.py:139
↓ 7 callers
Method
start_session
Start a new session, auto-detecting or creating project
memory_manager.py:46
↓ 6 callers
Method
add_task
Add a new task
database.py:338
↓ 6 callers
Method
estimate_token_count
Estimate token count for text
sequential_thinking.py:188
↓ 6 callers
Method
get_tasks
Retrieve tasks with optional filters
database.py:359
↓ 4 callers
Method
auto_learn_project_conventions
Automatically learn project conventions from files and environment
project_conventions.py:63
↓ 4 callers
Method
search_memories
Simple text search in memories
database.py:427
↓ 4 callers
Method
update_task_status
Update task status
database.py:384
↓ 3 callers
Method
_generate_embedding
Generate embedding vector for text
memory_manager.py:741
↓ 3 callers
Method
create_context_summary
Create a compressed context summary
sequential_thinking.py:305
↓ 3 callers
Method
generate_id
Generate unique ID
memory_manager.py:732
↓ 3 callers
Method
get_memory_context
Get formatted memory context for AI prompt
memory_manager.py:413
↓ 3 callers
Method
load_relevant_memories
Load relevant memories for current context
memory_manager.py:390
↓ 2 callers
Method
_calculate_similarity
Calculate cosine similarity between two embeddings
memory_manager.py:752
↓ 2 callers
Method
add_thinking_step
Add a step to the thinking chain
sequential_thinking.py:227
↓ 2 callers
Method
close
Close database connection
database.py:531
↓ 2 callers
Method
create_chat_session
Create a new chat session for conversation continuity
sequential_thinking.py:422
↓ 2 callers
Method
create_thinking_chain
Create a new sequential thinking chain
sequential_thinking.py:205
↓ 2 callers
Method
extract_title
Extract meaningful title from content
memory_manager.py:371
↓ 2 callers
Method
get_database_stats
Get comprehensive database statistics
database.py:702
↓ 2 callers
Method
get_memories
Retrieve memories with optional filters
database.py:312
↓ 2 callers
Method
get_project_conventions_summary
Get a formatted summary of project conventions for AI context
project_conventions.py:546
↓ 2 callers
Method
get_project_summary
Get a summary of project statistics with all string values
database.py:479
↓ 2 callers
Method
get_stats
(self)
mcp_server_enhanced.py:75
↓ 2 callers
Method
to_dict
Convert to dictionary for JSON serialization
sequential_thinking.py:40
↓ 1 callers
Method
_create_auto_relationships
Automatically create relationships between memories
memory_manager.py:220
↓ 1 callers
Method
_detect_project_type
Detect project type from files
project_conventions.py:143
↓ 1 callers
Method
_ensure_thinking_tables
Create tables for sequential thinking if they don't exist
sequential_thinking.py:111
↓ 1 callers
Method
_extract_actions
Extract pending actions from content
sequential_thinking.py:401
↓ 1 callers
Method
_extract_decisions
Extract decisions made from content
sequential_thinking.py:380
↓ 1 callers
Method
_extract_key_points
Extract key points from content using pattern matching
sequential_thinking.py:356
↓ 1 callers
Method
_generate_content_hash
Generate a hash for content to detect duplicates
memory_manager.py:737
↓ 1 callers
Method
_get_os_preferred_commands
Get OS-specific preferred commands
project_conventions.py:120
↓ 1 callers
Method
_learn_commands
Learn project-specific commands
project_conventions.py:179
↓ 1 callers
Method
_learn_dependencies
Learn dependency management patterns
project_conventions.py:319
↓ 1 callers
Method
_learn_deployment_patterns
Learn deployment and build patterns
project_conventions.py:358
↓ 1 callers
Method
_learn_environment
Learn operating system and environment details
project_conventions.py:92
↓ 1 callers
Method
_learn_testing_patterns
Learn testing frameworks and patterns
project_conventions.py:398
↓ 1 callers
Method
_learn_tools
Learn development tools used in the project
project_conventions.py:273
↓ 1 callers
Method
_migrate_schema
Migrate database schema to add new columns if they don't exist
database.py:223
↓ 1 callers
Method
_store_conventions_as_memories
Store learned conventions as project memories
project_conventions.py:441
↓ 1 callers
Method
auto_create_task_from_context
Enhanced automatic task creation with better detection and project creation
memory_manager.py:633
↓ 1 callers
Method
classify_memory
Enhanced memory classification with better patterns
memory_manager.py:313
↓ 1 callers
Method
cleanup_old_data
Clean up old memories, logs, and completed tasks
database.py:610
↓ 1 callers
Method
consolidate_chat_session
Consolidate a chat session into a summary for continuation
sequential_thinking.py:440
↓ 1 callers
Method
create_project_from_prompt
Create a new project based on user prompt/description
memory_manager.py:510
↓ 1 callers
Method
create_tables
Create all necessary tables for the MCP memory system
database.py:59
↓ 1 callers
Method
detect_project_name
Auto-detect project name from path or workspace
memory_manager.py:77
↓ 1 callers
Method
extract_project_name_from_prompt
Extract a meaningful project name from user prompt
memory_manager.py:540
↓ 1 callers
Method
generate_project_description
Generate project description from available information
memory_manager.py:106
↓ 1 callers
Method
get_or_create_project
Get existing project or create new one
database.py:263
↓ 1 callers
Method
get_session_continuation_context
Get optimized context for continuing from a previous session
sequential_thinking.py:536
↓ 1 callers
Method
get_task_reminder
Generate task reminder for AI
memory_manager.py:482
↓ 1 callers
Method
get_thinking_chain
Retrieve a complete thinking chain
sequential_thinking.py:256
↓ 1 callers
Method
get_thinking_chains_summary
Get summary of recent thinking chains
sequential_thinking.py:578
↓ 1 callers
Function
initialize_session
Initialize session on server startup
mcp_server_enhanced.py:869
↓ 1 callers
Method
is_new_project_request
Check if the content looks like a new project request
memory_manager.py:599
↓ 1 callers
Function
main
Main server entry point
mcp_server_enhanced.py:886
↓ 1 callers
Method
optimize_memories
Analyze and optimize memory storage by removing duplicates
database.py:651
↓ 1 callers
Method
setup_database
Create database connection and initialize tables
database.py:48
↓ 1 callers
Method
suggest_correct_command
Suggest correct project-specific command based on user input
project_conventions.py:575
↓ 1 callers
Function
test_update_task_status
()
tests/test_update_task_status.py:15
↓ 1 callers
Method
track_call
(self, tool_name: str, duration: float, success: bool = True)
mcp_server_enhanced.py:69
Method
__init__
Initialize database connection and create tables if they don't exist
database.py:35
Method
__init__
(self)
mcp_server_enhanced.py:51
Method
__init__
(self)
mcp_server_enhanced.py:63
Method
__init__
(self, memory_manager, db_manager)
project_conventions.py:22
Method
__init__
(self, memory_manager, thinking_engine)
enhanced_automation_middleware.py:13
Method
__init__
(self, db_manager: DatabaseManager, convention_learner: ProjectConventionLearner = None)
memory_manager.py:27
Method
__init__
(self, db_manager, memory_manager)
sequential_thinking.py:94
Method
_parse_cargo_toml
Parse Cargo.toml for Rust project commands
project_conventions.py:264
Method
_parse_makefile
Parse Makefile for make targets
project_conventions.py:235
Method
_parse_package_json
Parse package.json for npm scripts
project_conventions.py:222
Method
_parse_pyproject_toml
Parse pyproject.toml for Python project commands
project_conventions.py:249
Method
add_memory
Add a new memory to the database
database.py:291
Method
add_notification
Add a new notification
database.py:539
Method
add_relationship
Add a relationship in the knowledge graph
database.py:397
Function
add_thinking_step
Add a step to an existing thinking chain
mcp_server_enhanced.py:381
Function
auto_learn_project_conventions
Automatically learn and remember project-specific conventions, commands, and environment details
mcp_server_enhanced.py:746
Function
auto_process_conversation
Automatically process conversation content to extract memories and tasks
mcp_server_enhanced.py:619
Function
cleanup_old_data
Clean up old memories, logs, and completed tasks
mcp_server_enhanced.py:180
Method
clear_notifications
Clear notifications (optionally for a specific project)
database.py:595
Function
consolidate_current_session
Consolidate the current session into a summary for continuation
mcp_server_enhanced.py:507
Function
create_context_summary
Create a compressed summary of context to save tokens
mcp_server_enhanced.py:438
Function
create_task
Create a new task for the current project
mcp_server_enhanced.py:260
Function
decompose_task
Decompose a complex prompt into parent task and subtasks
mcp_server_enhanced.py:679
Function
decorator
(func)
database.py:19
Function
estimate_token_usage
Estimate token count for given text
mcp_server_enhanced.py:595
Function
get_database_stats
Get comprehensive database statistics
mcp_server_enhanced.py:221
Function
get_memory_context
Get current memory context and task reminders for the AI
mcp_server_enhanced.py:241
Method
get_notifications
Retrieve notifications with optional filters
database.py:558
Function
get_optimized_context
Get optimized context that fits within token limits
mcp_server_enhanced.py:529
Function
get_performance_stats
Get server performance statistics
mcp_server_enhanced.py:170
Function
get_project_conventions
Get current project conventions and environment details for AI context
mcp_server_enhanced.py:776
Function
get_project_summary
Get summary of the current project
mcp_server_enhanced.py:335
Method
get_related_items
Get all items related to a specific item
database.py:414
Function
get_tasks
Get tasks for the current project
mcp_server_enhanced.py:283
Function
get_thinking_chain
Retrieve a complete thinking chain with all steps
mcp_server_enhanced.py:411
Function
health_check
Check server health and database connectivity
mcp_server_enhanced.py:135
next →
1–100 of 118, ranked by callers