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 (20 loc) 620 B
/** * Search tools exports */ export * from './simple.js'; export * from './complex.js'; import { ObsidianClient } from '../../obsidian/client.js'; import { FindInFileToolHandler } from './simple.js'; import { ComplexSearchToolHandler, GetTagsToolHandler } from './complex.js'; /** * Create all search-related tool handlers * @param client The ObsidianClient instance * @returns Array of search tool handlers */ export function createSearchToolHandlers(client: ObsidianClient) { return [ new FindInFileToolHandler(client), new ComplexSearchToolHandler(client), new GetTagsToolHandler(client) ]; }