io.github.parallelromb/smara
Persistent cross-platform memory for AI agents with Ebbinghaus decay scoring.
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
@smara/mcp-serverclaude mcp add smara -e 'SMARA_API_KEY=<your smara_api_key>' -- npx -y @smara/mcp-server@2.0.2
{
"mcpServers": {
"smara": {
"command": "npx",
"args": [
"-y",
"@smara/mcp-server@2.0.2"
],
"env": {
"SMARA_API_KEY": "<your smara_api_key>"
}
}
}
}
متغيرات البيئة
SMARA_API_KEYإلزامي سري Your Smara API key from smara.io
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
@smara/mcp-server
MCP server for the Smara Memory API — give any AI app persistent memory with Temporal Memory Scoring™.
Quick Start
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"smara": {
"command": "npx",
"args": ["-y", "@smara/mcp-server"],
"env": {
"SMARA_API_KEY": "your-api-key-here"
}
}
}
}
Get a free API key at smara.io (10,000 memories, no credit card).
Tools
| Tool | Description |
|---|---|
store_memory | Store a fact about a user with importance scoring |
search_memories | Semantic search with Temporal Memory Scoring™ |
get_user_context | Pre-formatted context string for LLM system prompts |
delete_memory | Delete a specific memory |
get_usage | Check plan limits and memory count |
How It Works
Smara uses Temporal Memory Scoring™ — a proprietary ranking system that makes AI memory work like human recall. Memories naturally fade over time, modulated by importance and access patterns. Recent, critical memories surface first. Stale, trivial ones fade. Contradictions are auto-detected and resolved.
Works With
- Claude Desktop
- Claude Code
- Cursor
- Windsurf
- VS Code (GitHub Copilot)
- Any MCP-compatible client
Environment Variables
| Variable | Required | Default |
|---|---|---|
SMARA_API_KEY | Yes | — |
SMARA_API_URL | No | https://api.smara.io |
License
MIT
الأسئلة الشائعة
ما هو io.github.parallelromb/smara؟
Persistent cross-platform memory for AI agents with Ebbinghaus decay scoring.
كيف أثبّت io.github.parallelromb/smara؟
يعمل على جهازك. في Claude Code: claude mcp add smara -e 'SMARA_API_KEY=<your smara_api_key>' -- npx -y @smara/mcp-server@2.0.2. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج io.github.parallelromb/smara إلى مفتاح API؟
نعم. يتطلب SMARA_API_KEY، وتضبطها في إعداداته.
هل io.github.parallelromb/smara مفتوح المصدر؟
شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.
من يصون io.github.parallelromb/smara؟
ينشره smara-io. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.