Cline Personas MCP Server
An MCP server for managing .clinerules files using shared components and persona templates.
Features
Component Management: Create, read, update and delete reusable components
Persona Templates: Define persona templates with mustache-style variable substitution
Dependency Validation: Ensure persona templates only reference existing components
Activation System: Activate personas by writing to
.clinerulesfileVersion Tracking: Track versions for both components and personas
File-based Storage: Store components and personas as JSON files
Installation
Clone the repository
Install dependencies:
Build the project:
Usage
Managing Components
Managing Personas
File Structure
API Documentation
ComponentPersonaService
The main service class providing all operations:
Component Operations:
setComponent(name, description, text, version)getComponent(name)listComponents()deleteComponent(name)
Persona Operations:
setPersona(name, description, template, version)getPersona(name)listPersonas()deletePersona(name)activatePersona(name)getActivePersona()renderPersona(name)
Development
Run tests:
Build the project:
Run the MCP server:
Related MCP Servers
- AsecurityAlicenseAqualitySimple MCP Server to enable a human-in-the-loop workflow in tools like Cline and Cursor. This is especially useful for developing desktop applications that require complex user interactions to test.Last updated -150MIT License
- -security-license-qualityA template repository for creating MCP servers that can be easily containerized and used with MCP clients.Last updated -3611MIT License
DollhouseMCPofficial
AsecurityAlicenseAqualityA comprehensive Model Context Protocol (MCP) server that enables dynamic AI persona management with an integrated GitHub-powered marketplace, allowing Claude and other compatible AI assistants to activate different behavioral personas.Last updated -45033018AGPL 3.0- -securityAlicense-qualityMCP server for managing and serving dynamic prompt templates using elegant and powerful text template engine. Create reusable, logic-driven prompts with variables, partials, and conditionals that can be served to any compatible MCP client like Claude Code, Claude Desktop, Gemini CLI, etc.Last updated -15MIT License