KR

k4zuki0539/-rpgmaker-mz-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

37 stars 12 forks 质量 57 趋势 1

用于RPG Maker MZ集成的高质量MCP服务器

概览

一款高质量的模型上下文协议(MCP)服务器,用于RPG Maker MZ集成。该服务器通过MCP协议提供全面的游戏数据、地图、事件和系统设置管理工具。 - : 创建、读取、更新和搜索演员 - : 管理物品、武器、护甲和技能 - : 用自然语言创建自定义技能(全新!) - 伤害技能、治疗技能、增益、减益、状态效果 - 简化常见技能类型的辅助工具 - 全面自定义支持 - : 访问和修改地图数据、瓦片和属性 - : 创建、更新和管理地图事件及命令 - : 更新游戏设置、变量、开关和词汇 - : 完整 TypeScript 支持及全面类型定义 - : 强健的错误处理和验证 将RPG Maker MZ项目路径设为环境变量: 添加到你的Claude Desktop配置文件中: : %APPDATA%\Claude\claude_desktop_config.json :~/库/应用支持/Claude/claude_desktop_config。

概述(AI 翻译)

一款高质量的模型上下文协议(MCP)服务器,用于RPG Maker MZ集成。该服务器通过MCP协议提供全面的游戏数据、地图、事件和系统设置管理工具。

特色

  • 演员管理:创建、读取、更新和搜索演员
  • 物品/装备管理:管理物品、武器、护甲和技能
  • 技能创建:用自然语言创建自定义技能(新增!)
  • 伤害技能、治疗技能、增益、减益、状态效果
  • 简化辅助工具,适用于常见技能类型
  • 全面的定制支持
  • 地图管理:访问和修改地图数据、瓦片和属性
  • 事件管理:创建、更新和管理地图事件和命令
  • 系统配置:更新游戏设置、变量、开关和词汇
  • 类型安全:完整支持TypeScript,包含全面的类型定义
  • 错误处理:稳健的错误处理与验证

安装

配置

将RPG Maker MZ项目路径设为环境变量:

用途

运行服务器

或者直接:

在 Claude Desktop 中配置

添加到你的Claude Desktop配置文件中:

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

RPG Maker MZ MCP Server

A high-quality Model Context Protocol (MCP) server for RPG Maker MZ integration. This server provides comprehensive tools for managing game data, maps, events, and system settings through the MCP protocol.

Features

  • Actor Management: Create, read, update, and search actors
  • Item/Equipment Management: Manage items, weapons, armors, and skills
  • Skill Creation: Create custom skills with natural language (NEW!)
    • Damage skills, healing skills, buffs, debuffs, status effects
    • Simplified helpers for common skill types
    • Full customization support
  • Map Management: Access and modify map data, tiles, and properties
  • Event Management: Create, update, and manage map events and commands
  • System Configuration: Update game settings, variables, switches, and vocabulary
  • Type Safety: Full TypeScript support with comprehensive type definitions
  • Error Handling: Robust error handling and validation

Installation

npm install
npm run build

Configuration

Set the RPG Maker MZ project path as an environment variable:

# Windows
set RPGMAKER_PROJECT_PATH=C:\path\to\your\rpgmaker\project

# macOS/Linux
export RPGMAKER_PROJECT_PATH=/path/to/your/rpgmaker/project

Usage

Running the Server

npm start

Or directly:

node dist/index.js

Configuring in Claude Desktop

Add to your Claude Desktop configuration file:

Windows: %APPDATA%\Claude\claude_desktop_config.json

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "rpgmaker-mz": {
      "command": "node",
      "args": ["C:/path/to/rpgmaker-mz-mcp/dist/index.js"],
      "env": {
        "RPGMAKER_PROJECT_PATH": "C:/path/to/your/rpgmaker/project"
      }
    }
  }
}

Available Tools

Actor Tools

  • get_actors - Get all actors from the project
  • get_actor - Get a specific actor by ID
  • update_actor - Update an actor’s properties
  • create_actor - Create a new actor
  • search_actors - Search actors by name or nickname

Item Tools

  • get_items - Get all items from the project
  • get_weapons - Get all weapons from the project
  • get_armors - Get all armors from the project
  • get_skills - Get all skills from the project
  • update_item - Update an item’s properties
  • search_items - Search items by name or description

Skill Tools (NEW!)

  • get_skill - Get a specific skill by ID
  • create_skill - Create a custom skill with full control
  • create_damage_skill - Create a damage-dealing skill (simplified)
  • create_healing_skill - Create a healing skill (simplified)
  • create_buff_skill - Create a buff skill (simplified)
  • create_state_skill - Create a state-inflicting skill (simplified)
  • update_skill - Update a skill’s properties
  • search_skills - Search skills by name or description

Map Tools

  • get_map - Get map data by ID
在 GitHub 查看完整 README

安装

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

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "rpgmaker-mz": { "command": "node", "args": ["C:/path/to/rpgmaker-mz-mcp/dist/index.js"], "env": { "RPGMAKER_PROJECT_PATH": "C:/path/to/your/rpgmaker/project" } } } }