AgentHubAgentHub

cuba-memorys

MCP ServerMCP Registry官方收录

io.github.LeandroPG19/cuba-memorys · v0.10.0

Persistent memory MCP server. 25 tools, BM25+MMR+OOD retrieval, CFR-21 audit, knowledge graph.

概览

cuba-memorys 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

{
  "mcpServers": {
    "cuba-memorys": {
      "command": "npx",
      "args": [
        "-y",
        "cuba-memorys"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}

环境变量

DATABASE_URL必填

PostgreSQL connection URL (e.g. postgresql://user:pass@localhost:5432/brain)

CUBA_PROJECT_FILTER可选

Set to 'off' to disable v0.8 project scoping filters (admin/debug only).

CUBA_SYNC_DIR可选

Directory used by cuba_sync export/import (default ./.cuba-memorys/).

CUBA_JUDGE可选

cuba_juez backend selector: claude_cli | anthropic_api | heuristic | auto (default auto).

CUBA_JUEZ_CLI可选

Subprocess CLI used by ClaudeCodeJudge (default 'claude').

CUBA_JUEZ_MODEL可选

Model name passed to the judge backend (default 'claude-haiku-4-5').

ANTHROPIC_API_KEY可选secret

API key for AnthropicApiJudge (only used when feature 'anthropic-api' is built in).

DATABASE_URL必填

PostgreSQL connection URL (e.g. postgresql://user:pass@localhost:5432/brain)

相关资源

统一 Manifest

{
  "id": "io.github.LeandroPG19/cuba-memorys",
  "type": "mcp-server",
  "version": "0.10.0",
  "displayName": "cuba-memorys",
  "description": "Persistent memory MCP server. 25 tools, BM25+MMR+OOD retrieval, CFR-21 audit, knowledge graph.",
  "repository": {
    "url": "https://github.com/LeandroPG19/cuba-memorys",
    "source": "github"
  },
  "distribution": {
    "packages": [
      {
        "registryType": "npm",
        "identifier": "cuba-memorys",
        "version": "0.10.0",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "DATABASE_URL",
            "description": "PostgreSQL connection URL (e.g. postgresql://user:pass@localhost:5432/brain)",
            "isRequired": true
          },
          {
            "name": "CUBA_PROJECT_FILTER",
            "description": "Set to 'off' to disable v0.8 project scoping filters (admin/debug only)."
          },
          {
            "name": "CUBA_SYNC_DIR",
            "description": "Directory used by cuba_sync export/import (default ./.cuba-memorys/)."
          },
          {
            "name": "CUBA_JUDGE",
            "description": "cuba_juez backend selector: claude_cli | anthropic_api | heuristic | auto (default auto)."
          },
          {
            "name": "CUBA_JUEZ_CLI",
            "description": "Subprocess CLI used by ClaudeCodeJudge (default 'claude')."
          },
          {
            "name": "CUBA_JUEZ_MODEL",
            "description": "Model name passed to the judge backend (default 'claude-haiku-4-5')."
          },
          {
            "name": "ANTHROPIC_API_KEY",
            "description": "API key for AnthropicApiJudge (only used when feature 'anthropic-api' is built in).",
            "isSecret": true
          }
        ]
      },
      {
        "registryType": "pypi",
        "identifier": "cuba-memorys",
        "version": "1.12.0",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "DATABASE_URL",
            "description": "PostgreSQL connection URL (e.g. postgresql://user:pass@localhost:5432/brain)",
            "isRequired": true
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.LeandroPG19/cuba-memorys",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.LeandroPG19%2Fcuba-memorys/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
cuba-memorys — MCP Server 安装与配置 · AgentHub