ND

niguangowo/dalamud-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

9 stars 0 forks 品質 60 トレンド 28

Dalamud MCP is a Dalamud plugin for FINAL FANTASY XIV that hosts a Model Context Protocol server on a loopback port, giving an AI agent access to the live state of a running game client.

概要

Dalamud MCP is a Dalamud plugin for FINAL FANTASY XIV that hosts a Model Context Protocol server on a loopback port, giving an AI agent access to the live state of a running game client. The plugin runs inside the game process, so it reads the same memory the client itself uses: the object table, the local player, party and alliance, targets, FATEs, currency, Excel game data, and arbitrary validated raw memory through FFXIVClientStructs. An MCP client connects to http://127.0.0.1:18777/mcp and calls 107 tools — 65 read-only, plus 42 mutating tools (opt-in) that can act on the game: cast actions, target and move, send chat, manage plugins, drive addon windows, inject Dear ImGui input, and register IPC endpoints with other plugins. A background event collector also records game-state changes into a ring buffer that an agent can poll instead of re-reading full state.

README

以下は原文 README の抜粋です。原文を見る。

DalamudMCP

English | 简体中文

DalamudMCP is a Dalamud plugin for FINAL FANTASY XIV. It provides a local Model Context Protocol server for AI-assisted plugin development, runtime inspection and in-game validation.

The plugin runs within the game process and exposes character, object, party, inventory, game-data and UI state through Dalamud services and FFXIVClientStructs. It also provides validated raw-memory reads, event collection and inter-plugin communication. The current catalog contains 148 tools: 84 read-only and 64 mutating. Mutating tools require explicit enablement.

The default endpoint is http://127.0.0.1:18777/mcp. HTTP-capable MCP clients connect directly; stdio-only clients use the included bridge.

Validation scope: Offline checks cover protocol, schemas, loading and selected native-memory operations. Live coverage is limited to the scenarios documented in the tool audit. These results do not establish compatibility with every client or game state.

Contents

Install from a plugin repository

Published releases are available from NiGuangOwO’s Dalamud plugin repository. Repository index:

https://raw.githubusercontent.com/NiGuangOwO/DalamudPlugins/main/pluginmaster.json
  1. Launch the game with Dalamud enabled. Enter /xlsettings in chat to open Dalamud settings.
  2. Under Experimental, locate Custom Plugin Repositories. Add the index URL above and save the settings.
  3. Enter /xlplugins to open the Plugin Installer. Refresh the list and install DalamudMCP by NiGuangOwO. Subsequent releases are available through the same installer.
  4. Enter /dalamudmcp status to inspect listener status, or /dalamudmcp to open plugin settings.

After installation, follow Configure and Connect an agent to complete client setup. Mutating tools remain disabled until enabled in plugin settings. New releases may take several minutes to appear because of GitHub’s index cache. When replacing a development installation, disable the dev copy before enabling the repository version.

Build

The project uses Dalamud.NET.Sdk. Build the plugin project directly from the repository root:

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "ffxiv": { "type": "http", "url": "http://127.0.0.1:18777/mcp", "headers": { "Authorization": "Bearer <token-if-you-set-one>" } } } }