systemprompt-mcp-interview
Version:
A specialized Model Context Protocol (MCP) server that enables AI-powered interview roleplay scenarios
35 lines (34 loc) • 1.77 kB
TypeScript
import type { SystempromptBlockRequest, SystempromptPromptRequest, SystempromptBlockResponse, SystempromptPromptResponse, SystempromptUserStatusResponse, SystempromptAgentResponse, SystempromptAgentRequest } from "../types/index.js";
export declare class SystemPromptService {
private static instance;
private apiKey;
private baseUrl;
private constructor();
static initialize(): void;
static getInstance(): SystemPromptService;
static cleanup(): void;
private fetch;
private request;
getAllPrompts(): Promise<SystempromptPromptResponse[]>;
createPrompt(data: SystempromptPromptRequest): Promise<SystempromptPromptResponse>;
editPrompt(uuid: string, data: Partial<SystempromptPromptRequest>): Promise<SystempromptPromptResponse>;
deletePrompt(uuid: string): Promise<void>;
createBlock(data: SystempromptBlockRequest): Promise<SystempromptBlockResponse>;
editBlock(uuid: string, data: Partial<SystempromptBlockRequest>): Promise<SystempromptBlockResponse>;
listBlocks(options?: {
tags?: string[];
status?: string;
search?: string;
page?: number;
limit?: number;
sortBy?: string;
sortDirection?: "ASC" | "DESC";
}): Promise<SystempromptBlockResponse[]>;
getBlock(blockId: string): Promise<SystempromptBlockResponse>;
getAgent(agentId: string): Promise<SystempromptAgentResponse>;
listAgents(): Promise<SystempromptAgentResponse[]>;
createAgent(data: SystempromptAgentRequest): Promise<SystempromptAgentResponse>;
editAgent(uuid: string, data: Partial<SystempromptAgentRequest>): Promise<SystempromptAgentResponse>;
deleteBlock(uuid: string): Promise<void>;
fetchUserStatus(): Promise<SystempromptUserStatusResponse>;
}