AgentHubAgentHub

Vault Cortex

MCP ServerMCP Registry官方收录

io.github.aliasunder/vault-cortex · v0.16.0

MCP server for Obsidian vaults — search, memory, link graph, 23 tools, OAuth-protected.

概览

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

安装

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

{
  "mcpServers": {
    "vault-cortex": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/aliasunder/vault-mcp:0.16.0"
      ],
      "env": {
        "MCP_AUTH_TOKEN": "<MCP_AUTH_TOKEN>"
      }
    }
  }
}

环境变量

MCP_AUTH_TOKEN必填secret

Bearer token for MCP client authentication. Must match the Authorization header sent by clients. Generate with: openssl rand -hex 32

PUBLIC_URL可选

Public URL clients use to reach this server. Used as the OAuth issuer URL in discovery metadata. Override when exposing the server outside localhost or on a non-default port.

MEMORY_DIR可选

Vault folder for structured memory files (About Me-style notes).

TZ可选

IANA timezone for timestamps and daily note resolution.

LOG_LEVEL可选

Logging verbosity.

LOG_DIR可选

Directory for persistent log files. Unset by default — logs go to stdout only. Set to /data/logs to also write date-stamped .log files to the persistent volume.

LOG_RETENTION_DAYS可选

Days to retain persistent log files before cleanup.

PROTECTED_PATHS可选

Comma-separated vault folder names blocked from vault_delete_note. Default: MEMORY_DIR and "Daily Notes".

ORPHAN_EXCLUDE_FOLDERS可选

Comma-separated vault folder names excluded from vault_find_orphans. Default: "Daily Notes", "Templates", MEMORY_DIR.

SERVICE_DOCUMENTATION_URL可选

Override the OAuth service documentation URL exposed via discovery metadata.

相关资源

统一 Manifest

{
  "id": "io.github.aliasunder/vault-cortex",
  "type": "mcp-server",
  "version": "0.16.0",
  "displayName": "Vault Cortex",
  "description": "MCP server for Obsidian vaults — search, memory, link graph, 23 tools, OAuth-protected.",
  "repository": {
    "url": "https://github.com/aliasunder/vault-cortex",
    "source": "github"
  },
  "homepage": "https://github.com/aliasunder/vault-cortex",
  "distribution": {
    "packages": [
      {
        "registryType": "oci",
        "identifier": "ghcr.io/aliasunder/vault-mcp:0.16.0",
        "runtimeHint": "docker",
        "transport": "streamable-http",
        "environmentVariables": [
          {
            "name": "MCP_AUTH_TOKEN",
            "description": "Bearer token for MCP client authentication. Must match the Authorization header sent by clients. Generate with: openssl rand -hex 32",
            "isRequired": true,
            "isSecret": true
          },
          {
            "name": "PUBLIC_URL",
            "description": "Public URL clients use to reach this server. Used as the OAuth issuer URL in discovery metadata. Override when exposing the server outside localhost or on a non-default port."
          },
          {
            "name": "MEMORY_DIR",
            "description": "Vault folder for structured memory files (About Me-style notes)."
          },
          {
            "name": "TZ",
            "description": "IANA timezone for timestamps and daily note resolution."
          },
          {
            "name": "LOG_LEVEL",
            "description": "Logging verbosity."
          },
          {
            "name": "LOG_DIR",
            "description": "Directory for persistent log files. Unset by default — logs go to stdout only. Set to /data/logs to also write date-stamped .log files to the persistent volume."
          },
          {
            "name": "LOG_RETENTION_DAYS",
            "description": "Days to retain persistent log files before cleanup."
          },
          {
            "name": "PROTECTED_PATHS",
            "description": "Comma-separated vault folder names blocked from vault_delete_note. Default: MEMORY_DIR and \"Daily Notes\"."
          },
          {
            "name": "ORPHAN_EXCLUDE_FOLDERS",
            "description": "Comma-separated vault folder names excluded from vault_find_orphans. Default: \"Daily Notes\", \"Templates\", MEMORY_DIR."
          },
          {
            "name": "SERVICE_DOCUMENTATION_URL",
            "description": "Override the OAuth service documentation URL exposed via discovery metadata."
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.aliasunder/vault-cortex",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.aliasunder%2Fvault-cortex/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
Vault Cortex — MCP Server 安装与配置 · AgentHub