UNPKG

@phren/cli

Version:

Knowledge layer for AI agents - CLI, MCP server, and data layer

11 lines (10 loc) • 577 B
import type { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import { type McpContext } from "./types.js"; /** * Q30: Log zero-result queries to .runtime/search-misses.jsonl. * Strips PII-like tokens (emails, UUIDs, numbers) and keeps only query terms. */ export declare function logSearchMiss(phrenPath: string, query: string, project?: string): void; /** These tools answer from the FTS index; the MCP server refreshes it before each call. */ export declare const readsIndex = true; export declare function register(server: McpServer, ctx: McpContext): void;