ekkOS Memory MCP Server
This repository contains the official, canonical MCP server for ekkOS — the persistent memory layer for AI coding assistants.
Note: Forks or mirrors of this repository may be outdated. For the most current version, always refer to the npm package or docs.ekkos.dev.
What This Package Does
The ekkOS MCP server gives your AI assistant persistent memory across sessions. Your AI can:
- Search for patterns, solutions, and past conversations
- Save solutions that work for future retrieval
- Follow rules you define (MUST/NEVER/PREFER/AVOID)
- Check actions against your rules before executing
This works with Claude Code, Cursor, Windsurf, VS Code, and other MCP-compatible tools.
What This Package Does NOT Document
This package intentionally does not describe:
- Internal system architecture
- How patterns are ranked or selected
- Server-side processing logic
- Infrastructure topology
Quick Start
1. Install
npm install -g @ekkos/mcp-server
2. Get Your API Key
- Visit https://platform.ekkos.dev
- Sign in or create an account
- Copy your API key from the dashboard
- Copy your User ID from your profile
3. Configure Your IDE
For Cursor: Add to ~/.cursor/mcp.json
For Windsurf: Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"ekkos-memory": {
"url": "https://mcp.ekkos.dev/api/v1/mcp/sse?api_key=your-api-key-here",
"transport": "sse",
"headers": {
"Authorization": "Bearer your-api-key-here",
"X-User-ID": "your-user-id-here"
}
}
}
}
For Claude Code: Add to ~/.claude/settings.json
{
"mcpServers": {
"ekkos-memory": {
"command": "npx",
"args": ["-y", "@ekkos/mcp-server"],
"env": {
"EKKOS_API_KEY": "your-api-key-here",
"EKKOS_USER_ID": "your-user-id-here"
}
}
}
}
4. Restart Your IDE
The MCP server will be available in all chat sessions.
42 MCP Tools
Your AI gets access to 42 memory tools across 11 categories. Full documentation →
Core Memory (7)
| Tool | Description |
|---|---|
ekkOS_Search | Search all memory layers for patterns, solutions, and context |
ekkOS_Forge | Create a new pattern from a learned solution |
ekkOS_Directive | Create user rules (MUST/NEVER/PREFER/AVOID) |
ekkOS_Context | Get relevant context for a task |
ekkOS_Capture | Capture a memory event |
ekkOS_Codebase | Search project codebase embeddings |
ekkOS_Recall | Recall past conversations by time |
Pattern Tracking (4)
| Tool | Description |
|---|---|
ekkOS_Track | Track when a pattern is applied |
ekkOS_Outcome | Record success/failure of applied patterns |
ekkOS_Detect | Auto-detect which patterns were used |
ekkOS_Reflect | Analyze a response for improvements |
Utility (5)
| Tool | Description |
|---|---|
ekkOS_Stats | Get statistics for all memory layers |
ekkOS_Summary | Get human-readable activity summary |
ekkOS_Conflict | Check if action conflicts with directives |
ekkOS_Why | Explain why a pattern was selected |
ekkOS_Health | Check memory system health status |
Plan Management (8)
| Tool | Description |
|---|---|
ekkOS_Plan | Create a new structured plan |
ekkOS_Plans | List agent plans for the current user |
ekkOS_PlanStatus | Update plan status |
ekkOS_PlanStep | Mark a plan step complete/incomplete |
ekkOS_Generate | Generate a plan using AI |
ekkOS_SaveTemplate | Save a plan as reusable template |
ekkOS_Templates | List available plan templates |
ekkOS_FromTemplate | Create plan from template |
Secrets Management (5)
| Tool | Description |
|---|---|
ekkOS_StoreSecret | Securely store sensitive data |
ekkOS_GetSecret | Retrieve a stored secret |
ekkOS_ListSecrets | List all stored secrets (metadata only) |
ekkOS_DeleteSecret | Permanently delete a secret |
ekkOS_RotateSecret | Update a secret with new value |
Schema Awareness (2)
| Tool | Description |
|---|---|
ekkOS_IndexSchema | Index database/type schemas |
ekkOS_GetSchema | Get schema for a table/type |
Portability (4)
| Tool | Description |
|---|---|
ekkOS_Export | Export memory data as JSON backup |
ekkOS_Import | Import memory from backup |
ekkOS_Snapshot | Create point-in-time snapshot |
ekkOS_Sync | Synchronize with cloud |
Project Setup (2)
| Tool | Description |
|---|---|
ekkOS_ProjectInit | Initialize ekkOS for a project |
ekkOS_Ingest | Bulk ingest data into memory |
Session Management (1)
| Tool | Description |
|---|---|
ekkOS_Session | Manage L1 working memory for current session |
Auto-Learning (2)
| Tool | Description |
|---|---|
ekkOS_Learn | Learn from corrections and extract patterns |
ekkOS_ReviewLearning | Review and approve learning candidates |
Pattern Relationships (2)
| Tool | Description |
|---|---|
ekkOS_Link | Create relationships between patterns |
ekkOS_Playbook | Create and manage multi-pattern playbooks |
Day-to-Day Usage
Starting work: Your AI automatically searches memory when you ask questions.
After solving problems: Tell your AI to save the solution:
You: "Save this solution as a pattern"
Setting rules: Tell your AI what to always/never do:
You: "Never use `any` type in TypeScript"
Checking past work:
You: "What did we decide about the API structure?"
What Gets Stored
- Patterns — Solutions you've saved
- Conversations — Past discussions (searchable)
- Directives — Rules your AI follows
- Codebase context — Your project files (semantic search)
Troubleshooting
MCP Server Not Appearing
- Ensure Node.js 18+ is installed
- Check your API key is correct
- Restart your IDE after adding config
- Check IDE logs for errors
No Patterns Found
- You need to save some patterns first
- Verify your API key has access
- Ensure
EKKOS_USER_IDis set
Authentication Errors
- Verify your API key at https://platform.ekkos.dev
- Check the key hasn't expired
Links
- Documentation: docs.ekkos.dev
- Platform: platform.ekkos.dev
- Website: ekkos.dev
License & Trademarks
ekkOS and the ekkOS logo are trademarks of ekkOS Technologies Inc.
This package is provided under the MIT license. Unauthorized reproduction or distribution of ekkOS trademarks or branding assets is prohibited.
For licensing inquiries: ekkoslabs.com