Skip to main content
Glama
ellmos-servercommander-mcp

ellmos-servercommander-mcp

Official

ellmos-servercommander-mcp

サーバー操作用のアルファ版MCPサーバー:デプロイメントのドライラン、メールステータス、アクセスログ分析、HTTPヘルスチェック。

ドイツ語版README: README_de.md

ellmos-ai ファミリーの一部。

License: MIT npm version Python Node.js MCP Status: alpha Pytest: 37 passed Ecosystem: ellmos--ai open-bricks LLM--Ready: llms.txt

[!NOTE] 発見可能性 & AI検索: npm に ellmos-servercommander-mcp として公開され、server.json、glama.json、smithery.yaml でMCPエコシステム向けにカタログ化され、llms.txt でAI/LLM検索向けにインデックス化されています。

アーキテクチャの可視化

graph TD
    Client[MCP Host: Claude / Cursor] <-->|stdio / JSON-RPC| NodeWrapper[Node.js Entrypoint]
    NodeWrapper <-->|Spawn subprocess| PyServer[Python MCP Server]
    
    subgraph Tools [ServerCommander Tools]
        PyServer -->|sc_health_check| HTTP[HTTP/HTTPS Endpoint Check]
        PyServer -->|sc_logs_analyze| Logs[Apache/Nginx Access Logs]
        PyServer -->|sc_deploy / sc_deploy_status| Deploy[Dry-Run Manifest & SQLite History]
        PyServer -->|sc_mail_*| Mail[IMAP/SMTP Safe Readiness Diagnostics]
    end
    
    subgraph Storage [Local Storage]
        Deploy -->|Optional persist| SQLite[(SQLite Deploy History)]
        Logs -->|Optional persist| JSONReports[(JSON Log Reports)]
    end

Related MCP server: automation-health-mcp

はじめに

目標

こちらから始める

ServerCommander を Claude Desktop、Claude Code、Cursor、または他のMCPホストに追加する

MCPクライアント設定

デプロイ前にパブリックまたは内部のHTTPエンドポイントを確認する

sc_health_check

Apache/Nginxのアクセスログからエラー、ボット、リファラー、不審なパスを検査する

sc_logs_analyze

SFTP/SSH実行前にドライランのデプロイマニフェストを構築する

sc_deploy および sc_deploy_status

今日誤送信することなく、後でメール操作を準備する

sc_mail_list、sc_mail_read、sc_mail_send、sc_mail_search

ステータス

  • トランスポート: Python MCP SDK 経由の stdio

  • パッケージステータス: ellmos-ai 配下のパブリックアルファパッケージ

  • 現在のコア: MCPツール一覧、MCPツールディスパッチ、設定読み込み、HTTPヘルスチェック、オプションで永続化されたJSONレポート付きの強化されたアクセスログ分析、オプションのローカルドライランデプロイ履歴

  • 安全なアルファハンドラ: sc_deploy はローカルのSHA256マニフェスト、設定診断、ドライランモードでのオプトインSQLite履歴レコードを構築します。sc_mail_* はメール接続を開かずにプロトコル固有のIMAP/SMTP準備状態を報告します。

  • i18n: en、de、es、zh、ja、ru 向けのローカライズされたMCPツール説明、入力スキーマフィールド説明、不明なツールエラー(英語フォールバック付き)

インストール

npmパッケージにはPythonサーバーを起動するNodeラッパーが含まれています。Python 3.10+ と Python パッケージ mcp>=1.0.0 が依然として必要です。

オプション1: npmからインストール

npm install -g ellmos-servercommander-mcp@alpha
ellmos-servercommander

オプション2: ソースからインストール

git clone https://github.com/ellmos-ai/ellmos-servercommander-mcp.git
cd ellmos-servercommander-mcp
$env:PYTHONIOENCODING = "utf-8"
python -m pip install -e ".[dev]"
python -m pytest -q

同期クライアントがファイルをロックする場合は、クラウド同期フォルダ内に .venv を作成しないでください。分離された環境が必要な場合は、そのフォルダの外に作成してください。

ソースから起動

$env:PYTHONPATH = "src"
python -m servercommander.server

MCPクライアント設定

グローバルnpmインストール

{
  "mcpServers": {
    "servercommander": {
      "command": "ellmos-servercommander"
    }
  }
}

グローバルインストールなしのnpx

{
  "mcpServers": {
    "servercommander": {
      "command": "npx",
      "args": ["-y", "ellmos-servercommander-mcp@alpha"]
    }
  }
}

Pythonの直接実行

{
  "mcpServers": {
    "servercommander": {
      "command": "python",
      "args": ["-m", "servercommander.server"],
      "env": {
        "PYTHONPATH": "C:/path/to/ellmos-servercommander-mcp/src",
        "SERVERCOMMANDER_CONFIG_PATH": "C:/path/to/config/servercommander.toml"
      }
    }
  }
}

