UNPKG

@mickdarling/dollhousemcp

Version:

DollhouseMCP - A Model Context Protocol (MCP) server that enables dynamic AI persona management from markdown files, allowing Claude and other compatible AI assistants to activate and switch between different behavioral personas.

172 lines 4.24 kB
#!/usr/bin/env node import { type IndicatorConfig } from './config/indicator-config.js'; import { IToolHandler } from './server/index.js'; export declare class DollhouseMCPServer implements IToolHandler { private server; private personasDir; private personas; private activePersona; private currentUser; private apiCache; private rateLimitTracker; private indicatorConfig; private personaManager; private githubClient; private marketplaceBrowser; private marketplaceSearch; private personaDetails; private personaInstaller; private personaSubmitter; private updateManager; private serverSetup; constructor(); private getPersonaIndicator; private loadPersonas; listPersonas(): Promise<{ content: { type: string; text: string; }[]; }>; activatePersona(personaIdentifier: string): Promise<{ content: { type: string; text: string; }[]; }>; getActivePersona(): Promise<{ content: { type: string; text: string; }[]; }>; deactivatePersona(): Promise<{ content: { type: string; text: string; }[]; }>; getPersonaDetails(personaIdentifier: string): Promise<{ content: { type: string; text: string; }[]; }>; reloadPersonas(): Promise<{ content: { type: string; text: string; }[]; }>; browseMarketplace(category?: string): Promise<{ content: { type: string; text: string; }[]; }>; searchMarketplace(query: string): Promise<{ content: { type: string; text: string; }[]; }>; getMarketplacePersona(path: string): Promise<{ content: { type: string; text: string; }[]; }>; installPersona(inputPath: string): Promise<{ content: { type: string; text: string; }[]; }>; submitPersona(personaIdentifier: string): Promise<{ content: { type: string; text: string; }[]; }>; setUserIdentity(username: string, email?: string): Promise<{ content: { type: string; text: string; }[]; }>; getUserIdentity(): Promise<{ content: { type: string; text: string; }[]; }>; clearUserIdentity(): Promise<{ content: { type: string; text: string; }[]; }>; private getCurrentUserForAttribution; createPersona(name: string, description: string, category: string, instructions: string, triggers?: string): Promise<{ content: { type: string; text: string; }[]; }>; editPersona(personaIdentifier: string, field: string, value: string): Promise<{ content: { type: string; text: string; }[]; }>; validatePersona(personaIdentifier: string): Promise<{ content: { type: string; text: string; }[]; }>; checkForUpdates(): Promise<{ content: { type: string; text: string; }[]; }>; updateServer(confirm: boolean): Promise<{ content: { type: string; text: string; }[]; }>; rollbackUpdate(confirm: boolean): Promise<{ content: { type: string; text: string; }[]; }>; getServerStatus(): Promise<{ content: { type: string; text: string; }[]; }>; /** * Configure indicator settings */ configureIndicator(config: Partial<IndicatorConfig>): Promise<{ content: { type: string; text: string; }[]; }>; /** * Get current indicator configuration */ getIndicatorConfig(): Promise<{ content: { type: string; text: string; }[]; }>; run(): Promise<void>; } //# sourceMappingURL=index.d.ts.map