AIAML MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
AI Agnostic Memory Layer (AIAML)
A simple local memory system for AI agents that provides persistent storage and retrieval using the Model Context Protocol (MCP).
Quick Start
MCP Client Setup (Claude Desktop, etc.)
Add this to your MCP client configuration (e.g., Claude Desktop's claude_desktop_config.json):
Minimal setup (uses defaults):
{
"mcpServers": {
"aiaml": {
"command": "uvx",
"args": ["--from", "git+https://github.com/m2de/aiaml.git", "aiaml"]
}
}
}Customised setup
{
"mcpServers": {
"aiaml": {
"command": "uvx",
"args": ["--from", "git+https://github.com/m2de/aiaml.git", "aiaml"],
"env": {
"AIAML_MEMORY_DIR": "/path/to/your/aiaml-data",
"AIAML_ENABLE_SYNC": "true",
"AIAML_GITHUB_REMOTE": "git@github.com:yourusername/your-memory-repo.git",
"AIAML_LOG_LEVEL": "INFO"
}
}
}
}That's it! No installation required - uvx will automatically handle dependencies.
Requirements
Python 3.10+
uv(install withbrew install uvorpip install uv)
Alternative Setup Methods
If you prefer a local installation:
{
"mcpServers": {
"aiaml": {
"command": "uv",
"args": ["--directory", "/path/to/aiaml", "run", "aiaml"]
}
}
}Related MCP server: pi-mem
Memory Tools
The server provides three MCP tools for AI agents:
remember- Store new memories with metadatathink- Search memories by keywordsrecall- Retrieve full memory details by ID
Memory Format
Memories are stored as markdown files:
---
id: abc12345
timestamp: 2024-01-15T10:30:00.123456
agent: claude
user: marco
topics: [programming, python]
---
Memory content goes here.Configuration
Environment Variables
All configuration is done through environment variables (either in MCP config or .env file):
Variable | Default | Description |
|
| Base directory for all AIAML data |
|
| Enable Git synchronization |
|
| Git remote URL for sync (optional) |
|
| Logging level (DEBUG, INFO, WARNING, ERROR) |
|
| Maximum search results returned |
|
| Git operation retry attempts |
|
| Delay between git retries (seconds) |
Directory Structure
When you set AIAML_MEMORY_DIR="/path/to/aiaml", the following structure is created:
/path/to/aiaml/
├── files/ # Memory files (*.md)
├── backups/ # Backup files
├── temp/ # Temporary files
├── locks/ # File locks
└── .git/ # Git repository (if sync enabled)Local .env File
If running locally, you can create a .env file:
AIAML_MEMORY_DIR="/path/to/your/aiaml-data"
AIAML_ENABLE_SYNC="true"
AIAML_GITHUB_REMOTE="git@github.com:yourusername/your-memory-repo.git"
AIAML_LOG_LEVEL="INFO"Testing
# Run all tests
python3 test.py
# Run individual tests
python3 test_core_functionality.py
python3 test_mcp_integration.pyContributing
Fork the repository
Create a feature branch
Add tests for new functionality
Submit a pull request
Keep it simple - this project focuses on reliable local memory storage for AI agents.
License
MIT License - see LICENSE file for details.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Persistent memory, knowledge graph, task management and more for AI agents via MCP.
Persistent memory for AI agents across Claude, ChatGPT and any MCP client.
Hosted MCP memory for coding agents: persistent across sessions, editable markdown, team sharing.
Shared memory for your AI tools: tasks, notes and context every tool can read and write over MCP.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides portable memory for AI agents using plain Markdown files. Enables storing, recalling, and managing memories via MCP tools like recall, remember, forget, list, and get.7 npm1MIT
- AlicenseNot gradedqualityDmaintenanceProvides a cross-session memory system for AI assistants via MCP, with markdown-based storage, BM25 retrieval, and tools for writing, searching, reading, and managing memories.MIT
- AlicenseNot gradedqualityCmaintenanceProvides persistent, shared memory for AI agents via MCP, enabling retrieval of relevant memories instead of loading entire context. Allows agents across projects, machines, and tools to share a single auditable, markdown-native brain.5AGPL 3.0
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to store, search, consolidate, and trace durable memories as plain Markdown files, with a disposable BM25 index and provenance tracking via MCP tools.MIT