
Research
/Security News
Popular npm Packages in the keyv and Cacheable Namespaces Compromised in Active Supply Chain Attack
Popular npm packages keyv and cacheable compromised.
ainative-opencode-memory-mcp
Advanced tools
OpenCode memory MCP — persistent cross-session memory for OpenCode (and any MCP coding agent), powered by AINative ZeroDB. OpenCode is stateless; this gives your agent long-term memory that survives restarts. Works with Kimi K2/K3, GLM, DeepSeek, Qwen Cod
Persistent memory for OpenCode agents. OpenCode is stateless — it forgets everything between sessions. This MCP server gives your OpenCode coding agent long-term memory powered by AINative ZeroDB: store a codebase's decisions, conventions, and gotchas once, and recall them in every future session.
OpenCode restarts with a blank slate every time. Your agent re-learns your architecture, re-asks the same questions, re-makes the same mistakes. With this MCP, it remembers:
npm install -g ainative-opencode-memory-mcp
opencode.json / MCP settings):{
"mcpServers": {
"ainative-memory": {
"command": "npx",
"args": ["-y", "ainative-opencode-memory-mcp"],
"env": { "AINATIVE_API_KEY": "your-key-here" }
}
}
}
| Tool | What it does |
|---|---|
opencode_store_memory | Remember a fact/decision/snippet (optional tags) |
opencode_search_memory | Semantic search over everything remembered |
opencode_recall_context | Reload relevant memories at the start of a task |
opencode_memory_stats | How many memories are stored |
opencode_clear_memory | Wipe memories (optionally by tag) |
At the start of a session, have your agent call opencode_recall_context with the file/task you're working on — it reloads what it knew. As you work, opencode_store_memory captures new decisions. Next session, it all comes back.
| Var | Default | Notes |
|---|---|---|
AINATIVE_API_KEY | — | Required. Free at ainative.studio |
OPENCODE_MEMORY_NAMESPACE | opencode | Isolate memories per project |
AINATIVE_API_URL | https://api.ainative.studio | Override for self-host |
Built by AINative Studio — the AI-native dev platform with 65+ models, one OpenAI-compatible endpoint, and persistent agent memory. MIT licensed.
FAQs
OpenCode memory MCP — persistent cross-session memory for OpenCode (and any MCP coding agent), powered by AINative ZeroDB. OpenCode is stateless; this gives your agent long-term memory that survives restarts. Works with Kimi K2/K3, GLM, DeepSeek, Qwen Cod
The npm package ainative-opencode-memory-mcp receives a total of 264 weekly downloads. As such, ainative-opencode-memory-mcp popularity was classified as not popular.
We found that ainative-opencode-memory-mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Popular npm packages keyv and cacheable compromised.

Security News
A misconfiguration gave three Anthropic models internet access, and one, believing it was in a simulation, shipped a credential-stealing package to PyPI.

Security News
/Company News
Socket has joined the new Composer and Packagist sponsorship program as a launch sponsor, supporting the team that keeps PHP's package ecosystem secure.