Skip to main content

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

Project description

DataV TwinFabric MCP server

Python bridge for interacting with DataV TwinFabric 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 datav-twinfabric-mcp
    uv venv
    source .venv/bin/activate  # On Unix/macOS
    # or
    source .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

Method 1

  1. Add MCP server in Settings.
{
 "mcpServers": {
   "twinfabric_mcp_server": {
     "name": "DataV TwinFabric MCP",
     "command": "uvx",
     "args": [
       "datav-twinfabric-mcp"
     ],
     "env": {
       "LOG_DIR": "D:/", // Log directory
       "UnrealClientId": "D225E4144B548E5B20463AA2A7D2F7A7",//MCP控制的DataV TwinFabric客户端的机器码,需要从客户端的Setting中获取
     }
   }
 }
}
  1. Save and Start the server.
  2. Switch to the default assistant page, add MCP server at the bottom, and start your conversations.

Method 2

  1. 本地启动MCP server时,从 pyproject.toml 移除以下内容:
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"

[tool.hatch.build]
include = ["datav_twinfabric_mcp/*.py"]
[project.scripts]
datav-twinfabric-mcp = "datav_twinfabric_mcp.twinfabric_mcp_server:run"
  1. Add MCP server in Settings.
{
 "mcpServers": {
   "twinfabric_mcp_server": {
     "name": "DataV TwinFabric MCP",
     "command": "uv",
     "args": [
       "--directory",
       "E://workspace//MCP//DTF-MCPServer//datav-twinfabric-mcp//datav_twinfabric_mcp//",
       "run",
       "twinfabric_mcp_server.py"
     ],
     "env": {
       "LOG_DIR": "D:/", // Log directory
       "UnrealClientId": "D225E4144B548E5B20463AA2A7D2F7A7",//MCP控制的DataV TwinFabric客户端的机器码,需要从客户端的Setting中获取
     }
   }
 }
}
  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.4.0.tar.gz (12.6 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.4.0-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for datav_twinfabric_mcp-1.4.0.tar.gz
Algorithm Hash digest
SHA256 cba1e6d937c650fe749de0f6672efaa8dbf688bf31d08d4908c2829a818ce0f0
MD5 40372cdfdfa95248869e57427a36a473
BLAKE2b-256 affe6231f8bab70b9b4f5b749b6320b3ba007b85d35e14e44ae03f8229a87191

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for datav_twinfabric_mcp-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1d427a129c64f7d817932579adf4877421b44e70fd6165a9a460761f8c7a83ea
MD5 614d3d991c0ba9e0a6d2a4cf91b8008a
BLAKE2b-256 d892c83198b314752409e5b8607e76c5681a6564eff1ab2d7048b910bd8ff672

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