dts-mcp

dts-mcp

Enables uploading source data, queuing Windows DTS Engine publishing jobs, monitoring them, and downloading hash-verified 3DT results.

Category
访问服务器

README

Claude Code DTS MCP Plugin

Private Claude Code plugin for the DTS Engine gateway at https://192.168.50.170:8770/mcp.

It lets Claude Code on macOS or Windows upload source data, queue Windows DTS Engine 6.1 publishing jobs, monitor them, and download hash-verified 3DT results. The plugin contains no DTS Engine binaries and no server secrets.

This is the Claude Code counterpart to codex-dts-mcp-plugin, which serves the same gateway to Codex on macOS. Both plugins can share the same stored bearer token because they target the same gateway and the same DTS_MCP_TOKEN environment variable.

Prerequisites

  • The client machine can route to 192.168.50.170:8770 through the private LAN or VPN.
  • GitHub access can clone zhouning/claudecode-dts-mcp-plugin.
  • Claude Code CLI is installed (claude plugin --help succeeds).
  • The Windows DTS MCP gateway is healthy and DTS Engine is installed, licensed, and running in a logged-in interactive Windows session.
  • You have the gateway Bearer Token through a secure channel.

Do not paste the token into a shell command. Both installers prompt without terminal echo: configure-macos.sh stores it in the macOS login Keychain, configure-windows.ps1 stores it in Windows Credential Manager.

Install On macOS

git clone git@github.com:zhouning/claudecode-dts-mcp-plugin.git
./claudecode-dts-mcp-plugin/plugins/dts-mcp/scripts/configure-macos.sh

The script imports only the public DTS MCP CA into the login Keychain, stores the Bearer Token under service dts-mcp, installs a user LaunchAgent that restores DTS_MCP_TOKEN, adds the zhouning-dts marketplace, installs dts-mcp@zhouning-dts, and verifies the fixed health endpoint.

Verify with:

./claudecode-dts-mcp-plugin/plugins/dts-mcp/scripts/verify-connection-macos.sh

Install On Windows

git clone https://github.com/zhouning/claudecode-dts-mcp-plugin.git
.\claudecode-dts-mcp-plugin\plugins\dts-mcp\scripts\configure-windows.ps1

The script stores the Bearer Token as a Generic Credential in Windows Credential Manager under target dts-mcp, persists DTS_MCP_TOKEN as a user environment variable and broadcasts the change so new processes see it, trusts the bundled CA in Cert:\CurrentUser\Root, adds the zhouning-dts marketplace, installs dts-mcp@zhouning-dts, and verifies the fixed health endpoint.

Verify with:

.\claudecode-dts-mcp-plugin\plugins\dts-mcp\scripts\verify-connection-windows.ps1

Restart Claude Code and open a new session after installation on either platform.

Update

git -C claudecode-dts-mcp-plugin pull --ff-only
claude plugin marketplace update zhouning-dts
claude plugin install dts-mcp@zhouning-dts

Restart Claude Code and use a new session after an update.

Rotate The Bearer Token

Rotate the token on the Windows gateway first, then run:

./claudecode-dts-mcp-plugin/plugins/dts-mcp/scripts/configure-macos.sh --rotate-token
.\claudecode-dts-mcp-plugin\plugins\dts-mcp\scripts\configure-windows.ps1 --rotate-token

Refresh The CA

After the Windows host address or DTS MCP CA changes, update the checkout and run:

git -C claudecode-dts-mcp-plugin pull --ff-only
./claudecode-dts-mcp-plugin/plugins/dts-mcp/scripts/configure-macos.sh --refresh-ca
./claudecode-dts-mcp-plugin/plugins/dts-mcp/scripts/verify-connection-macos.sh
git -C claudecode-dts-mcp-plugin pull --ff-only
.\claudecode-dts-mcp-plugin\plugins\dts-mcp\scripts\configure-windows.ps1 --refresh-ca
.\claudecode-dts-mcp-plugin\plugins\dts-mcp\scripts\verify-connection-windows.ps1

The refresh does not read or rewrite the Bearer Token. Discard signed URLs issued before an endpoint or signing-key change.

Remove

macOS:

claude plugin uninstall dts-mcp
claude plugin marketplace remove zhouning-dts
launchctl bootout "gui/$UID/com.dts.mcp.token" 2>/dev/null || true
rm -f "$HOME/Library/LaunchAgents/com.dts.mcp.token.plist"
rm -rf "$HOME/Library/Application Support/dts-mcp"
security delete-generic-password -a "$USER" -s dts-mcp
launchctl unsetenv DTS_MCP_TOKEN

Windows:

claude plugin uninstall dts-mcp
claude plugin marketplace remove zhouning-dts
[Environment]::SetEnvironmentVariable('DTS_MCP_TOKEN', $null, 'User')
cmdkey /delete:dts-mcp 2>$null

Remove the DTS MCP Local CA certificate from the login Keychain (security delete-certificate) or Cert:\CurrentUser\Root (Remove-Item) only after confirming its fingerprint.

Publishing Constraints

  • Only road is verified end to end.
  • Road inputs require a projected CRS and domPath; a matching DEM is strongly recommended.
  • OSGB publishing requires both stages and must use dts_publish_osgb.
  • Remote path flags use artifact IDs and artifact-relative paths, never Windows paths.
  • Upload and download bytes use signed HTTPS URLs without the Bearer Token.
  • The remote gateway registers 14 tools; dts_validate remains local-only.
  • A successful result ZIP must retain both its .3dt data and DataInfor.txt.

Troubleshooting Order

  1. Confirm private routing to 192.168.50.170:8770.
  2. Confirm the Windows host is logged in and the DTS MCP gateway is healthy.
  3. Run the platform's verify-connection-* script and fix the first failed layer.
  4. Use --rotate-token for authentication failures.
  5. Use --refresh-ca after an address or certificate change.
  6. Confirm dts-mcp appears in claude plugin list.
  7. Confirm dts appears in claude mcp list.
  8. Start a new Claude Code session and call dts_ping.

Verification Status

  • DTS server remote gateway implementation and its own remote smoke test: not re-verified from this repository; see zhouning/dts-mcp-server.
  • Plugin manifests, Skill, certificate, script syntax, and secret checks: covered by this repository's tests.
  • Windows Credential Manager and macOS Keychain acceptance is pending on target machines.
  • Do not report end-to-end plugin success until a target machine completes a real road upload, publish, download, and SHA-256 verification.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选