UNPKG

obsidian-mcp-server

Version:

Model Context Protocol (MCP) server designed for LLMs to interact with Obsidian vaults. Provides secure, token-aware tools for seamless knowledge base management through a standardized interface.

22 lines 763 B
/** * File operation tools exports */ export * from './list.js'; export * from './content.js'; import { ListFilesInVaultToolHandler, ListFilesInDirToolHandler } from './list.js'; import { GetFileContentsToolHandler, AppendContentToolHandler, PatchContentToolHandler } from './content.js'; /** * Create all file-related tool handlers * @param client The ObsidianClient instance * @returns Array of file tool handlers */ export function createFileToolHandlers(client) { return [ new ListFilesInVaultToolHandler(client), new ListFilesInDirToolHandler(client), new GetFileContentsToolHandler(client), new AppendContentToolHandler(client), new PatchContentToolHandler(client) ]; } //# sourceMappingURL=index.js.map