Skip to main content
Glama
Systems MCP
by lethain

系统-mcp

systems-mcp是一个 MCP 服务器,用于与lethain:systems库交互以进行系统建模。

它提供了两个工具:

  • run_systems_model运行系统模型的systems规范。它接受两个参数:规范以及可选的运行轮数(默认为 100)。

  • 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

  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