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.1.tar.gz (12.8 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.1-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for datav_twinfabric_mcp-1.4.1.tar.gz
Algorithm Hash digest
SHA256 33d7536a2600897744d26b4357815d07045ea204ba4611765800db1d657921da
MD5 d0991f433e7ec18643daff3818109f56
BLAKE2b-256 a59e70d337d96b6befbbfca8c3622f70b9c51446bbaacfda082577d1433db576

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for datav_twinfabric_mcp-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 80707e7b072c33394adc3bc5a82b7ffe87100b6f6f279ae4723e2ef1f32bbb56
MD5 f3981ca1eb5fe115383b0d4c3cfc71c9
BLAKE2b-256 15ec51a09cf4fd5adf0d376e306344735b5423d279b35c034fcca019e234bcf3

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