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.
30 lines (27 loc) • 483 B
text/typescript
/**
* Resource types for the MCP server
*/
/**
* Tag information structure
*/
export interface TagInfo {
name: string;
count: number;
files: string[];
}
/**
* Tag metadata structure
*/
export interface TagMetadata {
totalOccurrences: number;
uniqueTags: number;
scannedFiles: number;
lastUpdate: number; // Timestamp of last cache update
}
/**
* Tag resource response structure
*/
export interface TagResponse {
tags: TagInfo[];
metadata: TagMetadata;
}