Skip to main content
Glama

Cline Personas MCP Server

by bradfair

Cline Personas MCP サーバー

共有コンポーネントとペルソナ テンプレートを使用して.clinerulesファイルを管理するための MCP サーバー。

特徴

  • コンポーネント管理: 再利用可能なコンポーネントの作成、読み取り、更新、削除
  • ペルソナテンプレート: マスタッシュスタイルの変数置換を使用してペルソナテンプレートを定義します。
  • 依存関係の検証: ペルソナテンプレートが既存のコンポーネントのみを参照していることを確認する
  • アクティベーションシステム: .clinerulesファイルに書き込むことでペルソナをアクティベートします
  • バージョン追跡: コンポーネントとペルソナの両方のバージョンを追跡します
  • ファイルベースのストレージ: コンポーネントとペルソナをJSONファイルとして保存します

インストール

  1. リポジトリをクローンする
  2. 依存関係をインストールします:
npm install
  1. プロジェクトをビルドします。
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 tests

APIドキュメント

コンポーネントペルソナサービス

すべての操作を提供するメインのサービス クラス:

  • コンポーネント操作:
    • 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 build

MCP サーバーを実行します。

npm start
-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

.clinerulesファイルに書き込むことでペルソナ テンプレートとコンポーネントを管理およびアクティブ化し、バージョン追跡とファイルベースのストレージをサポートする MCP サーバー。

  1. 特徴
    1. インストール
      1. 使用法
        1. コンポーネントの管理
        2. ペルソナの管理
      2. ファイル構造
        1. APIドキュメント
          1. コンポーネントペルソナサービス
        2. 発達

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            A MCP server for managing and storing code snippets in various programming languages, allowing users to create, list, and delete snippets via a standardized interface.
            Last updated -
            3
            4
            JavaScript
            MIT License
          • A
            security
            A
            license
            A
            quality
            An MCP server that provides access to project files and their contents, allowing users to retrieve file data from specified project directories with error handling and configuration options.
            Last updated -
            1
            4
            TypeScript
            MIT License
          • A
            security
            A
            license
            A
            quality
            A tool that dynamically generates and configures MCP servers by automatically creating necessary directories and files according to user specifications.
            Last updated -
            1
            9
            9
            JavaScript
            MIT License
          • -
            security
            A
            license
            -
            quality
            An MCP server that assists with the orchestration of new software projects by applying standardized templates and best practices in design patterns and software architecture.
            Last updated -
            3
            Python
            MIT License
            • Apple

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/bradfair/mcp-cline-personas'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server