Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:sparkles: Support Model Context Protocol (MCP) https://github.com/siyuan-note/siyuan/issues/13795

Daniel45cef610afbd
diff --git a/kernel/mcp/tools/attr.go b/kernel/mcp/tools/attr.go
index 229c979e28..0642802d25 100644
--- a/kernel/mcp/tools/attr.go
+++ b/kernel/mcp/tools/attr.go
@@ -99,6 +99,7 @@ func attrSet(args map[string]interface{}) (CallToolResult, error) {
return CallToolResult{Content: []ContentItem{{Type: "text", Text: "set attrs failed: " + err.Error()}}, IsError: true}, nil
}
+ model.AppendPushReloadFiletreeEntry()
return CallToolResult{Content: []ContentItem{{Type: "text", Text: "attributes set for: " + id}}}, nil
}