Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Cline Personas MCP Serveractivate the welcome persona"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Related MCP server: MCP Server Template
Installation
Clone the repository
Install dependencies:
npm installBuild the project:
npm run buildUsage
Managing Components
import { ComponentPersonaService } from './src/service';
const service = new ComponentPersonaService(process.cwd());
// Create a new component
service.setComponent('greeting', 'Welcome message', 'Hello {{name}}!', 1);
// Get a component
const component = service.getComponent('greeting');
// List all components
const components = service.listComponents();Managing Personas
// Create a new persona
service.setPersona(
'welcome',
'Welcome persona',
'{{greeting}}\nPlease enjoy your stay!',
1
);
// Activate a persona
service.activatePersona('welcome');
// Get active persona
const active = service.getActivePersona();File Structure
.cline-personas/
components/
[component-name].json
personas/
[persona-name].json
src/
component.ts # Component class and operations
persona.ts # Persona class and template rendering
service.ts # Main service implementation
index.ts # MCP server entry point
test/ # Unit testsAPI 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:
npm testBuild the project:
npm run buildRun the MCP server:
npm startThis server cannot be installed
Resources
Looking for Admin?
Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.