Skip to content

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

:sparkles: New settings UI https://github.com/siyuan-note/siyuan/issues/17601

Daniel8357cacd5f4c
diff --git a/app/src/types/config.d.ts b/app/src/types/config.d.ts
index ef3cc2c84c..f289f4a10c 100644
--- a/app/src/types/config.d.ts
+++ b/app/src/types/config.d.ts
@@ -168,6 +168,24 @@ declare namespace Config {
maxContexts: number;
}
+ /**
+ * MCP (Model Context Protocol) configuration
+ */
+ export interface IMCP {
+ servers?: IMCPServer[];
+ }
+
+ export interface IMCPServer {
+ name: string;
+ enabled: boolean;
+ type: string;
+ command: string;
+ args?: string[];
+ url: string;
+ headers?: Record<string, string>;
+ timeout: number;
+ }
+
/**
* SiYuan API related configuration
*/