Skip to main content
Glama

Aerith Admin MCP Server

by albeorla

Aerith 管理者 MCP サーバー

Aerith Admin MCP(モデル、コントローラー、プレゼンター)サーバーは、ブラウザ自動化機能を備えたRBACダッシュボードアプリケーション向けに、MANUSに着想を得た開発ワークフローを実装しています。このサーバーはローカルで実行され、Cursor IDEのMCP統合を介してアクセスするように設計されています。

概要

このサーバーは、5 つのステップのワークフローを通じて構造化された開発アプローチを提供します。

  1. USER_INSTRUCTION - 明確な目標を持つ開発タスクを定義する
  2. TASK_PLANNING - タスクを特定のサブタスクに分割する
  3. 情報収集- さまざまな情報源から関連情報を収集する
  4. ANALYSIS_AND_ORCHESTRATION - 情報を分析し、実行計画を作成する
  5. RESULT_SYNTHESIS - ステップを実行し、包括的なレポートを生成する

インストール

# Clone the repository git clone https://github.com/your-org/aerith-admin.git cd aerith-admin/mcp # Run the installation script (creates virtual environment and installs dependencies) ./bin/install.sh # Activate the virtual environment source bin/activate_venv.sh

使用法

サーバーは次の 2 つのモードで実行できます。

HTTP モード (デフォルト)

python server.py --port 8090

これにより、ポート8090(または別のポート番号)でサーバーが起動します。サーバーは、リアルタイム更新のためのREST APIとServer-Sent Events(SSE)を提供します。

STDIOモード

python server.py --stdio

このモードは、JSON-RPC プロトコルを使用して標準入出力を介して通信し、他のツールと統合するように設計されています。

レジリエントモード

実稼働または拡張開発セッションでは、サーバーを復元モードで実行できます。復元モードでは、サーバーの健全性が自動的に監視され、クラッシュした場合に再起動されます。

# Using the convenient script ./bin/start_cursor_server.sh --resilient # Or directly using the resilient server script ./bin/run_resilient_server.sh --mode http --port 8090

回復力のあるモードには次のものが含まれます。

  • 継続的な健康モニタリング
  • クラッシュ時の自動再起動
  • 正常なシャットダウン処理
  • ハートビート検出とログ記録

監視

監視スクリプトを使用して、手動でサーバーの健全性を確認したり、再起動したりすることができます。

# Check if the server is running and healthy ./bin/monitor_server.py --check-only # Force restart the server ./bin/monitor_server.py --force-restart

カーソルIDE統合

このMCPサーバーは、Cursor IDEと連携するように特別に設計されています。Cursorはサーバーに接続して、エディターから直接その機能を利用できます。

カーソル統合の設定:

  1. MCP サーバーが HTTP モードで実行されていることを確認します: python server.py --port 8090
  2. Cursor は、 .cursor/mcp.json構成を使用して MCP サーバーを自動的に検出します。
    { "mcpServers": { "aerith-admin-mcp": { "url": "http://localhost:8090/sse" } } }
  3. Cursor IDEでAerith Adminプロジェクトを開きます。
  4. カーソルMCP統合UIを使用してサーバーと対話します

プロジェクト構造

mcp/ ├── bin/ # Executable scripts │ ├── activate_venv.sh # Script to activate virtual environment │ ├── install.sh # Installation script │ ├── check_env.py # Environment validation script │ └── run_tests.py # Test runner script ├── requirements.txt # Production dependencies ├── requirements-dev.txt # Development dependencies ├── server.py # Main MCP server implementation ├── tests/ # Test suite │ ├── conftest.py # Pytest configuration and fixtures │ ├── README.md # Testing documentation │ ├── test_browser_automation.py # Browser automation tests │ ├── test_core_workflow.py # Workflow step tests │ ├── test_integration.py # End-to-end integration tests │ ├── test_resources.py # Resource access tests │ ├── test_server_modes.py # Server operation mode tests │ └── test_utils.py # Utility function tests └── venv/ # Virtual environment (created by install.sh)

開発セットアップ

このプロジェクトでは、開発に専用の仮想環境を使用します。

# Run the installation script ./bin/install.sh # Or manually set up the environment python -m venv venv source bin/activate_venv.sh pip install -r requirements-dev.txt # For browser automation testing python -m playwright install

テスト

テストは pytest を使用して記述され、 tests/ディレクトリに配置されます。

テストの実行

提供されているスクリプトを使用してテストを実行します。

# Run all tests except browser and slow tests ./bin/run_tests.py -v # Run with coverage report ./bin/run_tests.py --coverage # Include browser automation tests ./bin/run_tests.py --browser # Include slow integration tests ./bin/run_tests.py --slow # Run specific test files or patterns ./bin/run_tests.py test_core_workflow

