UNPKG

@creedspace/mcp-server

Version:

Universal MCP server for Creed Space - AI safety guardrails in 10 seconds

152 lines 4.74 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CREEDSPACE_TOOLS = void 0; exports.CREEDSPACE_TOOLS = [ { name: 'get_constitution', description: 'Get the merged constitution for a specific persona, including all active rules and UVC qualities', inputSchema: { type: 'object', properties: { persona_id: { type: 'string', description: 'The persona ID (e.g., "ambassador", "nanny", "sentinel")', default: 'ambassador', }, }, required: [], }, }, { name: 'list_personas', description: 'List all available AI personas with their descriptions and current status', inputSchema: { type: 'object', properties: {}, }, }, { name: 'set_persona', description: 'Switch to a different AI persona for the current session', inputSchema: { type: 'object', properties: { persona_id: { type: 'string', description: 'The persona ID to switch to', enum: ['ambassador', 'nanny', 'sentinel', 'godparent', 'muse', 'anchor'], }, }, required: ['persona_id'], }, }, { name: 'get_uvc_qualities', description: 'Get the desired, disliked, and never qualities for a persona from the UVC system', inputSchema: { type: 'object', properties: { persona_id: { type: 'string', description: 'The persona ID', default: 'ambassador', }, }, required: [], }, }, { name: 'get_system_prompt', description: 'Get a complete system prompt for a persona including constitution and UVC qualities', inputSchema: { type: 'object', properties: { persona_id: { type: 'string', description: 'The persona ID', default: 'ambassador', }, }, required: [], }, }, { name: 'preview_export', description: 'Preview the export configuration for Claude Code or other AI tools', inputSchema: { type: 'object', properties: { persona_id: { type: 'string', description: 'The persona ID', default: 'ambassador', }, include_system_prompt: { type: 'boolean', description: 'Include system prompt in export', default: true, }, include_constitutions: { type: 'boolean', description: 'Include constitutions in export', default: true, }, include_uvc: { type: 'boolean', description: 'Include UVC qualities in export', default: true, }, }, required: [], }, }, { name: 'get_constitution_by_id', description: 'Get a specific constitution by its ID', inputSchema: { type: 'object', properties: { constitution_id: { type: 'string', description: 'The constitution ID', }, }, required: ['constitution_id'], }, }, { name: 'search_constitutions', description: 'Search constitutions by keyword or persona', inputSchema: { type: 'object', properties: { query: { type: 'string', description: 'Search query', }, persona_id: { type: 'string', description: 'Filter by persona ID', }, }, required: [], }, }, { name: 'get_active_persona', description: 'Get the currently active persona for this session', inputSchema: { type: 'object', properties: {}, }, }, { name: 'clear_cache', description: 'Clear the local cache to force fresh data from the API', inputSchema: { type: 'object', properties: {}, }, }, ]; //# sourceMappingURL=tools.js.map