Cline Personas MCP Server
by bradfair
An MCP server for managing `.clinerules` files. It uses shared components and persona templates to streamline configuration.
Last updated: N/A
What is Cline Personas MCP Server?
Cline Personas MCP Server is a tool for managing and activating personas, which are sets of configurations defined using reusable components and templates. It provides an API for creating, reading, updating, and deleting components and personas, and activating them by writing to a .clinerules
file.
How to use Cline Personas MCP Server?
To use the server, first clone the repository and install the dependencies using npm install
. Then, build the project with npm run build
. You can then use the provided API (ComponentPersonaService) to manage components and personas, activate personas, and retrieve active personas. Examples are provided in the README.
Key features of Cline Personas MCP Server
Component Management
Persona Templates with variable substitution
Dependency Validation
Activation System
Version Tracking
File-based Storage
Use cases of Cline Personas MCP Server
Centralized management of application configurations
Defining user roles and permissions using personas
Creating dynamic configurations based on user context
Automating the process of updating configuration files
FAQ from Cline Personas MCP Server
How do I create a new component?
How do I create a new component?
Use the setComponent
method of the ComponentPersonaService
with the component name, description, text, and version.
How do I activate a persona?
How do I activate a persona?
Use the activatePersona
method of the ComponentPersonaService
with the persona name.
Where are the components and personas stored?
Where are the components and personas stored?
Components and personas are stored as JSON files in the .cline-personas/components
and .cline-personas/personas
directories, respectively.
How do I run the MCP server?
How do I run the MCP server?
The README only provides instructions for running tests and building the project, but not for running the server itself. You might need to check the index.ts
file or other documentation for the server's entry point and execution instructions.
How do I get the active persona?
How do I get the active persona?
Use the getActivePersona
method of the ComponentPersonaService
.