jrnl-mcp
Version:
Model Context Protocol server for jrnl CLI journal application
23 lines (22 loc) • 558 B
TypeScript
import { JrnlExecutor } from "../utils/jrnlExecutor";
export interface JournalEntry {
date: string;
time: string;
title: string;
body: string;
tags: string[];
starred: boolean;
}
export interface SearchEntriesParams {
from?: string;
to?: string;
tags?: string[];
contains?: string;
limit?: number;
starred?: boolean;
journal?: string;
}
export declare function searchEntries(params: SearchEntriesParams, executor: JrnlExecutor): Promise<{
entries: JournalEntry[];
tags: Record<string, number>;
}>;