設定

ServerCommander は以下の順序で設定を探します:

  1. 環境変数 SERVERCOMMANDER_CONFIG_PATH

  2. ./servercommander.toml

  3. ./config/servercommander.toml

  4. ~/.config/servercommander/servercommander.toml

注釈付きテンプレートが config/servercommander.example.toml に含まれています。

[server]
name = "servercommander"
log_level = "INFO"
language = "en"

[deploy.profiles.staging]
target = "sftp://staging.example.com/var/www/app"
local_path = "./dist"
protocol = "sftp"
dry_run = true
record_history = true

[mail]
execution_enabled = false
smtp_host = "smtp.example.com"
smtp_port = 587
imap_host = "imap.example.com"
imap_port = 993

シークレットは環境変数(例:$MAIL_PASSWORD や $SFTP_PASSWORD)を介して参照する必要があります。

ツール

  • sc_health_check: HTTPエンドポイントをチェックし、ステータスコードとレイテンシを返します。不正な形式のエンドポイントURLは失敗したチェックとして返されるため、1つの不正な入力でバッチ全体が中断されることはありません。

  • sc_logs_analyze: インラインテキストまたはローカルファイルからApache/Nginxアクセスログを分析します。ステータスクラス、バイト数、リファラー、エラーパス、不審なリクエストマーカー、および persist_report によるオプションのJSONレポート永続化を含みます。

  • sc_deploy: ローカルのSHA256マニフェストとプロファイル診断を含むデプロイ計画を作成しますが、まだアップロードは行いません。準備状態チェックでは、オプションの record_history=true の前に、必須フィールド、マニフェスト可能なローカルパス、サポートされているプロトコルを確認します。ネストされたシンボリックリンクは報告されますが除外されるため、マニフェストが選択されたリリースディレクトリを超えて静かにトラバースすることはできません。

  • sc_deploy_status: 設定されたデプロイプロファイル、選択されたプロファイルの診断、およびローカルのSQLite履歴データベースからの最近のドライラン履歴を表示します。

  • sc_mail_list、sc_mail_read、sc_mail_send、sc_mail_search: アクション固有のIMAP/SMTP準備状態診断を含み、デフォルトではメール接続を行わない安全なアルファステータス応答。[mail].execution_enabled = true の場合、sc_mail_list は正規の mail-connector モジュールを再利用して、ライブの読み取り専用IMAP到達可能性プローブ(接続 + フォルダ一覧)を実行します。IMAPクライアントを再実装するわけではありません。メッセージレベルの読み取り/検索は mail-connector の領域であり、SMTP送信は実行されないままです。

検索と曖昧性解消

ServerCommander は、ローカルファーストのサーバー管理ワークフローのための ellmos オペレーションズMCPサーバーです。以下のものを検索する際にこのリポジトリを使用してください:

  • MCPサーバー運用ツール

  • MCPデプロイドライランサーバー

  • MCPアクセスログアナライザー

  • MCP HTTPヘルスチェックツール

  • ローカルファーストサーバー管理MCP

  • Claude Codeサーバー運用MCP

  • 安全なSFTPデプロイ計画MCP

これはGitHub MCPサーバーではなく、汎用シェルコマンドMCPサーバーでも、ホスティングプロバイダーコントロールパネルでも、本番SFTP/IMAP実行ツールでもありません。現在のアルファ版の表面は、意図的に診断とドライランを優先しています。

ellmos-ai エコシステム

このMCPサーバーは ellmos-ai エコシステムの一部です — AIインフラストラクチャ、MCPサーバー、インテリジェントツール。

MCPサーバーファミリー

サーバー

ツール数

焦点

npm

FileCommander

46

ファイルシステム、プロセス管理、インタラクティブセッション、クラウドロックセーフ操作

ellmos-filecommander-mcp

CodeCommander

22

コード分析、JSON修復、インポート、差分、正規表現

ellmos-codecommander-mcp

Clatcher

12

ファイル修復、フォーマット変換、バッチ操作

ellmos-clatcher-mcp

n8n Manager

18

AIアシスタントによるn8nワークフロー管理

n8n-manager-mcp

ControlCenter

20

MCPスタック発見、プロファイル管理、コントロールプレーン

ellmos-controlcenter-mcp

Homebase

45

ローカルファーストLLMメモリ、知識、状態、ルーティング、スウォームオーケストレーション

ellmos-homebase-mcp (alpha)

ServerCommander

8

サーバー運用:ヘルスチェック、ログ分析、デプロイドライラン、メール診断

ellmos-servercommander-mcp (alpha)

Blender Use

3

ヘッドレスBlenderアセットQAおよびFBX再インポート検証

