
为 AI 代理与 MapleStory .wz,.img,.pack 文件交互的 MCP - 74 种用于读取、分析、修改和导出游戏数据的工具
概览
WzImg MCP 服务器是一款模型上下文协议(MCP)服务器,使 AI 代理能够以程序方式与 MapleStory IMG 文件交互。它提供涵盖 10 个类别的 74 种工具,用于读取、分析、修改和导出游戏数据。 首先用 HaCreator 导出 .wz 文件成 .img,你需要manifest.json! WzImg MCP 服务器支持两种传输模式:(标准输入/输出)和(带 SSE 的可流式 HTTP)。 stdio方法将服务器作为子进程运行。客户端通过stdin/stdout通信。 (%APPDATA%\Claude\claude_desktop_config.json): (~/.codex/config.toml 或 project-scoped .codex/config.toml): Codex 支持 CLI 和 IDE 扩展中的 MCP 服务器。两个客户端共享 config.toml,因此只需配置一次服务器。完整配置参考请参见 Codex MCP 文档。 你也可以从Codex CLI中添加stdio服务器:
概述(AI 翻译)
版本:1.1.0
概述
WzImg MCP 服务器是一款模型上下文协议(MCP)服务器,使 AI 代理能够通过程序方式与 MapleStory 的 IMG 文件交互。 它提供了涵盖10个类别的74种工具,用于读取、分析、修改和导出游戏数据。
首先用 HaCreator 导出 .wz 文件成 .img,你需要manifest.json!
提取 .wz 窗口
快速启动
安装
连接方法
WzImg MCP 服务器支持两种传输模式:stdio(标准输入/输出)和HTTP(带 SSE 的可流式 HTTP)。
MCP服务器名称:wzimg
方法1:标准(默认)
stdio方法将服务器作为子进程运行。客户端通过stdin/stdout通信。
Claude 桌面配置 (%APPDATA%\Claude\claude_desktop_config.json):
Claude 代码配置(项目根中为[.mcp.json):
Codex 配置(~/.codex/config.toml 或项目范围 .codex/config.toml):
Codex 支持 CLI 和 IDE 扩展中的 MCP 服务器。两个客户端共享 config.toml,因此只需配置一次服务器。完整配置参考请参见 Codex MCP 文档。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
WzImg MCP Server Documentation
Version: 1.1.0
Overview
WzImg MCP Server is a Model Context Protocol (MCP) server that enables AI agents to interact with MapleStory IMG files programmatically. It provides 74 tools across 10 categories for reading, analyzing, modifying, and exporting game data.
First export the .wz files into .img with HaCreator, you will need the manifest.json!
Quick Start
Installation
# Build the server
cd WzImg-MCP-Server
dotnet build WzImgMCP.csproj
Connection Methods
WzImg MCP Server supports two transport modes: stdio (standard input/output) and HTTP (Streamable HTTP with SSE).
MCP server name: wzimg
Method 1: Stdio (Default)
The stdio method runs the server as a subprocess. The client communicates via stdin/stdout.
# Run in stdio mode (default)
dotnet run --project WzImgMCP
Claude Desktop Configuration (%APPDATA%\Claude\claude_desktop_config.json):
{
"mcpServers": {
"wzimg": {
"command": "dotnet",
"args": ["run", "--project", "E:/path/to/WzImg-MCP-Server/WzImgMCP.csproj"],
"env": {
"WZIMGMCP_DATA_PATH": "D:\\Extract\\v83"
}
}
}
}
Claude Code Configuration (.mcp.json in project root):
{
"mcpServers": {
"wzimg": {
"type": "stdio",
"command": "dotnet",
"args": ["run", "--project", "E:/path/to/WzImg-MCP-Server/WzImgMCP.csproj"],
"env": {
"WZIMGMCP_DATA_PATH": "D:\\Extract\\v83"
}
}
}
}
Codex Configuration (~/.codex/config.toml or project-scoped .codex/config.toml):
Codex supports MCP servers in the CLI and IDE extension. Both clients share config.toml, so you only need to configure the server once. See the Codex MCP documentation for the full configuration reference.
[mcp_servers.wzimg]
command = "dotnet"
args = ["run", "--project", "E:/path/to/WzImg-MCP-Server/WzImgMCP.csproj"]
[mcp_servers.wzimg.env]
WZIMGMCP_DATA_PATH = "D:\\Extract\\v83"
You can also add the stdio server from the Codex CLI:
codex mcp add wzimg --env WZIMGMCP_DATA_PATH=D:/Extract/v83 -- dotnet run --project E:/path/to/WzImg-MCP-Server/WzImgMCP.csproj
In the Codex TUI, run /mcp to confirm that wzimg is available.
Method 2: HTTP (Streamable HTTP)
The HTTP method runs the server as a standalone web service. Clients connect via HTTP requests with Server-Sent Events (SSE) for streaming responses.
# Run in HTTP mode
dotnet run --project WzImgMCP -- --http
# Or specify a custom port
dotnet run --project WzImgMCP -- --http --port 8080
Claude Code Configuration (.mcp.json):
{
安装
npx @modelcontextprotocol/inspector dotnet run --project WzImgMCP配置
{
"mcpServers": {
"wzimg": {
"command": "dotnet",
"args": ["run", "--project", "E:/path/to/WzImg-MCP-Server/WzImgMCP.csproj"],
"env": {
"WZIMGMCP_DATA_PATH": "D:\\Extract\\v83"
}
}
}
}