DataV TwinFabric MCP server
Python bridge for interacting with DataV TwinFabric using the Model Context Protocol (MCP).
Setup
- Make sure Python 3.10+ is installed
- Install
uvif you haven't already:curl -LsSf https://astral.sh/uv/install.sh | sh
- 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
- 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
- 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中获取
}
}
}
}
- Save and Start the server.
- Switch to the default assistant page, add MCP server at the bottom, and start your conversations.
Method 2
- 本地启动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"
- 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中获取
}
}
}
}
- Save and Start the server.
- Switch to the default assistant page, add MCP server at the bottom, and start your conversations.
Metadata
Release files for datav-twinfabric-mcp 1.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| datav_twinfabric_mcp-1.4.1.tar.gz | 12.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| datav_twinfabric_mcp-1.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.0 kB
Release files / datav_twinfabric_mcp-1.4.1.tar.gz
| Download URL | datav_twinfabric_mcp-1.4.1.tar.gz |
|---|---|
| Size | 12.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
33d7536a2600897744d26b4357815d07045ea204ba4611765800db1d657921da
|
|
BLAKE2b-256 checksum How to use checksums |
a59e70d337d96b6befbbfca8c3622f70b9c51446bbaacfda082577d1433db576
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.19
|
Release files / datav_twinfabric_mcp-1.4.1-py3-none-any.whl
| Download URL | datav_twinfabric_mcp-1.4.1-py3-none-any.whl |
|---|---|
| Size | 16.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
80707e7b072c33394adc3bc5a82b7ffe87100b6f6f279ae4723e2ef1f32bbb56
|
|
BLAKE2b-256 checksum How to use checksums |
15ec51a09cf4fd5adf0d376e306344735b5423d279b35c034fcca019e234bcf3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.19
|