StockSharp DesktopDriver
mcpother officialio.github.StockSharp/desktop-driver · v1.0.1
Inspect and drive Avalonia, WPF and MAUI desktop applications through local MCP.
run it
on your own machines, one way per deploy methodgenerated from the record, not tested yet
#!/usr/bin/env bash # desktop-driver (io.github.StockSharp/desktop-driver), recipe baremetal (generated). # Generated by Hub for toolset "my-agent"; started by mcp-my-agent-desktop-driver.service. set -euo pipefail export HOST=127.0.0.1 PORT=8101 exec uvx mcp-proxy --host 127.0.0.1 --port 8101 --pass-environment -- dnx [email protected] --yes [Unit] Description=MCP server desktop-driver (toolset my-agent), generated by Hub After=network-online.target Wants=network-online.target [Service] Type=simple User=mcp Group=mcp EnvironmentFile=/etc/mcp/my-agent.env Environment=HOME=/var/lib/mcp/desktop-driver WorkingDirectory=/var/lib/mcp/desktop-driver ExecStart=/opt/mcp/my-agent/bin/desktop-driver.sh Restart=on-failure RestartSec=5 NoNewPrivileges=true ProtectSystem=strict ProtectHome=true PrivateTmp=true ReadWritePaths=/var/lib/mcp/desktop-driver [Install] WantedBy=multi-user.target
connect to it
copy what your client needsdnx [email protected] --yes # env: STOCKSHARP_UI_CATALOGUE, STOCKSHARP_UI_ARTIFACTS
{
"mcpServers": {
"desktop-driver": {
"command": "dnx",
"args": [
"[email protected]",
"--yes"
],
"env": {
"STOCKSHARP_UI_CATALOGUE": "${STOCKSHARP_UI_CATALOGUE}",
"STOCKSHARP_UI_ARTIFACTS": "${STOCKSHARP_UI_ARTIFACTS}"
}
}
}
}
#!/usr/bin/env bash
# Registers every server with Claude Code (run once; `claude mcp list` to check).
set -euo pipefail
set -a; [ -f .env ] && source .env; set +a
claude mcp add desktop-driver -e "STOCKSHARP_UI_CATALOGUE=${STOCKSHARP_UI_CATALOGUE}" -e "STOCKSHARP_UI_ARTIFACTS=${STOCKSHARP_UI_ARTIFACTS}" -- dnx [email protected] --yes
{
"mcpServers": {
"desktop-driver": {
"command": "dnx",
"args": [
"[email protected]",
"--yes"
],
"env": {
"STOCKSHARP_UI_CATALOGUE": "${STOCKSHARP_UI_CATALOGUE}",
"STOCKSHARP_UI_ARTIFACTS": "${STOCKSHARP_UI_ARTIFACTS}"
}
}
}
}
{
"servers": {
"desktop-driver": {
"type": "stdio",
"command": "dnx",
"args": [
"[email protected]",
"--yes"
],
"env": {
"STOCKSHARP_UI_CATALOGUE": "${STOCKSHARP_UI_CATALOGUE}",
"STOCKSHARP_UI_ARTIFACTS": "${STOCKSHARP_UI_ARTIFACTS}"
}
}
}
}
name: my-agent target: local servers: - hub: io.github.StockSharp/desktop-driver
- not probed yet: tools unpinned, ingest lists them
tools
Probe result: failedbaremetal: MCPError: Connection closed; server stderr: …sh: 2: exec: dnx: not found
runs · 1
the latest tests of this entry by the hub and its workers, newest first| date | worker | method | status | sandbox | reason |
|---|---|---|---|---|---|
| 2026-10-17 13:36 | local-mac-vm | baremetal | failed | gvisorbuildpack-deps:bookworm | baremetal: MCPError: Connection closed; server stderr: …sh: 2: exec: dnx: not found |