Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Inspect and drive Avalonia, WPF and MAUI desktop applications through local MCP.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
STOCKSHARP_UI_CATALOGUE, STOCKSHARP_UI_ARTIFACTS你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"desktop-driver": {
"command": "dnx",
"args": [
"StockSharp.DesktopDriver.Mcp",
"--yes"
],
"env": {
"STOCKSHARP_UI_CATALOGUE": "your-value",
"STOCKSHARP_UI_ARTIFACTS": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add desktop-driver --env STOCKSHARP_UI_CATALOGUE=your-value --env STOCKSHARP_UI_ARTIFACTS=your-value -- dnx StockSharp.DesktopDriver.Mcp --yes运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"desktop-driver": {
"command": "dnx",
"args": [
"StockSharp.DesktopDriver.Mcp",
"--yes"
],
"env": {
"STOCKSHARP_UI_CATALOGUE": "your-value",
"STOCKSHARP_UI_ARTIFACTS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"desktop-driver": {
"type": "stdio",
"command": "dnx",
"args": [
"StockSharp.DesktopDriver.Mcp",
"--yes"
],
"env": {
"STOCKSHARP_UI_CATALOGUE": "your-value",
"STOCKSHARP_UI_ARTIFACTS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 StockSharp 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:STOCKSHARP_UI_CATALOGUE, STOCKSHARP_UI_ARTIFACTS
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.0.1)于29天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 .NET。
同一分类中有:Spec Driven Development, Remote Desktop Commander, ProAgentStore
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
MCP-first control plane for ProAgentStore agents and private instances.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Drive desktop applications built on Avalonia, WPF or MAUI from tests, from a command line, or from an AI agent over MCP.
DesktopDriver reads the interface, not the screen. A table answers with its columns and rows, a tree with its items, a workspace with its panels - in words that do not change with a theme, a font or a language. Input goes through the toolkit's own pipeline, and only into a run that cannot reach anything real. Pictures are there for a person to look at; tests check what the controls say.
--ui-automation, it opens a local named-pipe endpoint restricted to the current OS user, and writes where the endpoint is to the file named by --ui-automation-endpoint= .Install the CLI or MCP server with the .NET 10 SDK:
dotnet tool install StockSharp.DesktopDriver.Cli --tool-path tools
dotnet tool install StockSharp.DesktopDriver.Mcp --tool-path tools
The commands are tools/desktop-driver and tools/desktop-driver-mcp. To add automation to an application, reference the bootstrap package for its toolkit. To drive it from code, use the client, runner and testing packages.
For MCP Registry publication and Claude Desktop extensions, see MCP distribution.
| Package | What it is |
|---|---|
| StockSharp.DesktopDriver.Contracts | The protocol: requests, answers, states, addresses |
| StockSharp.DesktopDriver.Runtime | Reading, identity, revisions and waiting, independent of any toolkit |
| StockSharp.DesktopDriver.Host | The endpoint inside the application, and UiAutomationLaunch to read how it was started |
| StockSharp.DesktopDriver.Client | The typed client every runner talks through |
| StockSharp.DesktopDriver.Runner | Starts, finds and reaches applications; the catalogue of what may be started |
| StockSharp.DesktopDriver.Testing | What an MSTest suite needs on top of the runner |
| StockSharp.DesktopDriver.Cli | The command line |
| StockSharp.DesktopDriver.Mcp | The MCP server, see its README |
| StockSharp.DesktopDriver.Avalonia | Avalonia: reading, input and pictures of the standard controls |
| StockSharp.DesktopDriver.Avalonia.ProDataGrid | Avalonia: the DataGrid from ProDataGrid, read as a table |
| StockSharp.DesktopDriver.Avalonia.Dock | Avalonia: a Dock.Avalonia workspace, read as panels and groups |
| StockSharp.DesktopDriver.Avalonia.Headless | Avalonia: input for headless tests |
| StockSharp.DesktopDriver.Bootstrap.Avalonia | Avalonia: one call that makes an application drivable |
| StockSharp.DesktopDriver.Wpf | WPF: reading, input and pictures of the standard controls |
| StockSharp.DesktopDriver.Bootstrap.Wpf | WPF: one call that makes an application drivable |
| StockSharp.DesktopDriver.Maui | MAUI: reading, input and pictures of the standard controls |
| StockSharp.DesktopDriver.Bootstrap.Maui | MAUI on Windows: one call that makes an application drivable |
Avalonia, once the main window exists (the sample does the same with the grid module alone):
public override void OnFrameworkInitializationCompleted()
{ if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop) { desktop.MainWindow = new MainWindow();
if (UiAutomationLaunch.TryRead(desktop.Args) is { } launch) { _automation = AvaloniaAutomationBootstrap.Start( UiAutomationStartup.For("my.app", version, fixtureId: null, hasLiveOutsideWorld: false, isTestProfile: false), launch.EndpointFile, [binder => new DataGridAutomationModule(binder), binder => new DockAutomationModule(binder)]); } }
base.OnFrameworkInitializationCompleted(); }
Dispose the returned runtime when the application exits. WpfAutomationBootstrap and MauiAutomationBootstrap take the same arguments.
The sample applications show startup and shutdown for all three toolkits. The WPF and MAUI Windows samples also have tests that start their executables, connect over the local pipe, read their controls, send input and retrieve screenshots.
UiAutomationStartup.For decides whether input is allowed. An application that talks to nothing outside its own process is always safe to click through. One that connects to something real - a broker, a store, a service - is safe only when it was started on a test profile that replaces it; otherwise the endpoint still reads, but every input is refused.
Many applications ship two builds: an ordinary one with no driver in it, and one made to be driven. The driver is only referenced by the second, so the first has nothing listening by construction.
From a test:
await using var app = await DrivenApplication.StartAsync(executable, extraArguments: null, TimeSpan.FromSeconds(60), cancellationToken);
await using var client = await app.ConnectAsync("my.app", cancellationToken);
var windows = await client.GetSurfacesAsync(cancellationToken);
From a command line, against an application somebody started with --ui-automation:
tools/desktop-driver find --endpoint endpoint.json --kind grid
tools/desktop-driver grid-rows --endpoint endpoint.json --node window:MainWindow/Instruments --limit 5
desktop-driver with no arguments prints every operation.
From an agent: register the MCP server, see DesktopDriver.Mcp.
Its MCP name is StockSharp.DesktopDriver, and its display title is StockSharp DesktopDriver.
dotnet build DesktopDriver.slnx
dotnet test DesktopDriver.Runtime.Tests --filter "FullyQualifiedName~Revision"
The MAUI projects need the MAUI Windows workload. MCP application tests, WPF screenshot tests and DesktopDriver.Windows.Tests need an interactive Windows desktop session. Run the filtered suites with hang and session timeouts using ./.github/scripts/Test.ps1 -Suite Headless or -Suite Desktop after a Release build.
dotnet pack DesktopDriver.slnx -c Release -o artifacts/packages
A product checked out beside this repository can reference the projects themselves:
<ProjectReference Include="..\DesktopDriver.Mcp\DesktopDriver.Bootstrap.Avalonia\DesktopDriver.Bootstrap.Avalonia.csproj" />
A product that builds a second, drivable copy of itself by passing a property on the command line adds GlobalPropertiesToRemove=" " to the reference: the driver has no build of its own for it, and would otherwise be built twice into the same folder.
See LICENSE.