AgentHubAgentHub

Markdown 笔记库 MCP配置与使用教程

MCP ServerMCP Registry官方收录

io.github.pvliesdonk/markdown-vault-mcp · v5.0.0

支持混合检索的通用 Markdown 笔记库(vault)MCP。

原文名称:Markdown Vault MCP

原文描述:Generic markdown vault MCP with hybrid search

建议先在本页复制安装配置,再到上游核对文档与权限。

产品介绍

支持混合检索的通用 Markdown 笔记库(vault)MCP。 Markdown 笔记库 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio、streamable-http 传输。本页提供产品介绍、配置教程、安装命令与适用场景,支持 Trae、通义灵码、Cursor、Claude Code、VS Code 等。

适用场景

AgentHub Verified 可用性验证技术测试通过

自动化测试流水线已校验安装命令、传输协议与客户端兼容性

最近校验时间2026-10-04
安装配置格式测试有效CLI 与 mcpServers JSON 语法校验通过
协议连接与握手响应正常支持标准 JSON-RPC 2.0 规格规范
上游数据源存活来源 official-mcp-registry,可正常下载依赖
测试可用客户端Claude Code、Claude Desktop、Cursor 等
安全等级: A+ 级 · 官方认证推荐 (A+)·该工具由官方或知名生态团队维护,源码遵循标准开源许可协议,可安全接入 Cursor / Claude。

按平台快速复制

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

  1. 打开项目根目录下的 .cursor/mcp.json(没有就新建)
  2. 点击「复制配置」粘贴进去;若已有其他 MCP,只合并 mcpServers 里的本条目
  3. 将 env 中的 <占位符> 替换为真实密钥(见下方「环境变量」)
  4. 保存后按 Cmd+Shift+P(Windows:Ctrl+Shift+P)→ 输入 Reload Window 并执行

预填环境变量与密钥(可选)

secret
secret
secret
secret
secret
secret
secret
secret
secret
secret
secret
secret
secret
secret
secret
secret
secret
隐私安全承诺:所有参数与密钥仅在您本机的浏览器前端进行实时文本替换,AgentHub 绝不向任何服务器上传或存储您的敏感凭据。
点击「复制配置」直接粘贴到客户端
{
  "mcpServers": {
    "markdown-vault-mcp": {
      "command": "uvx",
      "args": [
        "markdown-vault-mcp"
      ]
    }
  }
}

配置教程

  1. 打开 Markdown 笔记库 详情页,确认这是你需要的 MCP Server(来源 官方 MCP Registry)。
  2. 按客户端选择 Trae、通义灵码、Cursor、Claude Code 或 VS Code,复制 JSON 配置或 CLI 命令。
  3. 将配置合并进 mcpServers,并把环境变量占位符替换为真实密钥。
  4. 重载窗口后,在 Agent 对话中调用该 MCP 提供的工具。

安装命令

以下安装命令与配置步骤已写入页面 HTML,搜索引擎与未启用 JavaScript 的浏览器均可直接读取。

Claude Code(本地)

  1. 确保已安装 Claude Code CLI
  2. 复制下方命令,将 <占位符> 替换为真实环境变量值后,在终端执行
  3. 若下方列出了环境变量,请对照填写
claude mcp add markdown-vault-mcp -- uvx markdown-vault-mcp

Cursor — .cursor/mcp.json(本地)

  1. 打开项目根目录下的 .cursor/mcp.json(没有就新建)
  2. 点击「复制配置」粘贴进去;若已有其他 MCP,只合并 mcpServers 里的本条目
  3. 将 env 中的 <占位符> 替换为真实密钥(见下方「环境变量」)
  4. 保存后按 Cmd+Shift+P(Windows:Ctrl+Shift+P)→ 输入 Reload Window 并执行
{
  "mcpServers": {
    "markdown-vault-mcp": {
      "command": "uvx",
      "args": [
        "markdown-vault-mcp"
      ]
    }
  }
}

VS Code — .vscode/mcp.json(本地)

  1. 确保 VS Code 已安装 GitHub Copilot 扩展并支持 MCP
  2. 打开项目根目录下的 .vscode/mcp.json(没有就新建)
  3. 点击「复制配置」粘贴;若已有其他 MCP,只合并 mcpServers 里的本条目
  4. 将 env 中的 <占位符> 替换为真实密钥(见下方「环境变量」)
  5. 保存后重新加载 VS Code 窗口
{
  "mcpServers": {
    "markdown-vault-mcp": {
      "command": "uvx",
      "args": [
        "markdown-vault-mcp"
      ]
    }
  }
}

Claude Desktop — claude_desktop_config.json(本地)

  1. 打开 Claude Desktop 的 claude_desktop_config.json(路径见远程指引)
  2. 点击「复制配置」合并到 mcpServers
  3. 将 env 中的 <占位符> 替换为真实密钥
  4. 完全退出并重启 Claude Desktop
{
  "mcpServers": {
    "markdown-vault-mcp": {
      "command": "uvx",
      "args": [
        "markdown-vault-mcp"
      ]
    }
  }
}

Trae — .trae/mcp.json(本地)

  1. 打开 Trae → 设置 → MCP,或编辑 .trae/mcp.json / 全局 mcp.json
  2. 点击「复制配置」粘贴并合并 mcpServers
  3. 将 env 中的 <占位符> 替换为真实密钥
  4. 保存后重载 Trae 窗口
{
  "mcpServers": {
    "markdown-vault-mcp": {
      "command": "uvx",
      "args": [
        "markdown-vault-mcp"
      ]
    }
  }
}

Cherry Studio — MCP 设置(本地)

  1. 打开 Cherry Studio → 设置 → MCP 服务器 → 添加(STDIO)
  2. 也可直接导入下方 JSON:点击「复制配置」合并到 mcpServers
  3. 将 env 中的 <占位符> 替换为真实密钥,并确保本机已安装 Node.js / uv(npx、uvx)
  4. 启用服务并查看工具列表是否加载成功
{
  "mcpServers": {
    "markdown-vault-mcp": {
      "command": "uvx",
      "args": [
        "markdown-vault-mcp"
      ]
    }
  }
}

通义灵码 — MCP 配置(本地)

  1. 通义灵码:个人设置 → MCP 服务 → 「+」→ 手工添加(STDIO)或配置文件添加
  2. 点击「复制配置」合并 mcpServers;命令/参数/环境变量与 JSON 一致
  3. 将 env 中的 <占位符> 替换为真实密钥;本机需 Node.js 18+(npx)或已安装 uv(uvx)
  4. 确认服务状态为已连接后再在智能体对话中调用
{
  "mcpServers": {
    "markdown-vault-mcp": {
      "command": "uvx",
      "args": [
        "markdown-vault-mcp"
      ]
    }
  }
}

Windsurf — mcp_config.json(本地)

  1. 编辑 ~/.codeium/windsurf/mcp_config.json
  2. 点击「复制配置」合并 mcpServers(本地 stdio 与 Cursor 格式相同)
  3. 将 env 中的 <占位符> 替换为真实密钥后保存并刷新 Cascade
{
  "mcpServers": {
    "markdown-vault-mcp": {
      "command": "uvx",
      "args": [
        "markdown-vault-mcp"
      ]
    }
  }
}

Cline — MCP Servers(本地)

  1. Cline 面板 → 设置 → MCP Servers
  2. 点击「复制配置」粘贴并合并
  3. 将 env 中的 <占位符> 替换为真实密钥后保存
{
  "mcpServers": {
    "markdown-vault-mcp": {
      "command": "uvx",
      "args": [
        "markdown-vault-mcp"
      ]
    }
  }
}

WorkBuddy — .workbuddy/mcp.json(本地)

  1. 编辑 ~/.workbuddy/mcp.json(用户级)或项目目录 .workbuddy/mcp.json
  2. 也可在界面:插件 → MCP 服务器 → 配置 MCP,粘贴下方 JSON
  3. 将 env 中的 <占位符> 替换为真实密钥;Windows 下 command/脚本路径建议用绝对路径
  4. 保存并重启 WorkBuddy,确认连接器状态为绿色
{
  "mcpServers": {
    "markdown-vault-mcp": {
      "command": "uvx",
      "args": [
        "markdown-vault-mcp"
      ]
    }
  }
}

常见报错排查与运行避坑 (Troubleshooting)FAQ

针对 Markdown 笔记库 在 Cursor、Claude Code 中的常见连接错误与解决办法

在 Cursor / Claude Code 中配置 Markdown Vault MCP 提示 connection closed 或 exit code 1?

通常由本地运行时环境缺失或命令路径未被 IDE 继承引起。排查步骤: 1. 确认已安装 Node.js 18+(支持 npx)或 Python 3.10+(支持 uvx); 2. 尝试在终端运行 which npx 或 which uvx,把配置文件中的 "command" 字段改为完整绝对路径; 3. 修改 mcp.json 后,必须完全重载或重启客户端窗口。

Fix Snippet
# 终端测试命令是否存在:
which npx
node -v
提示 spawn npx ENOENT 或 command not found?

这是因为编辑器后台进程未加载完整的终端环境变量(PATH)。解决方案:在全局安装该包(如 npm install -g 包名),或在配置文件中将 command 设置为系统的实际路径(如 Windows 下的 C:\Program Files\nodejs\npx.cmd,Mac 下的 /usr/local/bin/npx)。

