systemprompt-mcp-reddit
Version:
A specialized Model Context Protocol (MCP) server that enables you to search, read, and interact with Reddit content, leveraging an AI Agent to help with each operation.
29 lines (28 loc) • 1.28 kB
TypeScript
import type { SystempromptPromptResponse, SystempromptBlockResponse, SystempromptUserStatusResponse, SystempromptBlockRequest } from "../types/systemprompt.js";
export declare class SystemPromptService {
private static instance;
private baseUrl;
private constructor();
static initialize(): void;
static getInstance(): SystemPromptService;
static cleanup(): void;
private request;
getAllPrompts(): Promise<SystempromptPromptResponse[]>;
listBlocks(options?: {
tags?: string[];
status?: string;
search?: string;
page?: number;
limit?: number;
sortBy?: string;
sortDirection?: "ASC" | "DESC";
}): Promise<SystempromptBlockResponse[]>;
getBlock(blockId: string): Promise<SystempromptBlockResponse>;
fetchUserStatus(): Promise<SystempromptUserStatusResponse>;
deletePrompt(id: string): Promise<void>;
getUser(): Promise<SystempromptUserStatusResponse>;
createBlock(block: SystempromptBlockRequest): Promise<SystempromptBlockResponse>;
updateBlock(id: string, block: Partial<SystempromptBlockRequest>): Promise<SystempromptBlockResponse>;
upsertBlock(block: SystempromptBlockRequest): Promise<SystempromptBlockResponse>;
deleteBlock(id: string): Promise<void>;
}