# Version handling with setuptools-scm support
try:
# Try to get version from installed package metadata (production)
import importlib.metadata
__version__ = importlib.metadata.version("selfmemory")
except Exception:
# Fallback to _version.py generated by setuptools-scm (development)
try:
from selfmemory._version import version as __version__
except ImportError:
# Final fallback if no version info available
__version__ = "0.3.0+unknown"
from selfmemory.memory.main import SelfMemory # noqa
from selfmemory.client.main import SelfMemoryClient # noqa
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/shrijayan/SelfMemory'
If you have feedback or need assistance with the MCP directory API, please join our Discord server