Cline Personas MCP Server
An MCP server for managing `.clinerules` files using shared components and persona templates.
Overview
Cline Personas MCP Server is a server application designed for managing .clinerules files using shared components and persona templates, facilitating the creation and management of dynamic user experiences.
To use the Cline Personas MCP Server, clone the repository, install the dependencies, and build the project. You can then manage components and personas through the provided API.
- 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
.clinerulesfile. - Version Tracking: Track versions for both components and personas. - File-based Storage: Store components and personas as JSON files.
- Managing user personas for personalized experiences in applications.
- Creating reusable components for dynamic content generation.
- Validating dependencies in persona templates to ensure integrity.
Add to your AI client
Use these steps to connect Cline Personas MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-cline-personas-bradfair": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-cline-personas-bradfair"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-cline-personas-bradfair": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-cline-personas-bradfair"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-cline-personas-bradfair": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-cline-personas-bradfair"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-cline-personas-bradfair": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-cline-personas-bradfair"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-cline-personas-bradfair": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-cline-personas-bradfair"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-cline-personas-bradfair": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-cline-personas-bradfair"
]
}
}
}FAQ
Can I use Cline Personas MCP Server for any type of application?
Yes! It is designed to be flexible and can be integrated into various applications requiring dynamic persona management.
Is there a way to track changes in components and personas?
Yes! The server includes version tracking for both components and personas.
How do I activate a persona?
You can activate a persona by using the `activatePersona` method in the API.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1109,"uuid":"f39a4e7f-2f52-4378-8aef-f43d288aac4b","name":"mcp-cline-personas","title":"Cline Personas MCP Server","description":"An MCP server for managing `.clinerules` files using shared components and persona templates.","avatar_url":"https://avatars.githubusercontent.com/u/1754106?v=4","created_at":"2025-01-28T02:31:52.440Z","updated_at":"2025-02-23T07:20:08.124Z","status":"created","author_name":"bradfair","author_avatar_url":"https://avatars.githubusercontent.com/u/1754106?v=4","tags":"mcp-cline-personas,mcp-server,persona-management","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/bradfair/mcp-cline-personas","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]