UNPKG

@rhofkens/mcp-quotes-server-claude-code

Version:

Model Context Protocol (MCP) server for managing and serving quotes

43 lines 1.09 kB
/** * Type definitions for MCP Quotes Server */ /** * Server state management */ export var ServerState; (function (ServerState) { ServerState["IDLE"] = "idle"; ServerState["STARTING"] = "starting"; ServerState["RUNNING"] = "running"; ServerState["STOPPING"] = "stopping"; ServerState["STOPPED"] = "stopped"; ServerState["ERROR"] = "error"; })(ServerState || (ServerState = {})); /** * Export quote-related types */ export * from './quotes.js'; /** * Error types for the server */ export class MCPServerError extends Error { code; constructor(message, code) { super(message); this.code = code; this.name = 'MCPServerError'; } } export class ServerInitializationError extends MCPServerError { constructor(message) { super(message, 'INIT_ERROR'); this.name = 'ServerInitializationError'; } } export class ServerShutdownError extends MCPServerError { constructor(message) { super(message, 'SHUTDOWN_ERROR'); this.name = 'ServerShutdownError'; } } //# sourceMappingURL=index.js.map