提示 Missing required environment variable 或 API 认证失败?

Markdown Vault MCP 依赖环境变量(如 MARKDOWN_VAULT_MCP_KV_STORE_URL、MARKDOWN_VAULT_MCP_TOOLS_ALLOW、MARKDOWN_VAULT_MCP_TOOLS_DENY、MARKDOWN_VAULT_MCP_SERVER_NAME、MARKDOWN_VAULT_MCP_INSTANCE_DESCRIPTION、MARKDOWN_VAULT_MCP_INSTRUCTIONS_EXTRA、MARKDOWN_VAULT_MCP_INSTRUCTIONS、MARKDOWN_VAULT_MCP_LOG_LEVEL、MARKDOWN_VAULT_MCP_LOG_FORMAT、OLLAMA_HOST、OPENAI_API_KEY、VOYAGE_API_KEY、OPENAI_BASE_URL、OPENAI_EMBEDDING_MODEL、MARKDOWN_VAULT_MCP_BUILD_TIMEOUT_S、MARKDOWN_VAULT_MCP_DRAIN_TIMEOUT_S、MARKDOWN_VAULT_MCP_SOURCE_DIR、MARKDOWN_VAULT_MCP_READ_ONLY、MARKDOWN_VAULT_MCP_WRITE_PROTECT_EXISTING、MARKDOWN_VAULT_MCP_DISABLE_APPS_UI、MARKDOWN_VAULT_MCP_INDEX_PATH、MARKDOWN_VAULT_MCP_STATE_PATH、MARKDOWN_VAULT_MCP_EMBEDDINGS_PATH、MARKDOWN_VAULT_MCP_INDEXED_FIELDS、MARKDOWN_VAULT_MCP_REQUIRED_FIELDS、MARKDOWN_VAULT_MCP_EXCLUDE、MARKDOWN_VAULT_MCP_TITLE_FIELD、MARKDOWN_VAULT_MCP_SEARCHABLE_FIELDS、MARKDOWN_VAULT_MCP_TEMPLATES_FOLDER、MARKDOWN_VAULT_MCP_PROMPTS_FOLDER、MARKDOWN_VAULT_MCP_CONVENTIONS_FILE、MARKDOWN_VAULT_MCP_OKF_MODE、MARKDOWN_VAULT_MCP_OKF_WRITE、MARKDOWN_VAULT_MCP_OKF_VERIFY、MARKDOWN_VAULT_MCP_ATTACHMENT_EXTENSIONS、MARKDOWN_VAULT_MCP_MAX_ATTACHMENT_SIZE_MB、MARKDOWN_VAULT_MCP_MAX_NOTE_READ_BYTES、MARKDOWN_VAULT_MCP_DEFAULT_SEARCH_MODE、MARKDOWN_VAULT_MCP_CHUNKS_PER_FILE、MARKDOWN_VAULT_MCP_SNIPPET_WORDS、MARKDOWN_VAULT_MCP_LENGTH_DOWNWEIGHT_ALPHA、MARKDOWN_VAULT_MCP_MAX_CHUNK_WORDS、MARKDOWN_VAULT_MCP_MAX_CHUNK_CHARS、MARKDOWN_VAULT_MCP_CHUNK_OVERLAP_WORDS、MARKDOWN_VAULT_MCP_FOLDER_WEIGHTS、MARKDOWN_VAULT_MCP_FTS_WEIGHTS、MARKDOWN_VAULT_MCP_EMBEDDING_PROVIDER、MARKDOWN_VAULT_MCP_OLLAMA_MODEL、MARKDOWN_VAULT_MCP_OLLAMA_CPU_ONLY、MARKDOWN_VAULT_MCP_VOYAGE_MODEL、MARKDOWN_VAULT_MCP_OPENAI_BASE_URL、MARKDOWN_VAULT_MCP_OPENAI_EMBEDDING_MODEL、MARKDOWN_VAULT_MCP_FASTEMBED_MODEL、MARKDOWN_VAULT_MCP_FASTEMBED_CACHE_DIR、MARKDOWN_VAULT_MCP_EMBED_CONTEXT、MARKDOWN_VAULT_MCP_EMBED_TIMEOUT_S、MARKDOWN_VAULT_MCP_EMBEDDING_BATCH_SIZE、MARKDOWN_VAULT_MCP_GIT_TOKEN、MARKDOWN_VAULT_MCP_GIT_REPO_URL、MARKDOWN_VAULT_MCP_GIT_USERNAME、MARKDOWN_VAULT_MCP_GIT_PULL_INTERVAL_S、MARKDOWN_VAULT_MCP_GIT_PUSH_DELAY_S、MARKDOWN_VAULT_MCP_GIT_COMMIT_NAME、MARKDOWN_VAULT_MCP_GIT_COMMIT_EMAIL、MARKDOWN_VAULT_MCP_GIT_COMMIT_NAME_CLAIM、MARKDOWN_VAULT_MCP_GIT_COMMIT_EMAIL_CLAIM、MARKDOWN_VAULT_MCP_GIT_LFS、MARKDOWN_VAULT_MCP_FILE_WATCHER、MARKDOWN_VAULT_MCP_FILE_WATCHER_DEBOUNCE_S、MARKDOWN_VAULT_MCP_FILE_WATCHER_ROOT_FLOOR、MARKDOWN_VAULT_MCP_BOOT_REINDEX、MARKDOWN_VAULT_MCP_GITHUB_WEBHOOK_SECRET、MARKDOWN_VAULT_MCP_GITLAB_WEBHOOK_SIGNING_TOKEN、MARKDOWN_VAULT_MCP_GITLAB_WEBHOOK_SECRET_TOKEN、MARKDOWN_VAULT_MCP_SUMMARIZE_PROVIDER、MARKDOWN_VAULT_MCP_SUMMARIZE_OPENAI_API_KEY、MARKDOWN_VAULT_MCP_SUMMARIZE_OPENAI_BASE_URL、MARKDOWN_VAULT_MCP_SUMMARIZE_OPENAI_MODEL、MARKDOWN_VAULT_MCP_SUMMARIZE_MAX_TOKENS、MARKDOWN_VAULT_MCP_SUMMARIZE_MAX_NOTES、MARKDOWN_VAULT_MCP_SUMMARIZE_MAX_INPUT_CHARS、MARKDOWN_VAULT_MCP_SUMMARIZE_TIMEOUT、MARKDOWN_VAULT_MCP_TRANSFER_TTL_DEFAULT_S、MARKDOWN_VAULT_MCP_TRANSFER_TTL_MAX_S、MARKDOWN_VAULT_MCP_TRANSFER_GRACE_TTL_S、MARKDOWN_VAULT_MCP_TRANSFER_LEASE_S、MARKDOWN_VAULT_MCP_TRANSFER_MAX_UPLOAD_BYTES、MARKDOWN_VAULT_MCP_JOBS_SOFT_DEADLINE_S、MARKDOWN_VAULT_MCP_JOBS_RESULT_TTL_S、MARKDOWN_VAULT_MCP_JOBS_MAX_PER_SUBJECT、MARKDOWN_VAULT_MCP_SHUTDOWN_GRACE_S、MARKDOWN_VAULT_MCP_BASE_URL、MARKDOWN_VAULT_MCP_BEARER_TOKEN、MARKDOWN_VAULT_MCP_OIDC_CONFIG_URL、MARKDOWN_VAULT_MCP_OIDC_CLIENT_ID、MARKDOWN_VAULT_MCP_OIDC_CLIENT_SECRET、MARKDOWN_VAULT_MCP_OIDC_AUDIENCE、MARKDOWN_VAULT_MCP_OIDC_REQUIRED_SCOPES、MARKDOWN_VAULT_MCP_OIDC_ADVERTISED_SCOPES、MARKDOWN_VAULT_MCP_OIDC_JWT_SIGNING_KEY、MARKDOWN_VAULT_MCP_OIDC_VERIFY_ACCESS_TOKEN、MARKDOWN_VAULT_MCP_KV_STORE_URL、MARKDOWN_VAULT_MCP_APP_DOMAIN、MARKDOWN_VAULT_MCP_TOOLS_ALLOW、MARKDOWN_VAULT_MCP_TOOLS_DENY、MARKDOWN_VAULT_MCP_AUTH_MODE、MARKDOWN_VAULT_MCP_BEARER_TOKENS_FILE、MARKDOWN_VAULT_MCP_BEARER_DEFAULT_SUBJECT、MARKDOWN_VAULT_MCP_SERVER_NAME、MARKDOWN_VAULT_MCP_INSTANCE_DESCRIPTION、MARKDOWN_VAULT_MCP_INSTRUCTIONS_EXTRA、MARKDOWN_VAULT_MCP_INSTRUCTIONS、MARKDOWN_VAULT_MCP_HTTP_PATH、MARKDOWN_VAULT_MCP_HEALTH_DETAIL、PUID、PGID、MARKDOWN_VAULT_MCP_LOG_LEVEL、MARKDOWN_VAULT_MCP_LOG_FORMAT、OLLAMA_HOST、OPENAI_API_KEY、VOYAGE_API_KEY、OPENAI_BASE_URL、OPENAI_EMBEDDING_MODEL、MARKDOWN_VAULT_MCP_BUILD_TIMEOUT_S、MARKDOWN_VAULT_MCP_DRAIN_TIMEOUT_S、MARKDOWN_VAULT_MCP_SOURCE_DIR、MARKDOWN_VAULT_MCP_READ_ONLY、MARKDOWN_VAULT_MCP_WRITE_PROTECT_EXISTING、MARKDOWN_VAULT_MCP_DISABLE_APPS_UI、MARKDOWN_VAULT_MCP_INDEX_PATH、MARKDOWN_VAULT_MCP_STATE_PATH、MARKDOWN_VAULT_MCP_EMBEDDINGS_PATH、MARKDOWN_VAULT_MCP_INDEXED_FIELDS、MARKDOWN_VAULT_MCP_REQUIRED_FIELDS、MARKDOWN_VAULT_MCP_EXCLUDE、MARKDOWN_VAULT_MCP_TITLE_FIELD、MARKDOWN_VAULT_MCP_SEARCHABLE_FIELDS、MARKDOWN_VAULT_MCP_TEMPLATES_FOLDER、MARKDOWN_VAULT_MCP_PROMPTS_FOLDER、MARKDOWN_VAULT_MCP_CONVENTIONS_FILE、MARKDOWN_VAULT_MCP_OKF_MODE、MARKDOWN_VAULT_MCP_OKF_WRITE、MARKDOWN_VAULT_MCP_OKF_VERIFY、MARKDOWN_VAULT_MCP_ATTACHMENT_EXTENSIONS、MARKDOWN_VAULT_MCP_MAX_ATTACHMENT_SIZE_MB、MARKDOWN_VAULT_MCP_MAX_NOTE_READ_BYTES、MARKDOWN_VAULT_MCP_DEFAULT_SEARCH_MODE、MARKDOWN_VAULT_MCP_CHUNKS_PER_FILE、MARKDOWN_VAULT_MCP_SNIPPET_WORDS、MARKDOWN_VAULT_MCP_LENGTH_DOWNWEIGHT_ALPHA、MARKDOWN_VAULT_MCP_MAX_CHUNK_WORDS、MARKDOWN_VAULT_MCP_MAX_CHUNK_CHARS、MARKDOWN_VAULT_MCP_CHUNK_OVERLAP_WORDS、MARKDOWN_VAULT_MCP_FOLDER_WEIGHTS、MARKDOWN_VAULT_MCP_FTS_WEIGHTS、MARKDOWN_VAULT_MCP_EMBEDDING_PROVIDER、MARKDOWN_VAULT_MCP_OLLAMA_MODEL、MARKDOWN_VAULT_MCP_OLLAMA_CPU_ONLY、MARKDOWN_VAULT_MCP_VOYAGE_MODEL、MARKDOWN_VAULT_MCP_OPENAI_BASE_URL、MARKDOWN_VAULT_MCP_OPENAI_EMBEDDING_MODEL、MARKDOWN_VAULT_MCP_FASTEMBED_MODEL、MARKDOWN_VAULT_MCP_FASTEMBED_CACHE_DIR、MARKDOWN_VAULT_MCP_EMBED_CONTEXT、MARKDOWN_VAULT_MCP_EMBED_TIMEOUT_S、MARKDOWN_VAULT_MCP_EMBEDDING_BATCH_SIZE、MARKDOWN_VAULT_MCP_GIT_TOKEN、MARKDOWN_VAULT_MCP_GIT_REPO_URL、MARKDOWN_VAULT_MCP_GIT_USERNAME、MARKDOWN_VAULT_MCP_GIT_PULL_INTERVAL_S、MARKDOWN_VAULT_MCP_GIT_PUSH_DELAY_S、MARKDOWN_VAULT_MCP_GIT_COMMIT_NAME、MARKDOWN_VAULT_MCP_GIT_COMMIT_EMAIL、MARKDOWN_VAULT_MCP_GIT_COMMIT_NAME_CLAIM、MARKDOWN_VAULT_MCP_GIT_COMMIT_EMAIL_CLAIM、MARKDOWN_VAULT_MCP_GIT_LFS、MARKDOWN_VAULT_MCP_FILE_WATCHER、MARKDOWN_VAULT_MCP_FILE_WATCHER_DEBOUNCE_S、MARKDOWN_VAULT_MCP_FILE_WATCHER_ROOT_FLOOR、MARKDOWN_VAULT_MCP_BOOT_REINDEX、MARKDOWN_VAULT_MCP_GITHUB_WEBHOOK_SECRET、MARKDOWN_VAULT_MCP_GITLAB_WEBHOOK_SIGNING_TOKEN、MARKDOWN_VAULT_MCP_GITLAB_WEBHOOK_SECRET_TOKEN、MARKDOWN_VAULT_MCP_SUMMARIZE_PROVIDER、MARKDOWN_VAULT_MCP_SUMMARIZE_OPENAI_API_KEY、MARKDOWN_VAULT_MCP_SUMMARIZE_OPENAI_BASE_URL、MARKDOWN_VAULT_MCP_SUMMARIZE_OPENAI_MODEL、MARKDOWN_VAULT_MCP_SUMMARIZE_MAX_TOKENS、MARKDOWN_VAULT_MCP_SUMMARIZE_MAX_NOTES、MARKDOWN_VAULT_MCP_SUMMARIZE_MAX_INPUT_CHARS、MARKDOWN_VAULT_MCP_SUMMARIZE_TIMEOUT、MARKDOWN_VAULT_MCP_TRANSFER_TTL_DEFAULT_S、MARKDOWN_VAULT_MCP_TRANSFER_TTL_MAX_S、MARKDOWN_VAULT_MCP_TRANSFER_GRACE_TTL_S、MARKDOWN_VAULT_MCP_TRANSFER_LEASE_S、MARKDOWN_VAULT_MCP_TRANSFER_MAX_UPLOAD_BYTES、MARKDOWN_VAULT_MCP_JOBS_SOFT_DEADLINE_S、MARKDOWN_VAULT_MCP_JOBS_RESULT_TTL_S、MARKDOWN_VAULT_MCP_JOBS_MAX_PER_SUBJECT)。请在客户端配置文件的 "env" 对象中填入有效密钥,注意不要包含多余空格或未闭合的双引号。

