程序化瓦片生成与约束求解服务

该服务通过波函数坍缩从样本模式逐步或完整地生成瓦片网格,并利用MiniZinc验证或求解约束模型,为Agent提供程序化内容生成与约束求解能力。

  • by V-Sekai-fire
  • Elixir
  • 本地部署
  • 更新于
在 GitHub 查看 V-Sekai-fire/pcg-mcp

使用说明

transport-pcg-mcp

A Model Context Protocol server in Elixir that grows tile levels by wave function collapse and solves constraint models.

What it is for

It gives an agent tools to grow a tile grid from a sample pattern one step at a time or to completion, and to validate or solve constraint-programming models. The tool schemas the server lists say what each tool takes.

Build and run

mix deps.get
mix mcp.server

The MiniZinc solver must be on the PATH; the Dockerfile builds an image that carries it.

Licence

MIT; see LICENSE.md.