Skip to main content

DataV.TwinFabric MCP Server: A server for DataV.TwinFabric integration via the Model Context Protocol (MCP).

Project description

DTF MCP server

Python bridge for interacting with Unreal Engine 5.2 using the Model Context Protocol (MCP).

Setup

  1. Make sure Python 3.10+ is installed
  2. Install uv if you haven't already:
    curl -LsSf https://astral.sh/uv/install.sh | sh
    
  3. Create and activate a virtual environment:
    cd Python
    uv venv
    source .venv/bin/activate  # On Unix/macOS
    # or
    .venv\Scripts\activate     # On Windows
    
  4. Install dependencies:
    uv pip install -e .
    

At this point, you can configure your MCP Client (Claude Desktop, Cursor, Windsurf) to use the Unreal MCP Server as per the Configuring your MCP Client.

Test on Cherry Studio

  1. Add MCP server in Settings.
  • Type: stdio
  • Command: uv
  • Arguments:
--directory
absolute/path/to/this/repository/Python
run
twinfabric_mcp_server.py
  • Environment Variables:
DASHSCOPE_API_KEY=your/dashscope/api/key
LOCATION_APP_ID=095e3f5c21f44dd78f3e97e9be858341
LOG_DIR = D:/, // directory of log
TwinFabricHost = 30.232.92.111 // public IP address of the host where the TwinFabric client is located

or in json format

{
  "mcpServers": {
    "twinfabric_mcp_server": {
      "name": "DataV.TwinFabric-MCP",
      "command": "uvx",
      "args": [
        "datav-twinfabric-mcp@latest"
      ],
      "env": {
        "DASHSCOPE_API_KEY": "sk-aab3831be22b454590f6e7fa98685f19",
        "LOCATION_APP_ID": "095e3f5c21f44dd78f3e97e9be858341",
        "LOG_DIR": "D:/",
        "UnrealClientId": "D225E4144B548E5B20463AA2A7D2F7A7" // 该值为TwinFabric客户端所在的机器的机器码,可以通过TwinFabric-设置-项目设置-MCPID 找到
      }
    }
  }
}

Note: You can get your DASHSCOPE_API_KEY according to 阿里云百炼-账号设置-获取 API Key.

  1. Save and Start the server.
  2. Switch to the default assistant page, add MCP server at the bottom, and start your conversations.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

datav_twinfabric_mcp-1.1.1.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

datav_twinfabric_mcp-1.1.1-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file datav_twinfabric_mcp-1.1.1.tar.gz.

File metadata

File hashes

Hashes for datav_twinfabric_mcp-1.1.1.tar.gz
Algorithm Hash digest
SHA256 03672d0a17ce94e44533dfb4176d7fcd795ca67d7da21cf8029c57a9f5283c3c
MD5 7b40ecc5a29e910bbff9d80a81cfa72b
BLAKE2b-256 f5557e3b920777aefc4ad3b53e9df4a9226567b03712d9f0c8f8b1d3581fa512

See more details on using hashes here.

File details

Details for the file datav_twinfabric_mcp-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for datav_twinfabric_mcp-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2b5ab8d6a4d52de8c7604239157f2401ca3bf710f0ce3eb5dfe9e84efc3f74de
MD5 30fdf8c39ef1d46ac813e1ae9a410dba
BLAKE2b-256 ece590e9ffcaacccf32d6c7364b88c495741db56f4065377e91e81817944b45a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page