Skip to main content
Glama
index.ts1.63 kB
/** * 导出所有工具处理器 */ export { BaseToolHandler } from './base.js'; // 搜索相关 export * from './search.js'; // 文档相关 export * from './document.js'; // 笔记本相关 export * from './notebook.js'; // 快照相关 export * from './snapshot.js'; // 标签相关 export * from './tag.js'; import { UnifiedSearchHandler, } from './search.js'; import { GetDocumentContentHandler, CreateDocumentHandler, AppendToDocumentHandler, UpdateDocumentHandler, AppendToDailyNoteHandler, MoveDocumentsHandler, GetDocumentTreeHandler, } from './document.js'; import { ListNotebooksHandler, GetRecentlyUpdatedDocumentsHandler, CreateNotebookHandler, } from './notebook.js'; import { CreateSnapshotHandler, ListSnapshotsHandler, RollbackSnapshotHandler, } from './snapshot.js'; import { ListAllTagsHandler, ReplaceTagHandler, } from './tag.js'; // 工厂函数:创建所有处理器实例 export function createAllHandlers() { return [ // 搜索 new UnifiedSearchHandler(), // 统一搜索 // 文档 new GetDocumentContentHandler(), new CreateDocumentHandler(), new AppendToDocumentHandler(), new UpdateDocumentHandler(), new AppendToDailyNoteHandler(), new MoveDocumentsHandler(), new GetDocumentTreeHandler(), // 笔记本 new ListNotebooksHandler(), new GetRecentlyUpdatedDocumentsHandler(), new CreateNotebookHandler(), // 快照 new CreateSnapshotHandler(), new ListSnapshotsHandler(), new RollbackSnapshotHandler(), // 标签 new ListAllTagsHandler(), new ReplaceTagHandler(), ]; }

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/porkll/siyuan-mcp'

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