WebMiliastra Nodes Editor MCP Server
Enables AI agents to create and manage node graphs and projects for Genshin Impact's Miliastra Wonderland system. Provides tools for reading, writing, and validating GraphDocument JSON files, managing project folders, and accessing node definitions and documentation resources.
README
简体中文 | English
《原神·千星奇域》节点图模拟器MCP服务器
此仓库为AI代理提供可以创建和管理WebMiliastra节点图和项目的MCP服务器。目前提供了节点图/项目工具,将在后续完成参考文档
[!WARNING]
该项目90%以上代码均由AI生成。
此服务器提供的功能
- 节点图工具: 列出、读取、写入和验证
GraphDocumentJson文件 - 项目工具: 读取/写入包含
manifest.json和节点图文件的文件夹 - 节点索引: 一个小型的节点定义样本文件,以及用于完整数据的覆盖路径
- 通过MCP资源(
nodegraph://docs/...)公开的文档资源
仓库目录
graphs/- 节点图Json文件(节点图工具的默认目标)projects/- 项目文件夹(每个文件夹包含manifest.json和节点图文件)docs/- 作为MCP资源提供的参考文档data/- 节点定义数据(将在后续根据 data.ts 完善数据)
安装与运行
git clone https://github.com/Columbina-Dev/WebMiliastraNodesEditor-MCPServer.git
cd WebMiliastraNodesEditor-MCPServer/
npm install
npm run build
node build/index.js
环境变量
NODEGRAPH_WORKSPACE: 文档和数据的基础工作区(默认:当前工作目录)NODEGRAPH_GRAPHS_DIR: 节点图存储文件夹(默认:<workspace>/graphs)NODEGRAPH_PROJECTS_DIR: 项目存储文件夹(默认:<workspace>/projects)NODEGRAPH_NODE_DEFS_PATH: Json节点定义数据的路径
P.S.: data/nodeDefinitions.sample.json 为临时测试数据集,后续需将数据替换为完整的节点定义数据以保证准确性
MCP 配置示例
<details> <summary>OpenAI Codex</summary> 使用 config/.codex/config.toml </details>
注意事项
- 需根据官方编辑器教程HTML导入更多的参考文档,见
docs/tutorial-plan.md - 目前为临时测试MCP服务器,几乎无法生成正常可用的节点图和项目文件,需在后续完善文档和节点定义数据以验证格式
- 与 主项目 相同,此MCP服务器项目同样采用GPLv3许可证。
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
E2B
Using MCP to run code via e2b.