ellmos-blender-use-mcp (alpha)

Open Compute

10

モデル非依存のコンピュータ使用:キャプチャ、安全ゲート付きアクション、Windows UIA

open-compute-mcp (alpha)

AIインフラストラクチャ & 開発者ツール

プロジェクト

説明

BACH

LLMエージェント向けローカルファーストのテキストベースOS — 113以上のハンドラ、550以上のツール、SQLiteメモリ

open-compute

モデル非依存のコンピュータユースコア。Open Compute MCPを強化

clutch

プロバイダに依存しないLLMオーケストレーション。自動ルーティングと予算追跡機能付き

rinnsal

軽量エージェントメモリ、コネクタ、自動化インフラストラクチャ

ellmos-stack

セルフホスト型AI研究スタック(Ollama + n8n + Rinnsal + KnowledgeDigest)

MarbleRun

Claude Code向け自律エージェントチェーンフレームワーク

gardener

ミニマルなデータベース駆動LLM OSプロトタイプ(4関数、1テーブル)

ellmos-tests

LLMオペレーティングシステム向けテストフレームワーク(7次元)

sqlite-transit-sync

暗号化SQLiteトランジット同期&追加型読み取りレプリカエンジン

workflowhooker

Gitフック駆動のワークフロー自動化と実行安全性境界

system-explorer

ローカルファーストのシステム構成、モジュール内省、フリート検証

companion-for-agy

Antigravity開発者コンパニオン&テレメトリブリッジ

デスクトップソフトウェア

私たちのパートナー組織 open-bricks は、AIネイティブのデスクトップアプリケーションをバンドルしています。AI時代に合わせて構築されたモダンでオープンソースのソフトウェアスイートです。カテゴリには、ファイル管理(ProFiler)、ドキュメントツール(DokuZen、PDFtoPDFocr)、開発者ユーティリティ(DevCenter、CodeBox)などが含まれます。

開発

$env:PYTHONIOENCODING = "utf-8"
python -m pytest -q
npm run smoke
npm pack --dry-run

次の有用なステップ:ドライラン/ステータスのみのデフォルトを維持しながら、SFTPおよびIMAP/SMTP用の明示的に設定された実行アダプターを追加します。

Available Tools

8 tools
sc_deployB

Build a safe deployment plan. Alpha only: execution requires dry_run=true.

Inputs: dry_run, profile, local_path, remote_path, +1 more.

sc_deploy_statusC

Show configured deployment profiles and alpha deployment-history status.

Inputs: limit, profile.

sc_health_checkB

Check HTTP endpoints and return status codes plus latency.

Inputs: timeout, endpoints.

sc_logs_analyzeB

Analyze Apache/Nginx access logs from inline text or a local file path.

Inputs: format, log_path, log_text, top_paths, +2 more.

sc_mail_listC

Alpha mail status endpoint for listing an IMAP folder.

Inputs: limit, folder.

sc_mail_readC

Alpha mail status endpoint for reading a message.

Inputs: message_id.

sc_mail_sendC

Alpha mail status endpoint for sending mail; does not send yet.

Inputs: to (required), body (required), subject (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3/5.0

    Scored across 8 tools

    Disambiguation4/5

    Each tool targets a fairly distinct area: deploy vs deploy_status differ by planning versus status inspection, and the four mail tools split cleanly along list/read/send/search. The main risk is sc_deploy vs sc_deploy_status, which could be confused at a glance, but descriptions clarify the boundary.

    Naming Consistency4/5

    All tools share an sc_ prefix and snake_case, with mostly predictable noun_verb ordering (sc_mail_list, sc_health_check, sc_logs_analyze). sc_deploy is a bare verb outlier and the mail_* group reads as noun_action rather than verb_noun, but the scheme is readable and consistent overall.

    Tool Count4/5

    Eight tools is well within a sensible range for a server-commander surface spanning deploy, mail, logs, and health. No obvious redundancy or padding, though half the set is devoted to mail operations that are still alpha stubs.

    Completeness3/5

    Mail coverage (list/read/send/search) and deploy (plan + status) are reasonably complete, but several operations are explicitly non-functional alpha status endpoints (send 'does not send yet') and there is no log tailing/filtering beyond one-shot analysis. The server-commander domain lacks service restart, config, or process-management operations, leaving notable gaps.

    Maintenance

    ActivityActive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      MCP server for running infrastructure health checks with TIBET provenance. It enables users to define, execute, and audit process health checks with dependency chaining and drift tracking.
      6
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      An MCP server for auditing automation health, finding failures, stale logs, and non-functional endpoints that report success while quietly failing.
      7
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      MCP server providing read-only operational tools (logs, metrics, traces, service health, config) for troubleshooting an environment, with one exception for toggling chaos scenarios.
      MIT