游戏与游戏化 · 人工智能聊天机器人

Foundryvtt MCP

laurigates/foundryvtt-mcp

FoundryVTT MCP服务器是一个与FoundryVTT集成的模型上下文协议服务器,允许AI助手通过自然语言与桌面游戏会话互动,包括掷骰子、查询数据、生成内容和管理游戏世界。

安装

bunx foundryvtt-mcp

客户端配置

{
  "mcpServers": {
    "foundryvtt": {
      "command": "bunx",
      "args": [
        "foundryvtt-mcp"
      ],
      "env": {
        "FOUNDRY_URL": "<FOUNDRY_URL>",
        "FOUNDRY_USERNAME": "<FOUNDRY_USERNAME>",
        "FOUNDRY_PASSWORD": "<FOUNDRY_PASSWORD>"
      }
    }
  }
}

环境变量

FOUNDRY_URLFOUNDRY_USERNAMEFOUNDRY_PASSWORD
分类
游戏与游戏化, 人工智能聊天机器人
许可证
MIT
更新于
2026年10月6日

工具(31)

  • search_actors

    find characters, NPCs, monsters

  • get_actor_details

    detailed character information

  • search_items

    find equipment, spells, consumables

  • get_scene_info

    current scene details

  • search_journals

    search notes and handouts

  • get_journal

    retrieve a specific journal entry

  • get_combat_state

    combat state and initiative order

  • get_chat_messages

    recent chat history

  • start_combat

    begin a new encounter, seeding combatants from tokens (does not check for an existing combat — calling it during an active one creates a second encounter)

  • next_turn

    advance the active combat to the next turn (wraps to the next round)

  • end_combat

    end (delete) the active combat encounter

  • set_initiative

    set a combatant's initiative in the active combat, moving the turn marker with the acting combatant if the reorder shifts them

  • move_token

    move a token to new x/y coordinates on its scene

  • apply_status_effect

    apply or remove a status condition (e.g. prone, stunned) on a token's actor

  • update_actor_attributes

    patch an actor's system attributes (HP, currency, spell slots, …)

  • create_actor_item

    add an inline item to an actor

  • update_actor_item

    apply a JSON merge patch to an actor's item

  • delete_actor_item

    remove an item from an actor

  • create_journal_entry

    create a journal entry with one or more text pages (GM-only by default; pass visibility to let players read it)

  • search_world

    full-text search across all game entities

  • get_world_summary

    overview of the current world state

  • refresh_world_data

    reload world data from FoundryVTT; needed after a dropped connection, whose missed updates are never replayed into the cache

  • roll_dice

    roll dice; dice terms (NdS) and whole numbers joined by +/-, with unsupported notation (4d6kh3, 1d20r1, *) rejected rather than dropped.

  • lookup_rule

    stub: returns a templated placeholder, consults no rules source

  • generate_npc

    generate NPC text (not written to the world)

  • generate_loot

    generate treasure text for a level (not written to the world)

  • get_recent_logs

    retrieve filtered FoundryVTT logs

  • search_logs

    search logs by pattern, listing the matching entries

  • get_system_health

    server health status with versions, user/module counts, memory and log error counts (no CPU or disk metrics)

  • diagnose_errors

    stub: returns a fixed "no errors detected" summary

  • get_health_status

    comprehensive health diagnostics; flags the world snapshot when the cache has stopped following live changes

本页信息摘自该项目的 README。 查看 README

支持的客户端

该服务器 README 中提到的客户端:

查看全部
Claude Desktop logo

Claude Desktop

桌面端 · 免费增值 · Proprietary

Anthropic 官方推出的 Claude AI 桌面应用程序。支持 MCP 服务器以扩展功能。

WindowsMacOS
VS Code GitHub Copilot logo

VS Code GitHub Copilot

桌面端 · 免费增值 · MIT

VS Code 通过代理模式将 MCP 与 GitHub Copilot 集成,允许在你的代理编码工作流中直接与 MCP 提供的工具交互。在 Claude Desktop、工作区或用户设置中配置服务器,提供引导式 MCP 安装和安全处理输入变量中的密钥,避免泄露硬编码密钥。

WindowsMacOSLinuxWeb

相关 MCP 服务器

更多服务器
HAN JIE logo

HAN JIE

hedge-dev/XenonRecomp

6k

XenonRecomp是一个将Xbox 360可执行文件转换为C++代码的工具,支持跨平台重新编译,目前仅支持x86架构。该项目受N64 Recompiled启发,专注于指令转换、内存处理、优化和补丁机制,但不提供运行时实现。

游戏与游戏化
Unity MCP logo

Unity MCP

justinpbarnett/unity-mcp

1.8k

Unity MCP是一个连接Unity编辑器与大型语言模型(LLM)的桥梁工具,通过本地MCP客户端实现自然语言控制Unity编辑器功能,支持资产管理、场景控制、脚本编辑等自动化操作。

游戏与游戏化
Unreal MCP logo

Unreal MCP

chongdashu/unreal-mcp

542

虚幻引擎模型上下文协议(MCP)集成的文档,帮助理解、设置和使用MCP系统。

游戏与游戏化
MCP Unity logo

MCP Unity

codergamester/mcp-unity

435

MCP Unity是一个实现Model Context Protocol的Unity编辑器扩展,通过Node.js服务器桥接AI助手与Unity项目的交互,提供菜单执行、对象选择、组件更新等功能。

游戏与游戏化
Unity logo

Unity

arodoid/unitymcp

422

UnityMCP是一个Unity编辑器插件,实现模型上下文协议(MCP),提供Unity与AI助手的无缝集成,包括实时状态监控、远程命令执行和日志功能。

游戏与游戏化
Godot logo

Godot

coding-solo/godot-mcp

329

Godot MCP是一个为Godot游戏引擎设计的模型上下文协议服务器,提供与Godot编辑器和项目的交互功能。

游戏与游戏化