Server data from the Official MCP Registry
Persistent cross-session memory for OpenCode and MCP coding agents, powered by ZeroDB.
About
Persistent cross-session memory for OpenCode and MCP coding agents, powered by ZeroDB.
Security Report
This MCP server provides persistent memory for OpenCode agents via AINative's API. Authentication is properly handled through environment variables with a fallback auto-provisioning mechanism. Code quality is reasonable with appropriate error handling. No malicious patterns detected. Minor concerns include broad exception handling and lack of input validation on some parameters, but these are typical low-severity code quality issues that do not significantly impact security for this category. Supply chain analysis found 6 known vulnerabilities in dependencies (0 critical, 1 high severity). Package verification found 1 issue.
3 files analyzed · 11 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
What You'll Need
Set these up before or after installing:
Environment variable: OPENCODE_MEMORY_NAMESPACE
Environment variable: AINATIVE_API_URL
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-ainative-studio-ainative-opencode-memory-mcp": {
"env": {
"AINATIVE_API_KEY": "your-ainative-api-key-here",
"AINATIVE_API_URL": "your-ainative-api-url-here",
"OPENCODE_MEMORY_NAMESPACE": "your-opencode-memory-namespace-here"
},
"args": [
"-y",
"ainative-opencode-memory-mcp"
],
"command": "npx"
}
}
}Documentation
View on GitHubFrom the project's GitHub README.
ainative-opencode-memory-mcp
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.
Why
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:
- Architecture & design decisions
- Naming conventions and code style
- Gotchas, workarounds, and "don't touch X" rules
- User/team preferences
Install
npm install -g ainative-opencode-memory-mcp
Setup (OpenCode)
- Get a free API key → ainative.studio/signup (Hobbyist $5/mo, 7-day free trial).
- Add to your OpenCode MCP config (
opencode.json/ MCP settings):
{
"mcpServers": {
"ainative-memory": {
"command": "npx",
"args": ["-y", "ainative-opencode-memory-mcp"],
"env": { "AINATIVE_API_KEY": "your-key-here" }
}
}
}
Tools
| 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) |
Example
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.
Environment
| 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.
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Git
Freeby Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
mcp-creator-python
Freeby mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
MarkItDown
Freeby Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
FinAgent
Freeby mcp-marketplace · Finance
Free stock data and market news for any MCP-compatible AI assistant.
