feat(mcp): MCP server in the app and the querya-mcp stdio shim #1135
Copy link
Copy link
Closed
Labels
P2Medium priority / Parity & RefactoringMedium priority / Parity & RefactoringcoreCore library logic and servicesCore library logic and servicesintegrationTheme parser epic label: integrationTheme parser epic label: integration
Description
Activity
- addedintegrationTheme parser epic label: integrationTheme parser epic label: integrationcoreCore library logic and servicesCore library logic and servicesP2Medium priority / Parity & RefactoringMedium priority / Parity & Refactoring
on Oct 8, 2026 Сделано в #1140 (смержен в dev).
Metadata
Metadata
Assignees
Labels
P2Medium priority / Parity & RefactoringMedium priority / Parity & RefactoringcoreCore library logic and servicesCore library logic and servicesintegrationTheme parser epic label: integrationTheme parser epic label: integration
Server (in the app)
dart_mcppackage (0.5.x). If it turns out too immature, a thin own implementation on the JSON-RPC code ofextension_driver_session.list_connections,list_tables,describe_table,sample_rows,run_query,explain_queryon top of McpQueryService. Resourceschema://<connection>.127.0.0.1only, random port. Writes{port, token, pid, version}to<app data>/mcp/endpoint.json, mode 0600; deleted on shutdown (AppShutdown).Shim
bin/querya_mcp.dartendpoint.json, connects, sends the token, then pipes stdin/stdout both ways. No MCP parsing.initializewith an error whose message is "Querya Desktop is not running. Start it and enable the MCP server in Settings." and exits.dart compile exefor linux-x64, macos-arm64/x64, windows-x64 inrelease.yml, next toquerya-ext-tester; shipped inside the app bundles and as release assets.Tests
initialize,tools/list,tools/call run_queryon SQLite.Part of #1133.