Skip to main content
Glama
Systems MCP
by lethain

システム-MCP

systems-mcp は、システム モデリング用のlethain:systemsライブラリと対話するための MCP サーバーです。

次の 2 つのツールが提供されます。

  • run_systems_model 、システムモデルのsystems仕様を実行します。仕様と、オプションでモデルの実行回数(デフォルトは100)の2つのパラメータを取ります。

  • load_systems_documentation 、ドキュメントとサンプルをコンテキストウィンドウに読み込みます。これは、システムモデルの作成に役立つようにモデルを準備するのに役立ちます。

これは、Claude Desktop または同様のツールと組み合わせてローカルで実行することを目的としています。

使用法

systems-mcpを使用してモデルを実行およびレンダリングする例を次に示します。

systems-mcp を使用するためのプロンプトの例

以下は、システム モデルの実行からの出力を含む、そのプロンプトから生成された成果物です。

systems-mcpの出力を使用するアーティファクトの例

最後に、 load_systems_documentationツールを使用してコンテキストウィンドウを準備し、システム仕様書の生成を支援する例を示します。これは、 lethain:systems/README.mdコンテキストウィンドウに含めるのとほぼ同等ですが、いくつかの追加例も含まれています( ./docs/に含まれるファイルを参照してください)。

コンテキストウィンドウにドキュメントを読み込む際のプロンプト例

その後、以前と同じようにモデルをレンダリングできます。

生成されたモデルをレンダリングするプロンプトの例

ここで最も興味深いのは、私はこれまでsystemsを使用してソーシャル ネットワークをモデル化したことがないのに、それにもかかわらず LLM が仕様を生成するのに驚くほどうまく機能したことです。

Related MCP server: MCP Server Demo

インストール

これらの手順では、OS X でのClaude Desktopのインストールについて説明します。他のプラットフォームでも同様に動作するはずです。

  1. Claude Desktopをインストールします。

  2. systems-mcpを便利な場所にクローンします。/Users/will/systems-mcp を想定しています/Users/will/systems-mcp

  3. uvがインストールされていることを確認し、以下の手順に従ってください

  4. Cladue Desktop の「設定」→「開発」を開き、MCP 設定ファイルを作成します。その後、 claude_desktop_config.jsonを更新します。( will 」は実際のユーザー名に置き換えてください。例: whoamiの出力)。

     cd /Users/will/Library/Application Support/Claude
     vi claude_desktop_config.json

    次に、次のセクションを追加します。

     {
       "mcpServers": {
         "systems": {
           "command": "uv",
           "args": [
             "--directory",
             "/Users/will/systems-mcp",
             "run",
             "main.py"
           ]
         }
       }
     }
  5. Claude を閉じて再度開きます。

  6. 動作するはずです...

Available Tools

2 tools
load_systems_documentationB

Load systems documentation, examples, and specification details to improve the models ability to generate specifications.

Returns: Documentation and several examples of systems models

Inputs: no named parameters. Returns: result

run_systems_modelC

Run a systems model and return output of list of dictionaries in JSON.

Args: spec: The systems model specification rounds: Number of rounds to run (default: 100)

Inputs: spec (required), rounds. Returns: result

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have completely distinct purposes: one loads documentation/examples for reference, while the other executes a model with given specifications. There is no overlap in functionality, and an agent would easily differentiate between them based on their clear descriptions.

    Naming Consistency5/5

    Both tools follow a consistent verb_noun pattern with snake_case naming: load_systems_documentation and run_systems_model. The naming is predictable and readable, with no deviations in style or convention across the set.

    Tool Count2/5

    With only 2 tools, the server feels thin for the domain of 'systems modeling,' which typically involves more operations like creating, updating, or analyzing models. This limited set may hinder agents from performing comprehensive tasks, as it lacks tools for specification generation, validation, or result analysis beyond basic execution.

    Completeness2/5

    The tool set is severely incomplete for systems modeling. It provides documentation loading and model execution but misses essential operations such as creating or editing specifications, validating models, analyzing outputs in-depth, or managing model versions. This creates significant gaps that will likely cause agent failures in real-world scenarios.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      F
      maintenance
      An MCP server that provides tools to load and fetch documentation from any llms.txt source, giving users full control over context retrieval for LLMs in IDE agents and applications.
      1,027
      MIT
    • F
      license
      B
      quality
      D
      maintenance
      A Model Context Protocol server implementation that can be run directly or through Docker, enabling AI assistants to interact with external systems through the MCP standard.
      2
      -
    • A
      license
      B
      quality
      D
      maintenance
      A toy MCP server for exploring Model Context Protocol capabilities, including resources, tools, and prompts.
      1
      Apache 2.0