mcpdirectory.dev
9,129 servers · updated 23 Sept

Ainative Opencode Memory MCP server

official from AINative Studio Active last commit 51 d
{
  "mcpServers": {
    "ainative-studio-ainative-opencode-memory": {
      "command": "npx",
      "args": [
        "-y",
        "ainative-opencode-memory-mcp@latest"
      ],
      "env": {
        "AINATIVE_API_KEY": "<ainative_api_key>",
        "AINATIVE_API_URL": "https://..."
      }
    }
  }
}
file .mcp.json (in your project root)install npx -y ainative-opencode-memory-mcpversion 0.1.2

What it does

This MCP server provides persistent memory for OpenCode agents across sessions using ZeroDB. It stores and retrieves architectural decisions, code conventions, and project-specific rules so agents can recall context between restarts.

  • Store architectural decisions and design patterns once, then have agents recall them in subsequent sessions without re-learning.
  • Capture naming conventions, code style rules, and project gotchas so agents apply consistent patterns across tasks.
  • Retrieve relevant project context at the start of a coding task using semantic search over stored memories.

Tools this server exposes

ToolDoes
opencode_store_memoryStore a fact, decision, or code snippet with optional tags for later recall.
opencode_search_memorySemantically search over all stored memories.
opencode_recall_contextRetrieve relevant memories at the start of a task based on the file or task being worked on.
opencode_memory_statsGet a count of how many memories are currently stored.
opencode_clear_memoryDelete stored memories, optionally filtered by tag.

Before you enable it

An MCP server runs with whatever access you give it. Start with a development account rather than production, and check which tools the server exposes before you let an agent call them unattended.