Skip to main content
Glama
moton16

Mortis-RAG-MCP

by moton16

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
VAULT_MCP_CONFIGNoPath to a TOML configuration file. Overrides the default config path (~/.vault_mcp/config.toml), but is superseded by the --app-config command-line argument.
VAULT_MCP_API_KEYNoAPI key used for external embedding and reranking providers. Referenced via ${VAULT_MCP_API_KEY} in the configuration file.
VAULT_MCP_REGISTRYNoPath to the vault registry file. Normally set automatically, but can be overridden for testing or multi-instance setups.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
kb_initA

注册(初始化)一个文件夹为知识库:校验目录、写入用户级注册表(跨重启保留)、后台建立索引并启动文件监听。首次使用或要纳入新文件夹时调用。

kb_unregisterA

注销一个已注册的知识库:停止文件监听并从注册表移除(不影响文件夹本身)。

kb_vaultsA

列出所有已注册的知识库(含存活状态与索引进度)。

kb_rebuildA

删除指定知识库的磁盘缓存并强制全量重建索引(首次建库或内容大改后用)。

kb_listB

列出已索引的 Markdown 文件。可传 vault_path 指定知识库。

kb_searchA

搜索知识库并返回结构化原始 chunks。不传 vault_path 时跨全部注册库 fan-out 检索(结果带 vault 字段)。

kb_readB

读取知识库原文,不调用 LLM。多库环境下建议显式传 vault_path(fan-out 结果中的 source 是库内相对路径)。

kb_statsB

返回指定知识库的索引状态、失败文件、最后同步时间和模型信息。

kb_exemptA

查看、添加、删除知识库的 RAG 豁免项(排除不希望被检索的私密/草稿内容)。支持查看规则、添加/删除 .vaultignore 通配符、标记/取消单个文件豁免、检查文件豁免状态。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/moton16/Mortis-RAG-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server