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
.clinerules
fileVersion 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:
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
An MCP server for managing and activating persona templates and components by writing to .clinerules
files, supporting version tracking and file-based storage.
Related Resources
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 -147MIT License
- -securityAlicense-qualityA template repository for creating MCP servers that can be easily containerized and used with MCP clients.Last updated -5021MIT License
DollhouseMCPofficial
AsecurityFlicenseAqualityA 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 -507838- -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 -9MIT License