ainative-opencode-memory-mcp
OfficialClick on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ainative-opencode-memory-mcprecall what you know about the deployment process"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Related MCP server: MCP Memory Server
Install
npm install -g ainative-opencode-memory-mcpSetup (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 |
| Remember a fact/decision/snippet (optional tags) |
| Semantic search over everything remembered |
| Reload relevant memories at the start of a task |
| How many memories are stored |
| 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 |
| — | Required. Free at ainative.studio |
|
| Isolate memories per project |
|
| 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.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-quality-maintenanceProvides AI coding agents with persistent, long-term memory through local semantic search and SQLite storage. It enables agents to save and retrieve architectural decisions or project context across different conversation sessions without requiring cloud services.Last updated
- Alicense-qualityDmaintenanceProvides long-term memory for AI coding agents, enabling them to remember, search, and organize information across sessions and platforms like Claude Code, ChatGPT, and Cursor.Last updated187MIT
- Flicense-qualityCmaintenanceProvides persistent memory and semantic file discovery for AI coding agents, enabling them to remember changes and find relevant files across sessions.Last updated5
- AlicenseAqualityAmaintenanceProvides persistent, searchable memory across AI coding agent and chat history (Claude Code, Codex, Gemini CLI, ChatGPT, and more) via retrieval-augmented generation, enabling semantic and hybrid search to retain context across sessions.Last updated55MIT
Related MCP Connectors
Persistent memory for AI agents. Search, store, and recall across sessions.
Universal memory for AI agents and tools. Save, organize and search context anywhere.
Persistent memory for AI agents — verbatim conversations, searchable by meaning.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/AINative-Studio/ainative-opencode-memory-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server