Fix Snippet
// .cursor/mcp.json 或 claude_desktop_config.json
{
  "env": {
    "API_KEY": "your_actual_key_here"
  }
}

免安装模拟调用 (Playground)

仿真环境

Markdown Vault MCP 核心接口调用仿真 · 无需配置本地环境,直接预览调用参数与返回格式

沙盒就绪 (Virtual Mock)
fn: markdown_vault_mcpGeneric markdown vault MCP with hybrid search
请求入参 (Arguments)JSON Schema
{
  "target": "Markdown Vault MCP",
  "action": "execute",
  "options": {
    "mode": "standard",
    "timeoutMs": 5000
  }
}
💡Agent 在规划任务时会自动生成并传递上述入参
Agent Tool Output

点击上方「模拟运行」按钮

查看该工具在 Agent 内部的返回数据格式

测试环境:AgentHub Virtual SandboxJSON-RPC 2.0

选型与决策建议(为什么选它?)

帮助你快速判断该资源是否契合当前项目,避免盲目折腾

适合什么任务?
  • PR 自动审查
  • 生成 changelog
  • 跨仓库 Issue 检索
什么时候不建议用?
  • 替代人工安全审计
  • 在无授权仓库上操作
推荐工作流搭配:查看完整场景 →

Markdown Vault MCP + 对应场景 Prompt → 组成标准 Agent 自动化任务

MCP 实战教程:从安装到看见效果

按完整实例走一遍(含期望效果与对比验收)。装完本页资源后,用教程里的提示词核对是否真正生效。

打开教程 →

相关资源

常搭配使用

LinkedIn

v1.2.6

SkillClawHub13.5k

io.clawhub.byungkyu/linkedin-api

