Skip to main content
Glama

Persona MCP

by seanshin0214
batch-import.cjs•1.65 kB
const fs = require('fs'); const path = require('path'); const SOURCE_DIR = 'C:\\Users\\sshin\\.persona'; const DEST_DIR = path.join(__dirname, 'community'); // Category mapping const getCategoryFromFilename = (filename) => { if (filename.includes('innovation') || filename.includes('ai-expert')) return 'Innovation & Technology'; if (filename.includes('academic') || filename.includes('tutor') || filename.includes('teacher')) return 'Education & Learning'; if (filename.includes('business') || filename.includes('strategy') || filename.includes('consultant')) return 'Business & Professional'; if (filename.includes('policy')) return 'Policy & Analysis'; if (filename.includes('designer') || filename.includes('creative')) return 'Design & Creative'; if (filename.includes('developer') || filename.includes('programming')) return 'Programming'; return 'Professional Services'; }; const files = fs.readdirSync(SOURCE_DIR).filter(f => f.endsWith('.txt')); console.log(`Found ${files.length} persona files`); files.forEach(file => { const sourcePath = path.join(SOURCE_DIR, file); const destPath = path.join(DEST_DIR, file); const content = fs.readFileSync(sourcePath, 'utf-8'); const personaName = file.replace('.txt', '').replace(/^\d+-/, ''); const category = getCategoryFromFilename(file); const metadata = `# Persona: ${personaName} # Author: @seanshin0214 # Category: ${category} # Version: 1.0 # License: MIT (Free for all, revenue sharing if commercialized) ${content}`; fs.writeFileSync(destPath, metadata, 'utf-8'); console.log(`āœ… ${file}`); }); console.log(`\nšŸŽ‰ Imported ${files.length} personas!`);

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/seanshin0214/persona-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server