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.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม 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": "ใส่ค่าของคุณ",
"STOCKSHARP_UI_ARTIFACTS": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add desktop-driver --env STOCKSHARP_UI_CATALOGUE='ใส่ค่าของคุณ' --env STOCKSHARP_UI_ARTIFACTS='ใส่ค่าของคุณ' -- 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": "ใส่ค่าของคุณ",
"STOCKSHARP_UI_ARTIFACTS": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"desktop-driver": {
"type": "stdio",
"command": "dnx",
"args": [
"StockSharp.DesktopDriver.Mcp",
"--yes"
],
"env": {
"STOCKSHARP_UI_CATALOGUE": "ใส่ค่าของคุณ",
"STOCKSHARP_UI_ARTIFACTS": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub StockSharp ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: STOCKSHARP_UI_CATALOGUE, STOCKSHARP_UI_ARTIFACTS
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.0.1) เข้า registry 28 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี .NET ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, SuperCollider
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
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.
Make sound with SuperCollider: synths, drums, chords, melodies and soundscapes over OSC.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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.