Cline Personas MCP Server
Cline Personas MCP サーバー
共有コンポーネントとペルソナ テンプレートを使用して.clinerulesファイルを管理するための MCP サーバー。
特徴
コンポーネント管理: 再利用可能なコンポーネントの作成、読み取り、更新、削除
ペルソナテンプレート: マスタッシュスタイルの変数置換を使用してペルソナテンプレートを定義します。
依存関係の検証: ペルソナテンプレートが既存のコンポーネントのみを参照していることを確認する
アクティベーションシステム:
.clinerulesファイルに書き込むことでペルソナをアクティベートしますバージョン追跡: コンポーネントとペルソナの両方のバージョンを追跡します
ファイルベースのストレージ: コンポーネントとペルソナをJSONファイルとして保存します
Related MCP server: Agent Factory MCP
インストール
リポジトリをクローンする
依存関係をインストールします:
npm installプロジェクトをビルドします。
npm run build使用法
コンポーネントの管理
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();ペルソナの管理
// 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();ファイル構造
.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ドキュメント
コンポーネントペルソナサービス
すべての操作を提供するメインのサービス クラス:
コンポーネント操作:
setComponent(name, description, text, version)getComponent(name)listComponents()deleteComponent(name)
ペルソナ操作:
setPersona(name, description, template, version)getPersona(name)listPersonas()deletePersona(name)activatePersona(name)getActivePersona()renderPersona(name)
発達
テストを実行します:
npm testプロジェクトをビルドします。
npm run buildMCP サーバーを実行します。
npm startThis server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for Product Management
A MCP server built for developers enabling Git based project management with project and personal…
MCP server for building and testing AI agents with multi-model experimentation and insights.
The MCP server that vets MCP servers: identity, risk grade and per-tool risk before you install.
Related MCP Servers
- FlicenseCqualityDmaintenanceMCP server that enables deployment and management of MCP servers through a simple configuration-based interface.1-
- AlicenseBqualityFmaintenanceA universal MCP server that automatically discovers and registers CLI tools as AI-powered agents with persona configuration, enabling any CLI tool to be used as an MCP tool.41MIT
- AlicenseAqualityDmaintenanceAn MCP server that performs automated code reviews by analyzing git diffs against configurable review standards with custom reviewer personas.72MIT
- AlicenseNot gradedqualityAmaintenanceA self-hosted MCP server that maintains a registry of project rules, enabling chats to query which rules apply to them in one call. It manages rule lifecycle with scopes, expiry, approval batches, and immutable history.MIT