通过托管 OAuth 集成 LinkedIn API。分享帖子、管理资料、访问 LinkedIn 功能。当用户想在 LinkedIn 分享内容、获取资料/组织信息或与 LinkedIn 平台交互时使用。广告功能(营销活动、广告账户)需要额外的 OAuth 权限,使用前请核实已授予的权限。其他第三方应用请使用 api-gateway 技能(https://clawhub.ai/byungkyu/api-gateway)。需要网络访问和有效的 Maton API key。调用通过 `maton` CLI 配合 OAuth 登录,或在无法安装 CLI 时通过原始 HTTP 配合 Maton API key 执行。每次调用都以用户连接身份认证,仅访问该连接授权允许的资源,由服务商在每次请求时强制执行;此处记录的端点是本技能所使用的,应用的其他任何端点都需要用户指名要求才可调用。默认使用读取和列表调用,每次写入或新建连接前都与用户确认。

source

WhatsApp Business

v1.2.8

SkillClawHub24.1k

io.clawhub.byungkyu/whatsapp-business

WhatsApp Business API 集成,采用托管式 OAuth。发送消息、管理模板并处理会话。当用户需要与 WhatsApp Business 交互时使用本技能;其他第三方应用请使用 api-gateway 技能(https://clawhub.ai/byungkyu/api-gateway)。调用通过 `maton` CLI 配合 OAuth 登录执行,或在无法安装 CLI 时凭 Maton API Key 走原始 HTTP。每次调用都以用户连接身份认证,仅能访问该连接授权范围内的数据,服务端对每个请求强制执行鉴权;此处记录的端点即本技能所用端点,若需该应用的其他端点,须由用户点名提出。默认只做读取与列表调用,任何写入或新连接都需经用户确认。本文件还按使用顺序记录把 WhatsApp Business 连接变成自动化的三个构件:连接(第一步)、通过 Maton SDK 执行 WhatsApp Business 操作的托管函数,以及……(原文截断)

source

Salesforce

v1.2.7

SkillClawHub20.1k

io.clawhub.byungkyu/salesforce-api

Salesforce CRM API 集成,采用托管式 OAuth。仅在需要管理 Salesforce CRM 时安装。请以可用的最小权限连接,破坏性或批量操作优先使用沙箱组织,每次请求前核对目标连接 ID,并及时吊销未使用的连接。本集成可能修改 CRM 记录——仅在核对确切的 sObject、记录 ID 及影响后,再批准具体写操作。其他第三方应用请使用 api-gateway 技能(https://clawhub.ai/byungkyu/api-gateway)。调用通过 `maton` CLI 配合 OAuth 登录执行,或在无法安装 CLI 时凭 Maton API Key 走原始 HTTP。每次调用都以用户连接身份认证,仅能访问该连接授权范围内的数据,服务端对每个请求强制执行鉴权;此处记录的端点即本技能所用端点,若需该应用的其他端点,须由用户点名提出。默认只做读取与列表调用,任何写……(原文截断)

source

继续逛 AgentHub

大多数人安装前还会对比同类工具或看场景方案——下面这些能帮你少走弯路。

收录徽章:把 AgentHub 挂到你的官网

复制下面任意一段代码到项目主页、官网或 GitHub README。徽章是 SVG 热链,无需上传文件,链接指向本页,访客可由此直接找到安装方式。

预览AgentHub 已收录:Markdown 笔记库
HTML
<a href="https://myagenthub.cn/p/io.github.pvliesdonk/markdown-vault-mcp" title="AgentHub 已收录:Markdown 笔记库" target="_blank" rel="noopener">
  <img src="https://myagenthub.cn/badge/io.github.pvliesdonk/markdown-vault-mcp" alt="AgentHub 已收录:Markdown 笔记库" height="20" style="border:0"/>
</a>
Markdown(GitHub README)
[![AgentHub 已收录:Markdown 笔记库](https://myagenthub.cn/badge/io.github.pvliesdonk/markdown-vault-mcp)](https://myagenthub.cn/p/io.github.pvliesdonk/markdown-vault-mcp)

徽章由 /badge/<资源ID> 动态生成,名称与收录状态变化后自动更新;请保留链接指向,它是收录来源的判定依据。

统一 Manifest

{
  "id": "io.github.pvliesdonk/markdown-vault-mcp",
  "type": "mcp-server",
  "version": "5.0.0",
  "displayName": "Markdown Vault MCP",
  "description": "Generic markdown vault MCP with hybrid search",
  "repository": {
    "url": "https://github.com/pvliesdonk/markdown-vault-mcp",
    "source": "github"
  },
  "homepage": "https://pvliesdonk.github.io/markdown-vault-mcp/",
  "distribution": {
    "packages": [
      {
        "registryType": "pypi",
        "identifier": "markdown-vault-mcp",
        "version": "5.0.0",
        "runtimeHint": "uvx",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "MARKDOWN_VAULT_MCP_KV_STORE_URL",
            "description": "Persistent-state backend URL shared by every pvl-core subsystem that needs state. `memory://` is in-process and lost on restart; `file:///path` persists on one server; `redis://`, `dynamodb://` and `mongodb://` each need their matching extra. When unset, defaults to `file:///data/state` (the volume family Docker images mount), or to `memory://` (with a warning) on a host where that directory is not usable."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_TOOLS_ALLOW",
            "description": "Comma-separated explicit tool names this instance exposes; every other tool is hidden from listings and cannot be invoked. Names matching no registered tool are inert. Mutually exclusive with `tools_deny`. Takes effect through `apply_tool_visibility`."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_TOOLS_DENY",
            "description": "Comma-separated explicit tool names hidden from this instance (absent from listings, cannot be invoked). Names matching no registered tool are inert. Mutually exclusive with `tools_allow`. Takes effect through `apply_tool_visibility`."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_SERVER_NAME",
            "description": "Rename this server instance; defaults to the project name."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_INSTANCE_DESCRIPTION",
            "description": "Concise routing context that distinguishes this deployment's material or responsibility."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_INSTRUCTIONS_EXTRA",
            "description": "Deployment-specific behavioral policy added to the generated MCP instructions."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_INSTRUCTIONS",
            "description": "Legacy: replaces all generated MCP instructions (deprecated; use _INSTANCE_DESCRIPTION for routing and _INSTRUCTIONS_EXTRA for policy)."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_LOG_LEVEL",
            "description": "Log level for every logger in the process, FastMCP's included (DEBUG / INFO / WARNING / ERROR / CRITICAL). The -v CLI flag overrides to DEBUG. The unprefixed FASTMCP_LOG_LEVEL still works for one major version and logs a deprecation warning."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_LOG_FORMAT",
            "description": "Log rendering. rich is one colour event key=value line per record, for a terminal; json is one JSON object per record, for a collector. Unset picks rich when stderr is a terminal and json everywhere else, so a container or journald gets JSON with no configuration."
          },
          {
            "name": "OLLAMA_HOST",
            "description": "Ollama server URL for the ollama embedding provider. Bare (not MARKDOWN_VAULT_MCP_-prefixed), matching the Ollama ecosystem convention."
          },
          {
            "name": "OPENAI_API_KEY",
            "description": "OpenAI API key for the openai embedding provider, and the fallback key for the summarize tool when MARKDOWN_VAULT_MCP_SUMMARIZE_OPENAI_API_KEY is unset. Bare (not MARKDOWN_VAULT_MCP_-prefixed), matching the OpenAI ecosystem convention.",
            "isSecret": true
          },
          {
            "name": "VOYAGE_API_KEY",
            "description": "Voyage AI API key for the voyage embedding provider. Bare (not MARKDOWN_VAULT_MCP_-prefixed), matching the OPENAI_API_KEY / OLLAMA_HOST convention. Setting it never auto-selects the provider; choose it explicitly with MARKDOWN_VAULT_MCP_EMBEDDING_PROVIDER=voyage.",
            "isSecret": true
          },
          {
            "name": "OPENAI_BASE_URL",
            "description": "Bare fallback for MARKDOWN_VAULT_MCP_OPENAI_BASE_URL (embeddings). For the summarize tool it only routes traffic when an API key already enables the feature; it never enables summarize by itself."
          },
          {
            "name": "OPENAI_EMBEDDING_MODEL",
            "description": "Bare fallback for MARKDOWN_VAULT_MCP_OPENAI_EMBEDDING_MODEL."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_BUILD_TIMEOUT_S",
            "description": "Maximum seconds an index-backed tool or resource waits for the FTS index to become queryable during a cold-start background build before raising IndexUnavailableError(reason=\"timeout\"). Increase for large vaults."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_DRAIN_TIMEOUT_S",
            "description": "Maximum seconds an index-querying read tool waits for the IndexWriter to drain when called with wait_for_pending_writes=true. On timeout the tool answers from the current index and reports index_stale=true in the response _meta."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_SOURCE_DIR",
            "description": "Path to the markdown vault directory. When it does not exist, or the server cannot access it, the server starts but every tool fails with a message saying which until it is fixed (managed git mode clones into it). Symbolic links inside the vault are followed on Python 3.13+."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_READ_ONLY",
            "description": "Set to true to hide the write tools (write, edit, append, delete, rename, move_folder, fetch, git_sync, the okf_* tools, create_upload_link) and serve a search-only vault."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_WRITE_PROTECT_EXISTING",
            "description": "Refuse a write that would overwrite an existing file when no if_match etag is supplied. Deliberate replacement still works: read the file first, then pass if_match. Unaffected: edit, append, delete, rename. Set to false to allow blind overwrites."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_DISABLE_APPS_UI",
            "description": "Hide the MCP Apps UI tools (browse_vault, show_context) from the tool listing for clients that do not render MCP Apps panels."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_INDEX_PATH",
            "description": "Path to the SQLite FTS5 index file; unset keeps the index in memory. Set it for persistence across restarts."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_STATE_PATH",
            "description": "Path to the change-tracking state file. Defaults to {SOURCE_DIR}/.markdown_vault_mcp/state.json."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_EMBEDDINGS_PATH",
            "description": "Path to the numpy embeddings file; required to enable semantic search."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_INDEXED_FIELDS",
            "description": "Comma-separated frontmatter fields promoted to the tag index for structured filtering. Changing it cold-rebuilds the index once on next startup; SEARCHABLE_FIELDS inherits this value when unset."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_REQUIRED_FIELDS",
            "description": "Comma-separated frontmatter fields required on every document; documents missing any are excluded from the index."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_EXCLUDE",
            "description": "Comma-separated glob patterns excluded from scanning, e.g. .obsidian/**,.trash/**."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_TITLE_FIELD",
            "description": "Frontmatter field used as the document title (falls back to title, the first H1, then the filename). Changing it cold-rebuilds the index once on next startup."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_SEARCHABLE_FIELDS",
            "description": "Comma-separated frontmatter fields whose text values become keyword-searchable and enrich first-chunk embeddings. Inherits INDEXED_FIELDS when unset; the sentinel none means filterable but not searchable. Changing it cold-rebuilds the index and re-embeds once on next startup."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_TEMPLATES_FOLDER",
            "description": "Relative folder where note templates live (used by the create_from_template prompt)."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_PROMPTS_FOLDER",
            "description": "Directory of .md prompt files that extend or override built-in prompts; a relative path is resolved against SOURCE_DIR."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_CONVENTIONS_FILE",
            "description": "Filename of the per-folder conventions files surfaced to clients at write time (bare .md filename without glob characters). Set to none to disable folder conventions."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_OKF_MODE",
            "description": "OKF (Open Knowledge Format) read semantics. With auto (the default), read annotations switch on when the vault declares an OKF version in its root index.md. Use off to disable OKF semantics entirely, or on to force them for an undeclared vault. Annotations are read-only; write behavior is never affected."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_OKF_WRITE",
            "description": "OKF (Open Knowledge Format) enforced write layer. When true on an OKF-active vault, the server stamps generated provenance on each write and clears any verified attestation when a note's content changes. It also keeps each written folder's log.md and index.md current, and exposes the okf_verify tool. Requires OKF_MODE to be auto or on (a true value with OKF_MODE=off is a config error). Off by default."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_OKF_VERIFY",
            "description": "How the okf_verify tool attributes a human review. This applies only when OKF_WRITE is on, which gates the tool. With elicit (the default), okf_verify asks the human to confirm the review through an MCP elicitation, then records the attestation only on an affirmative reply. It fails closed when the client cannot elicit or the human declines, so a model holding the human's token cannot self-attest. Set trust-auth instead to attribute to a token's sub claim with no confirmation; it rejects static bearer credentials and other client-ID-only identities. This is safe only when the sole caller is a human-driven UI. Set off to hide the tool, leaving attestation to external tooling. A non-default value with OKF_WRITE off is a config error."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_ATTACHMENT_EXTENSIONS",
            "description": "Comma-separated allowed attachment extensions (e.g. pdf,png,jpg); case and a leading dot are ignored, so PDF and .pdf name the same type. Use * to allow every non-markdown file. Unset selects the built-in allowlist. A link whose target has a listed extension is not part of the link graph; changing the list rebuilds the index once."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_MAX_ATTACHMENT_SIZE_MB",
            "description": "Maximum attachment size in MB returned by read / accepted by write; 0 disables the limit."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_MAX_NOTE_READ_BYTES",
            "description": "Maximum bytes returned by a full-document read of a note; use `read(path, section=…)` for partial reads. 0 disables the limit."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_DEFAULT_SEARCH_MODE",
            "description": "Mode used when a search call omits 'mode': auto, keyword, semantic, or hybrid. The default 'auto' picks hybrid when embeddings are configured and keyword when they are not. Pin 'keyword' to keep unqualified searches off the embedding provider (each hybrid or semantic search embeds the query, which costs an API call on a metered provider). A configured semantic/hybrid default also degrades to keyword without embeddings, so no setting can make a vault unsearchable; an explicit mode= argument is never downgraded."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_CHUNKS_PER_FILE",
            "description": "Maximum chunks returned per document in search results."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_SNIPPET_WORDS",
            "description": "Width of the snippet window (words) in search results; 0 returns full chunk content."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_LENGTH_DOWNWEIGHT_ALPHA",
            "description": "Down-weights longer chunks in ranking: score / (1 + alpha * log(chunk_count))."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_MAX_CHUNK_WORDS",
            "description": "Word cap per chunk; the adaptive chunker splits at deeper heading levels, then paragraph/word boundaries, to respect it. Match it to the embedding model's context. A reindex applies a new value."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_MAX_CHUNK_CHARS",
            "description": "Character cap enforced alongside MAX_CHUNK_WORDS to bound token-dense chunks. Unset derives min(1500, model context * 2.8). Set a positive value for an exact cap, or -1 to scale with the model's full context (can exhaust memory on long-context models). A reindex applies a new value."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_CHUNK_OVERLAP_WORDS",
            "description": "Words of overlap between adjacent budget-split fragments of the same heading section (0 disables). A reindex applies a new value."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_FOLDER_WEIGHTS",
            "description": "Folder-prefix score multipliers (`prefix:weight` pairs, comma-separated, weights > 0) applied to all search modes; the deepest matching prefix wins (sessions:0.5 demotes sessions/**)."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_FTS_WEIGHTS",
            "description": "Per-column BM25 weights (`column:weight` pairs, comma-separated, weights >= 0) for keyword ranking. Columns: path, title, folder, heading, content, summary."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_EMBEDDING_PROVIDER",
            "description": "Embedding provider: openai, voyage, ollama, or fastembed. Unset auto-detects from the environment (never voyage). Any OpenAI-compatible endpoint works with openai plus OPENAI_BASE_URL; see the embeddings guide."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_OLLAMA_MODEL",
            "description": "Ollama embedding model name."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_OLLAMA_CPU_ONLY",
            "description": "Force Ollama to embed on CPU only."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_VOYAGE_MODEL",
            "description": "Voyage AI embedding model name."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_OPENAI_BASE_URL",
            "description": "OpenAI-compatible API base URL for embeddings; the bare OPENAI_BASE_URL is honoured as a fallback."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_OPENAI_EMBEDDING_MODEL",
            "description": "OpenAI-compatible embedding model name; the bare OPENAI_EMBEDDING_MODEL is honoured as a fallback."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_FASTEMBED_MODEL",
            "description": "FastEmbed model name."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_FASTEMBED_CACHE_DIR",
            "description": "FastEmbed model cache directory (in Docker, stored under /data/state/fastembed)."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_EMBED_CONTEXT",
            "description": "Enrich embedding input with the note title, chunk heading, and (first chunk) searchable-field values. Flipping it re-embeds the whole vault once on next startup."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_EMBED_TIMEOUT_S",
            "description": "Per-request wall-clock budget in seconds for a single embedding HTTP call (OpenAI/Ollama). The local FastEmbed backend runs in-process with no network call and ignores this. CPU-only or large-model workloads may need 60-120 s; raise this if batches time out."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_EMBEDDING_BATCH_SIZE",
            "description": "Number of chunks sent per embedding request. Smaller batches shorten each request (useful under a tight timeout on slow models) at the cost of more round-trips."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_GIT_TOKEN",
            "description": "Token/password for HTTPS git auth; remotes must be HTTPS when set.",
            "isSecret": true
          },
          {
            "name": "MARKDOWN_VAULT_MCP_GIT_REPO_URL",
            "description": "HTTPS remote URL for managed git mode: the server clones into an empty SOURCE_DIR on startup (or validates an existing origin) and enables the pull loop, auto-commit, and deferred push."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_GIT_USERNAME",
            "description": "Username for HTTPS git auth prompts (x-access-token for GitHub, oauth2 for GitLab, the account name for Bitbucket)."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_GIT_PULL_INTERVAL_S",
            "description": "Seconds between git fetch + fast-forward update attempts; 0 disables periodic pull."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_GIT_PUSH_DELAY_S",
            "description": "Seconds of write-idle time before pushing; 0 pushes only on shutdown."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_GIT_COMMIT_NAME",
            "description": "Git committer name for auto-commits; set this in Docker where git config user.name is empty."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_GIT_COMMIT_EMAIL",
            "description": "Git committer email for auto-commits."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_GIT_COMMIT_NAME_CLAIM",
            "description": "OIDC claim key used as the commit author name (e.g. name); overrides GIT_COMMIT_NAME per request when an OIDC token is present. The claim is resolved when the tool call arrives and carried to the background commit, so it applies on every write. A configured claim the token does not carry is reported once at WARNING and the static identity is used."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_GIT_COMMIT_EMAIL_CLAIM",
            "description": "OIDC claim key used as the commit author email (e.g. email); overrides GIT_COMMIT_EMAIL per request when an OIDC token is present. Resolved and carried the same way as the name claim."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_GIT_LFS",
            "description": "Run git lfs pull on startup to fetch LFS-tracked attachments; set to false for repos without LFS."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_FILE_WATCHER",
            "description": "Watch the vault for external filesystem changes; auto-disabled when git pull is active or a webhook can deliver (HTTP/SSE transports only). Requires the file-watcher extra."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_FILE_WATCHER_DEBOUNCE_S",
            "description": "Seconds of quiet after the last filesystem event before reindexing."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_FILE_WATCHER_ROOT_FLOOR",
            "description": "Keep the non-recursive watch on the vault root; set false to register zero source-dir-rooted FSEvents streams (avoids repeated macOS access prompts on a home-rooted vault) at the cost of root-level files relying on scans."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_BOOT_REINDEX",
            "description": "Reconcile offline changes at startup by reindexing once the initial build completes. Set false on a large vault to start without paying a full filesystem scan per server start; changes made while no server was running are then invisible until a reindex runs (the reindex tool, or 'markdown-vault-mcp reindex'). Note that `index_stale` reports writer idleness, not agreement with disk, so it reads false while the index may still differ from the vault."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_GITHUB_WEBHOOK_SECRET",
            "description": "Shared secret for the GitHub push-event webhook; when set, mounts POST /github-webhook on HTTP/SSE transports to trigger an immediate pull + reindex on push events.",
            "isSecret": true
          },
          {
            "name": "MARKDOWN_VAULT_MCP_GITLAB_WEBHOOK_SIGNING_TOKEN",
            "description": "Signing token for the GitLab push-event webhook (GitLab 19.0+); when set, mounts POST /gitlab-webhook on HTTP/SSE transports to trigger an immediate pull + reindex on push events. GitLab generates this value; copy the `whsec_` token it shows under Generate signing token rather than inventing one. Deliveries are authenticated by HMAC-SHA256 over the webhook id, timestamp and body, and a delivery older than 5 minutes is rejected.",
            "isSecret": true
          },
          {
            "name": "MARKDOWN_VAULT_MCP_GITLAB_WEBHOOK_SECRET_TOKEN",
            "description": "Secret token for the GitLab push-event webhook, GitLab's plain-text form and the only one below 19.0; also mounts POST /gitlab-webhook. It proves nothing about the body and cannot expire, so prefer the signing token where the GitLab version offers it. Setting both accepts either, which is how an existing webhook migrates.",
            "isSecret": true
          },
          {
            "name": "MARKDOWN_VAULT_MCP_SUMMARIZE_PROVIDER",
            "description": "Summarization backend (only openai is recognised). Unset auto-detects: the backend activates when credentials or an explicit endpoint are present."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_SUMMARIZE_OPENAI_API_KEY",
            "description": "API key for the OpenAI-compatible summarize endpoint; the bare OPENAI_API_KEY is honoured as a fallback. Unset works for keyless local endpoints (Ollama).",
            "isSecret": true
          },
          {
            "name": "MARKDOWN_VAULT_MCP_SUMMARIZE_OPENAI_BASE_URL",
            "description": "OpenAI-compatible endpoint base URL for the summarize tool; setting it enables the tool even without an API key. The bare OPENAI_BASE_URL routes traffic only when a key already enables the feature."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_SUMMARIZE_OPENAI_MODEL",
            "description": "Chat model id used for summaries."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_SUMMARIZE_MAX_TOKENS",
            "description": "Upper bound on generated tokens per summarize call; on reasoning models this budget also covers internal reasoning tokens."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_SUMMARIZE_MAX_NOTES",
            "description": "Cap on the number of notes summarised in one call (subtree expansion truncates to this many)."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_SUMMARIZE_MAX_INPUT_CHARS",
            "description": "Aggregate cap on note characters sent to the model in one call; excess is truncated with a flag on the result."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_SUMMARIZE_TIMEOUT",
            "description": "Per-request wall-clock budget in seconds for a single summarize backend call; keep it below the MCP client's request timeout so the server-side error wins the race."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_TRANSFER_TTL_DEFAULT_S",
            "description": "Link lifetime in seconds when the caller requests no explicit TTL."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_TRANSFER_TTL_MAX_S",
            "description": "Ceiling in seconds a caller-requested link TTL is clamped to."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_TRANSFER_GRACE_TTL_S",
            "description": "Post-success grace window in seconds: a served token's TTL shrinks to this so a stalled transfer can retry within it."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_TRANSFER_LEASE_S",
            "description": "Crashed-handler reclaim window in seconds for an in-flight reservation."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_TRANSFER_MAX_UPLOAD_BYTES",
            "description": "Maximum size in bytes of a single upload."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_JOBS_SOFT_DEADLINE_S",
            "description": "Seconds a long-running tool call may run in the foreground before it is promoted to a background job and a job handle is returned instead."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_JOBS_RESULT_TTL_S",
            "description": "Seconds a background-job record (working or finished) is retained for polling before it expires from the store."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_JOBS_MAX_PER_SUBJECT",
            "description": "Maximum live background jobs per calling subject; further promotions are rejected until older records expire."
          }
        ]
      },
      {
        "registryType": "oci",
        "identifier": "ghcr.io/pvliesdonk/markdown-vault-mcp:v5.0.0",
        "transport": "streamable-http",
        "environmentVariables": [
          {
            "name": "MARKDOWN_VAULT_MCP_SHUTDOWN_GRACE_S",
            "description": "Seconds SIGTERM may spend draining in-flight requests before the HTTP server exits. Keep it at or below the termination grace period the orchestrator allows. `0` drops in-flight requests immediately."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_BASE_URL",
            "description": "Public base URL of the deployed server, for example `https://mcp.example.com`. Required for OIDC. Also the fallback source of the MCP Apps domain when `app_domain` is unset."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_BEARER_TOKEN",
            "description": "Single shared bearer token; enables bearer auth unless `bearer_tokens_file` is set, which takes precedence.",
            "isSecret": true
          },
          {
            "name": "MARKDOWN_VAULT_MCP_OIDC_CONFIG_URL",
            "description": "OIDC discovery document URL, for example `https://auth.example.com/.well-known/openid-configuration`."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_OIDC_CLIENT_ID",
            "description": "OIDC client identifier registered with the provider."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_OIDC_CLIENT_SECRET",
            "description": "OIDC client secret registered with the provider.",
            "isSecret": true
          },
          {
            "name": "MARKDOWN_VAULT_MCP_OIDC_AUDIENCE",
            "description": "Expected `aud` claim; tokens issued for another audience are rejected."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_OIDC_REQUIRED_SCOPES",
            "description": "Scopes a caller must present, space- or comma-separated. Defaults to `openid` in oidc-proxy mode."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_OIDC_ADVERTISED_SCOPES",
            "description": "Scopes advertised to MCP clients in protected-resource metadata, space- or comma-separated. Overrides the default `openid offline_access`; `oidc_required_scopes` is always added on top. Set this when the registered client is not permitted `offline_access`, or to have clients request extra claim scopes (such as `groups`) without also requiring them in every token."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_OIDC_JWT_SIGNING_KEY",
            "description": "Signing key for issued tokens; used in oidc-proxy mode only. When unset, the key is derived deterministically from `oidc_client_secret`, so tokens survive a restart. Rotating that secret then invalidates every issued token. Set this explicitly to decouple token validity from secret rotation. Generate with `openssl rand -hex 32`.",
            "isSecret": true
          },
          {
            "name": "MARKDOWN_VAULT_MCP_OIDC_VERIFY_ACCESS_TOKEN",
            "description": "Validate the access token instead of the id token."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_KV_STORE_URL",
            "description": "Persistent-state backend URL shared by every pvl-core subsystem that needs state. `memory://` is in-process and lost on restart; `file:///path` persists on one server; `redis://`, `dynamodb://` and `mongodb://` each need their matching extra. When unset, defaults to `file:///data/state` (the volume family Docker images mount), or to `memory://` (with a warning) on a host where that directory is not usable."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_APP_DOMAIN",
            "description": "MCP Apps iframe domain, used for CSP sandboxing. Overrides the host derived from `base_url`."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_TOOLS_ALLOW",
            "description": "Comma-separated explicit tool names this instance exposes; every other tool is hidden from listings and cannot be invoked. Names matching no registered tool are inert. Mutually exclusive with `tools_deny`. Takes effect through `apply_tool_visibility`."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_TOOLS_DENY",
            "description": "Comma-separated explicit tool names hidden from this instance (absent from listings, cannot be invoked). Names matching no registered tool are inert. Mutually exclusive with `tools_allow`. Takes effect through `apply_tool_visibility`."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_AUTH_MODE",
            "description": "Explicit auth-mode override, accepting `remote` or `oidc-proxy` (case- and whitespace-insensitive). When unset the mode is auto-detected from which auth variables are set; the override exists because having all four OIDC variables set is ambiguous between those two modes. Other values are ignored with a warning."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_BEARER_TOKENS_FILE",
            "description": "Path to a TOML file mapping bearer tokens to subjects; overrides the single-token `bearer_token` mode."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_BEARER_DEFAULT_SUBJECT",
            "description": "Subject assigned to the single-token bearer mode; ignored when `bearer_tokens_file` is set, since mapped mode carries per-token subjects."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_SERVER_NAME",
            "description": "Rename this server instance; defaults to the project name."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_INSTANCE_DESCRIPTION",
            "description": "Concise routing context that distinguishes this deployment's material or responsibility."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_INSTRUCTIONS_EXTRA",
            "description": "Deployment-specific behavioral policy added to the generated MCP instructions."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_INSTRUCTIONS",
            "description": "Legacy: replaces all generated MCP instructions (deprecated; use _INSTANCE_DESCRIPTION for routing and _INSTRUCTIONS_EXTRA for policy)."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_HTTP_PATH",
            "description": "Mount path for the MCP endpoint; the health routes derive their prefix from it."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_HEALTH_DETAIL",
            "description": "How much the unauthenticated /health and /health/ready bodies say: status, standard (adds name, version and per-check verdicts), or full (adds redacted reasons; trusted networks only)."
          },
          {
            "name": "PUID",
            "description": "Run the server process as this UID; the container entrypoint reassigns ownership of writable paths to match."
          },
          {
            "name": "PGID",
            "description": "Run the server process as this GID; pair with PUID to match the owner of a mounted volume."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_LOG_LEVEL",
            "description": "Log level for every logger in the process, FastMCP's included (DEBUG / INFO / WARNING / ERROR / CRITICAL). The -v CLI flag overrides to DEBUG. The unprefixed FASTMCP_LOG_LEVEL still works for one major version and logs a deprecation warning."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_LOG_FORMAT",
            "description": "Log rendering. rich is one colour event key=value line per record, for a terminal; json is one JSON object per record, for a collector. Unset picks rich when stderr is a terminal and json everywhere else, so a container or journald gets JSON with no configuration."
          },
          {
            "name": "OLLAMA_HOST",
            "description": "Ollama server URL for the ollama embedding provider. Bare (not MARKDOWN_VAULT_MCP_-prefixed), matching the Ollama ecosystem convention."
          },
          {
            "name": "OPENAI_API_KEY",
            "description": "OpenAI API key for the openai embedding provider, and the fallback key for the summarize tool when MARKDOWN_VAULT_MCP_SUMMARIZE_OPENAI_API_KEY is unset. Bare (not MARKDOWN_VAULT_MCP_-prefixed), matching the OpenAI ecosystem convention.",
            "isSecret": true
          },
          {
            "name": "VOYAGE_API_KEY",
            "description": "Voyage AI API key for the voyage embedding provider. Bare (not MARKDOWN_VAULT_MCP_-prefixed), matching the OPENAI_API_KEY / OLLAMA_HOST convention. Setting it never auto-selects the provider; choose it explicitly with MARKDOWN_VAULT_MCP_EMBEDDING_PROVIDER=voyage.",
            "isSecret": true
          },
          {
            "name": "OPENAI_BASE_URL",
            "description": "Bare fallback for MARKDOWN_VAULT_MCP_OPENAI_BASE_URL (embeddings). For the summarize tool it only routes traffic when an API key already enables the feature; it never enables summarize by itself."
          },
          {
            "name": "OPENAI_EMBEDDING_MODEL",
            "description": "Bare fallback for MARKDOWN_VAULT_MCP_OPENAI_EMBEDDING_MODEL."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_BUILD_TIMEOUT_S",
            "description": "Maximum seconds an index-backed tool or resource waits for the FTS index to become queryable during a cold-start background build before raising IndexUnavailableError(reason=\"timeout\"). Increase for large vaults."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_DRAIN_TIMEOUT_S",
            "description": "Maximum seconds an index-querying read tool waits for the IndexWriter to drain when called with wait_for_pending_writes=true. On timeout the tool answers from the current index and reports index_stale=true in the response _meta."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_SOURCE_DIR",
            "description": "Path to the markdown vault directory. When it does not exist, or the server cannot access it, the server starts but every tool fails with a message saying which until it is fixed (managed git mode clones into it). Symbolic links inside the vault are followed on Python 3.13+."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_READ_ONLY",
            "description": "Set to true to hide the write tools (write, edit, append, delete, rename, move_folder, fetch, git_sync, the okf_* tools, create_upload_link) and serve a search-only vault."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_WRITE_PROTECT_EXISTING",
            "description": "Refuse a write that would overwrite an existing file when no if_match etag is supplied. Deliberate replacement still works: read the file first, then pass if_match. Unaffected: edit, append, delete, rename. Set to false to allow blind overwrites."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_DISABLE_APPS_UI",
            "description": "Hide the MCP Apps UI tools (browse_vault, show_context) from the tool listing for clients that do not render MCP Apps panels."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_INDEX_PATH",
            "description": "Path to the SQLite FTS5 index file; unset keeps the index in memory. Set it for persistence across restarts."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_STATE_PATH",
            "description": "Path to the change-tracking state file. Defaults to {SOURCE_DIR}/.markdown_vault_mcp/state.json."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_EMBEDDINGS_PATH",
            "description": "Path to the numpy embeddings file; required to enable semantic search."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_INDEXED_FIELDS",
            "description": "Comma-separated frontmatter fields promoted to the tag index for structured filtering. Changing it cold-rebuilds the index once on next startup; SEARCHABLE_FIELDS inherits this value when unset."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_REQUIRED_FIELDS",
            "description": "Comma-separated frontmatter fields required on every document; documents missing any are excluded from the index."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_EXCLUDE",
            "description": "Comma-separated glob patterns excluded from scanning, e.g. .obsidian/**,.trash/**."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_TITLE_FIELD",
            "description": "Frontmatter field used as the document title (falls back to title, the first H1, then the filename). Changing it cold-rebuilds the index once on next startup."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_SEARCHABLE_FIELDS",
            "description": "Comma-separated frontmatter fields whose text values become keyword-searchable and enrich first-chunk embeddings. Inherits INDEXED_FIELDS when unset; the sentinel none means filterable but not searchable. Changing it cold-rebuilds the index and re-embeds once on next startup."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_TEMPLATES_FOLDER",
            "description": "Relative folder where note templates live (used by the create_from_template prompt)."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_PROMPTS_FOLDER",
            "description": "Directory of .md prompt files that extend or override built-in prompts; a relative path is resolved against SOURCE_DIR."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_CONVENTIONS_FILE",
            "description": "Filename of the per-folder conventions files surfaced to clients at write time (bare .md filename without glob characters). Set to none to disable folder conventions."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_OKF_MODE",
            "description": "OKF (Open Knowledge Format) read semantics. With auto (the default), read annotations switch on when the vault declares an OKF version in its root index.md. Use off to disable OKF semantics entirely, or on to force them for an undeclared vault. Annotations are read-only; write behavior is never affected."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_OKF_WRITE",
            "description": "OKF (Open Knowledge Format) enforced write layer. When true on an OKF-active vault, the server stamps generated provenance on each write and clears any verified attestation when a note's content changes. It also keeps each written folder's log.md and index.md current, and exposes the okf_verify tool. Requires OKF_MODE to be auto or on (a true value with OKF_MODE=off is a config error). Off by default."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_OKF_VERIFY",
            "description": "How the okf_verify tool attributes a human review. This applies only when OKF_WRITE is on, which gates the tool. With elicit (the default), okf_verify asks the human to confirm the review through an MCP elicitation, then records the attestation only on an affirmative reply. It fails closed when the client cannot elicit or the human declines, so a model holding the human's token cannot self-attest. Set trust-auth instead to attribute to a token's sub claim with no confirmation; it rejects static bearer credentials and other client-ID-only identities. This is safe only when the sole caller is a human-driven UI. Set off to hide the tool, leaving attestation to external tooling. A non-default value with OKF_WRITE off is a config error."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_ATTACHMENT_EXTENSIONS",
            "description": "Comma-separated allowed attachment extensions (e.g. pdf,png,jpg); case and a leading dot are ignored, so PDF and .pdf name the same type. Use * to allow every non-markdown file. Unset selects the built-in allowlist. A link whose target has a listed extension is not part of the link graph; changing the list rebuilds the index once."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_MAX_ATTACHMENT_SIZE_MB",
            "description": "Maximum attachment size in MB returned by read / accepted by write; 0 disables the limit."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_MAX_NOTE_READ_BYTES",
            "description": "Maximum bytes returned by a full-document read of a note; use `read(path, section=…)` for partial reads. 0 disables the limit."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_DEFAULT_SEARCH_MODE",
            "description": "Mode used when a search call omits 'mode': auto, keyword, semantic, or hybrid. The default 'auto' picks hybrid when embeddings are configured and keyword when they are not. Pin 'keyword' to keep unqualified searches off the embedding provider (each hybrid or semantic search embeds the query, which costs an API call on a metered provider). A configured semantic/hybrid default also degrades to keyword without embeddings, so no setting can make a vault unsearchable; an explicit mode= argument is never downgraded."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_CHUNKS_PER_FILE",
            "description": "Maximum chunks returned per document in search results."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_SNIPPET_WORDS",
            "description": "Width of the snippet window (words) in search results; 0 returns full chunk content."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_LENGTH_DOWNWEIGHT_ALPHA",
            "description": "Down-weights longer chunks in ranking: score / (1 + alpha * log(chunk_count))."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_MAX_CHUNK_WORDS",
            "description": "Word cap per chunk; the adaptive chunker splits at deeper heading levels, then paragraph/word boundaries, to respect it. Match it to the embedding model's context. A reindex applies a new value."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_MAX_CHUNK_CHARS",
            "description": "Character cap enforced alongside MAX_CHUNK_WORDS to bound token-dense chunks. Unset derives min(1500, model context * 2.8). Set a positive value for an exact cap, or -1 to scale with the model's full context (can exhaust memory on long-context models). A reindex applies a new value."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_CHUNK_OVERLAP_WORDS",
            "description": "Words of overlap between adjacent budget-split fragments of the same heading section (0 disables). A reindex applies a new value."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_FOLDER_WEIGHTS",
            "description": "Folder-prefix score multipliers (`prefix:weight` pairs, comma-separated, weights > 0) applied to all search modes; the deepest matching prefix wins (sessions:0.5 demotes sessions/**)."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_FTS_WEIGHTS",
            "description": "Per-column BM25 weights (`column:weight` pairs, comma-separated, weights >= 0) for keyword ranking. Columns: path, title, folder, heading, content, summary."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_EMBEDDING_PROVIDER",
            "description": "Embedding provider: openai, voyage, ollama, or fastembed. Unset auto-detects from the environment (never voyage). Any OpenAI-compatible endpoint works with openai plus OPENAI_BASE_URL; see the embeddings guide."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_OLLAMA_MODEL",
            "description": "Ollama embedding model name."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_OLLAMA_CPU_ONLY",
            "description": "Force Ollama to embed on CPU only."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_VOYAGE_MODEL",
            "description": "Voyage AI embedding model name."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_OPENAI_BASE_URL",
            "description": "OpenAI-compatible API base URL for embeddings; the bare OPENAI_BASE_URL is honoured as a fallback."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_OPENAI_EMBEDDING_MODEL",
            "description": "OpenAI-compatible embedding model name; the bare OPENAI_EMBEDDING_MODEL is honoured as a fallback."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_FASTEMBED_MODEL",
            "description": "FastEmbed model name."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_FASTEMBED_CACHE_DIR",
            "description": "FastEmbed model cache directory (in Docker, stored under /data/state/fastembed)."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_EMBED_CONTEXT",
            "description": "Enrich embedding input with the note title, chunk heading, and (first chunk) searchable-field values. Flipping it re-embeds the whole vault once on next startup."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_EMBED_TIMEOUT_S",
            "description": "Per-request wall-clock budget in seconds for a single embedding HTTP call (OpenAI/Ollama). The local FastEmbed backend runs in-process with no network call and ignores this. CPU-only or large-model workloads may need 60-120 s; raise this if batches time out."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_EMBEDDING_BATCH_SIZE",
            "description": "Number of chunks sent per embedding request. Smaller batches shorten each request (useful under a tight timeout on slow models) at the cost of more round-trips."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_GIT_TOKEN",
            "description": "Token/password for HTTPS git auth; remotes must be HTTPS when set.",
            "isSecret": true
          },
          {
            "name": "MARKDOWN_VAULT_MCP_GIT_REPO_URL",
            "description": "HTTPS remote URL for managed git mode: the server clones into an empty SOURCE_DIR on startup (or validates an existing origin) and enables the pull loop, auto-commit, and deferred push."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_GIT_USERNAME",
            "description": "Username for HTTPS git auth prompts (x-access-token for GitHub, oauth2 for GitLab, the account name for Bitbucket)."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_GIT_PULL_INTERVAL_S",
            "description": "Seconds between git fetch + fast-forward update attempts; 0 disables periodic pull."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_GIT_PUSH_DELAY_S",
            "description": "Seconds of write-idle time before pushing; 0 pushes only on shutdown."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_GIT_COMMIT_NAME",
            "description": "Git committer name for auto-commits; set this in Docker where git config user.name is empty."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_GIT_COMMIT_EMAIL",
            "description": "Git committer email for auto-commits."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_GIT_COMMIT_NAME_CLAIM",
            "description": "OIDC claim key used as the commit author name (e.g. name); overrides GIT_COMMIT_NAME per request when an OIDC token is present. The claim is resolved when the tool call arrives and carried to the background commit, so it applies on every write. A configured claim the token does not carry is reported once at WARNING and the static identity is used."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_GIT_COMMIT_EMAIL_CLAIM",
            "description": "OIDC claim key used as the commit author email (e.g. email); overrides GIT_COMMIT_EMAIL per request when an OIDC token is present. Resolved and carried the same way as the name claim."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_GIT_LFS",
            "description": "Run git lfs pull on startup to fetch LFS-tracked attachments; set to false for repos without LFS."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_FILE_WATCHER",
            "description": "Watch the vault for external filesystem changes; auto-disabled when git pull is active or a webhook can deliver (HTTP/SSE transports only). Requires the file-watcher extra."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_FILE_WATCHER_DEBOUNCE_S",
            "description": "Seconds of quiet after the last filesystem event before reindexing."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_FILE_WATCHER_ROOT_FLOOR",
            "description": "Keep the non-recursive watch on the vault root; set false to register zero source-dir-rooted FSEvents streams (avoids repeated macOS access prompts on a home-rooted vault) at the cost of root-level files relying on scans."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_BOOT_REINDEX",
            "description": "Reconcile offline changes at startup by reindexing once the initial build completes. Set false on a large vault to start without paying a full filesystem scan per server start; changes made while no server was running are then invisible until a reindex runs (the reindex tool, or 'markdown-vault-mcp reindex'). Note that `index_stale` reports writer idleness, not agreement with disk, so it reads false while the index may still differ from the vault."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_GITHUB_WEBHOOK_SECRET",
            "description": "Shared secret for the GitHub push-event webhook; when set, mounts POST /github-webhook on HTTP/SSE transports to trigger an immediate pull + reindex on push events.",
            "isSecret": true
          },
          {
            "name": "MARKDOWN_VAULT_MCP_GITLAB_WEBHOOK_SIGNING_TOKEN",
            "description": "Signing token for the GitLab push-event webhook (GitLab 19.0+); when set, mounts POST /gitlab-webhook on HTTP/SSE transports to trigger an immediate pull + reindex on push events. GitLab generates this value; copy the `whsec_` token it shows under Generate signing token rather than inventing one. Deliveries are authenticated by HMAC-SHA256 over the webhook id, timestamp and body, and a delivery older than 5 minutes is rejected.",
            "isSecret": true
          },
          {
            "name": "MARKDOWN_VAULT_MCP_GITLAB_WEBHOOK_SECRET_TOKEN",
            "description": "Secret token for the GitLab push-event webhook, GitLab's plain-text form and the only one below 19.0; also mounts POST /gitlab-webhook. It proves nothing about the body and cannot expire, so prefer the signing token where the GitLab version offers it. Setting both accepts either, which is how an existing webhook migrates.",
            "isSecret": true
          },
          {
            "name": "MARKDOWN_VAULT_MCP_SUMMARIZE_PROVIDER",
            "description": "Summarization backend (only openai is recognised). Unset auto-detects: the backend activates when credentials or an explicit endpoint are present."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_SUMMARIZE_OPENAI_API_KEY",
            "description": "API key for the OpenAI-compatible summarize endpoint; the bare OPENAI_API_KEY is honoured as a fallback. Unset works for keyless local endpoints (Ollama).",
            "isSecret": true
          },
          {
            "name": "MARKDOWN_VAULT_MCP_SUMMARIZE_OPENAI_BASE_URL",
            "description": "OpenAI-compatible endpoint base URL for the summarize tool; setting it enables the tool even without an API key. The bare OPENAI_BASE_URL routes traffic only when a key already enables the feature."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_SUMMARIZE_OPENAI_MODEL",
            "description": "Chat model id used for summaries."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_SUMMARIZE_MAX_TOKENS",
            "description": "Upper bound on generated tokens per summarize call; on reasoning models this budget also covers internal reasoning tokens."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_SUMMARIZE_MAX_NOTES",
            "description": "Cap on the number of notes summarised in one call (subtree expansion truncates to this many)."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_SUMMARIZE_MAX_INPUT_CHARS",
            "description": "Aggregate cap on note characters sent to the model in one call; excess is truncated with a flag on the result."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_SUMMARIZE_TIMEOUT",
            "description": "Per-request wall-clock budget in seconds for a single summarize backend call; keep it below the MCP client's request timeout so the server-side error wins the race."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_TRANSFER_TTL_DEFAULT_S",
            "description": "Link lifetime in seconds when the caller requests no explicit TTL."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_TRANSFER_TTL_MAX_S",
            "description": "Ceiling in seconds a caller-requested link TTL is clamped to."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_TRANSFER_GRACE_TTL_S",
            "description": "Post-success grace window in seconds: a served token's TTL shrinks to this so a stalled transfer can retry within it."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_TRANSFER_LEASE_S",
            "description": "Crashed-handler reclaim window in seconds for an in-flight reservation."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_TRANSFER_MAX_UPLOAD_BYTES",
            "description": "Maximum size in bytes of a single upload."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_JOBS_SOFT_DEADLINE_S",
            "description": "Seconds a long-running tool call may run in the foreground before it is promoted to a background job and a job handle is returned instead."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_JOBS_RESULT_TTL_S",
            "description": "Seconds a background-job record (working or finished) is retained for polling before it expires from the store."
          },
          {
            "name": "MARKDOWN_VAULT_MCP_JOBS_MAX_PER_SUBJECT",
            "description": "Maximum live background jobs per calling subject; further promotions are rejected until older records expire."
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode",
    "trae",
    "cherry-studio",
    "lingma",
    "windsurf",
    "cline",
    "workbuddy"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.pvliesdonk/markdown-vault-mcp",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.pvliesdonk%2Fmarkdown-vault-mcp/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}