環境変数

  • MCP_DEBUG=true - デバッグログを有効にする(activate_venv.shによって自動的に設定される)
  • 必要に応じて追加の環境変数を設定できます

APIドキュメント

ツール

サーバーは次のツールを提供します。

指導管理
  • create_instruction(title, description, goal, priority) - 新しい開発指示書を作成する
  • get_instruction(instruction_id) - 既存の命令を取得する
  • build_feature(title, description, goal, priority) - 完全な機能を構築するための高レベルのオーケストレーション
ワークフローの手順
  • create_task_plan(instruction_id, subtasks) - 命令を特定のサブタスクに分解する
  • gather_information(instruction_id, sources) - さまざまなソースから情報を収集する
  • analyze_and_orchestrate(instruction_id, analysis, execution_plan) - 実行プランを分析して作成する
  • execute_step(instruction_id, step_id, execution_details) - プラン内の特定のステップを実行する
  • generate_final_report(instruction_id, include_details) - 最終レポートを生成する
ブラウザ自動化
  • run_browser_agent(goal) - 指定された目標を達成するためにブラウザ使用エージェントを実行する
ファイルシステムツール
  • tree_directory(directory_path, max_depth, show_files, show_hidden, pattern, exclude_common, custom_excludes) - Unixの「tree」コマンドに似たディレクトリ構造のツリー表現を生成します。
Gitツール
  • git_status(detailed) - 作業ツリーのステータスを表示する
  • git_log(count, show_stats, path, author, since, until) - コミットログを表示する
  • git_diff(file_path, staged, commit, compare_with) - コミットまたは作業ツリー間の変更を表示する
  • git_branch(create, delete, remote, branch_name, base_branch) - ブランチの一覧表示、作成、または削除
  • git_checkout(branch_name, create, force) - ブランチを切り替えるか、作業ツリーのファイルを復元します
  • git_commit(message, all_changes, amend) - リポジトリへの変更を記録する
  • git_push(remote, branch, force, tags) - 関連オブジェクトとともにリモート参照を更新する
  • git_pull(remote, branch, rebase) - 別のリポジトリから取得して統合する
  • git_add(paths) - ステージングエリアにファイルのコンテンツを追加する

リソース

サーバーは次のリソースを提供します:

  • file://{path} - パスでファイルの内容を取得する
  • project://structure - プロジェクト構造を辞書として取得する
  • instructions://list - すべての指示のリストを取得します

データストレージ

すべての指示と関連データは.aerith/instructionsディレクトリ内の JSON ファイルに保存されます。

ログ記録

ログは.aerith/logs/mcp_server.logに保存され、stderrにも出力されます。MCP_DEBUG MCP_DEBUG=true (開発環境ではデフォルト)に設定すると、詳細なデバッグログが有効になります。

ライセンス

MITライセンス

-
security - not tested
F
license - not found
-
quality - not tested

local-only server

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

Cursor IDE の MCP 統合によってアクセスできるように設計された、ブラウザ自動化機能を備えた RBAC ダッシュボード アプリケーション用の MANUS にヒントを得た開発ワークフローを実装します。

  1. 概要
    1. インストール
      1. 使用法
        1. HTTP モード (デフォルト)
        2. STDIOモード
        3. レジリエントモード
        4. 監視
      2. カーソルIDE統合
        1. カーソル統合の設定:
      3. プロジェクト構造
        1. 開発セットアップ
          1. テスト
            1. テストの実行
          2. 環境変数
            1. APIドキュメント
              1. ツール
              2. リソース
            2. データストレージ
              1. ログ記録
                1. ライセンス

                  Related MCP Servers

                  • -
                    security
                    A
                    license
                    -
                    quality
                    Acts as a bridge between Claude's desktop application and the Cursor editor, enabling seamless AI-powered automation and multi-instance management across platforms with standardized communication and secure token-based authentication.
                    Last updated -
                    21
                    46
                    TypeScript
                    MIT License
                    • Apple
                    • Linux
                  • -
                    security
                    A
                    license
                    -
                    quality
                    Enables the creation and deployment of API-based MCP tools for Cursor Agent using Cloudflare Workers, streamlining development and integration of custom functionalities.
                    Last updated -
                    62
                    25
                    TypeScript
                    MIT License
                  • A
                    security
                    A
                    license
                    A
                    quality
                    A template for creating custom tools for Cursor IDE using Model Context Protocol that allows users to deploy their own MCP server to Heroku and connect it to Cursor IDE.
                    Last updated -
                    2
                    1
                    Python
                    MIT License
                    • Linux
                    • Apple
                  • -
                    security
                    F
                    license
                    -
                    quality
                    An MCP server that provides detailed information about your development environment to the Cursor code editor, enabling more context-aware assistance.
                    Last updated -
                    1
                    Python
                    • Linux
                    • 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/albeorla/mcp'

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