Cline Personas MCP Server
by bradfair
local-only server
The server can only run on the client’s local machine because it depends on local resources.
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
file - Version Tracking: Track versions for both components and personas
- File-based Storage: Store components and personas as JSON files
Installation
- Clone the repository
- Install dependencies:
Copy
- Build the project:
Copy
Usage
Managing Components
Copy
Managing Personas
Copy
File Structure
Copy
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:
Copy
Build the project:
Copy
Run the MCP server:
Copy
This server cannot be installed
An MCP server for managing and activating persona templates and components by writing to .clinerules
files, supporting version tracking and file-based storage.