Register

World CLI for Foundry VTT

An Add-on Module for Foundry Virtual Tabletop

Author: DroiD16 Project: Source Foundry Versions 13+ (Verified 14) Last Updated 18 hours, 52 minutes ago

Tell your AI agent what should change in your Foundry VTT world, and it happens in the live world, validated by Foundry, visible to your players immediately.

An AI agent adds lights and goblins to a Foundry tavern scene, shown before and after

Give the terminal AI agent you already use, such as Claude Code or Codex, safe, live access to your Foundry world. Through your open GM session, it can:

Every change runs through Foundry's own Document APIs, exactly as if you had made it in the UI. The agent can work without browser automation or editing world files on disk.

This module contains no AI and calls none. You bring your own agent, and you decide what it may do.

Requires the separate fvtt-world-cli npm package and Node.js 20+. The package includes the CLI your agent runs and a local daemon that connects it to this module. You can point your agent at the GitHub repository and ask it to set up World CLI for Foundry VTT.

For manual setup, start by installing the CLI:

npm install -g fvtt-world-cli

Then follow Getting started to start the daemon, pair your GM browser, and check the connection.

Supported on Foundry VTT v13 and v14, both verified. The package also ships an installable Agent Skill that teaches an agent to drive the CLI safely.

GitHub · Getting started · Documentation

Categories

Available Versions

  1. Version 1.1.2

    18 hours, 52 minutes ago
    Foundry Version 13+ (Verified 14) Manifest URL Read Notes