qsys-mcp 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/dist/server.js +3 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -33,10 +33,10 @@ npx -y qsys-mcp # MCP server on stdio
|
|
|
33
33
|
Or from source:
|
|
34
34
|
|
|
35
35
|
```bash
|
|
36
|
-
git clone https://github.com/reowens/qsys-
|
|
37
|
-
cd qsys-
|
|
38
|
-
npm install
|
|
39
|
-
node dist/index.js
|
|
36
|
+
git clone https://github.com/reowens/qsys-tools.git
|
|
37
|
+
cd qsys-tools
|
|
38
|
+
npm install # builds dist/ via the prepare hooks
|
|
39
|
+
node packages/qsys-mcp/dist/index.js
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
### Connect it to your agent
|
|
@@ -54,7 +54,7 @@ Add it to your MCP client config (Claude Desktop, etc.):
|
|
|
54
54
|
}
|
|
55
55
|
```
|
|
56
56
|
|
|
57
|
-
From a local checkout instead, use `"command": "node"` with `"args": ["/absolute/path/to/qsys-mcp/dist/index.js"]`.
|
|
57
|
+
From a local checkout instead, use `"command": "node"` with `"args": ["/absolute/path/to/qsys-tools/packages/qsys-mcp/dist/index.js"]`.
|
|
58
58
|
|
|
59
59
|
Always call `qsys_connect` first (host `127.0.0.1`, port `1710` for a local emulator) before any other tool.
|
|
60
60
|
|
|
@@ -151,7 +151,7 @@ npm run smoke:keepalive # idle >60s, prove the socket survives QR
|
|
|
151
151
|
|
|
152
152
|
## Changelog
|
|
153
153
|
|
|
154
|
-
See [CHANGELOG.md](CHANGELOG.md) for release notes, or the [GitHub releases](https://github.com/reowens/qsys-
|
|
154
|
+
See [CHANGELOG.md](CHANGELOG.md) for release notes, or the [monorepo GitHub releases](https://github.com/reowens/qsys-tools/releases) page.
|
|
155
155
|
|
|
156
156
|
## License
|
|
157
157
|
|
package/dist/server.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { createRequire } from 'node:module';
|
|
1
2
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
2
3
|
import { z } from 'zod';
|
|
3
4
|
import { QrcClient } from 'qsys-qrc';
|
|
5
|
+
const { version: PKG_VERSION } = createRequire(import.meta.url)('../package.json');
|
|
4
6
|
let client = null;
|
|
5
7
|
let lastEngineStatus = null;
|
|
6
8
|
function ok(data) {
|
|
@@ -51,7 +53,7 @@ function shapeControls(res, opts) {
|
|
|
51
53
|
return { ...res, Controls: ctrls };
|
|
52
54
|
}
|
|
53
55
|
export function buildServer() {
|
|
54
|
-
const server = new McpServer({ name: 'qsys-mcp', version:
|
|
56
|
+
const server = new McpServer({ name: 'qsys-mcp', version: PKG_VERSION });
|
|
55
57
|
server.registerTool('qsys_connect', {
|
|
56
58
|
title: 'Connect to Q-SYS',
|
|
57
59
|
description: 'Connect to a Q-SYS Core or to Q-SYS Designer running in Emulate mode (press F6 in Designer), over the QRC protocol (TCP). For a local emulator use host "127.0.0.1" and port 1710. Must be called before any other tool.',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "qsys-mcp",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Control a Q-SYS audio/video system from an AI agent over QSC's QRC protocol — against a real Core or Q-SYS Designer in Emulate mode. Open-source, cross-platform, zero QSC code.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
],
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@modelcontextprotocol/sdk": "^1.18.0",
|
|
61
|
-
"qsys-qrc": "^0.1.
|
|
61
|
+
"qsys-qrc": "^0.1.1",
|
|
62
62
|
"zod": "^3.23.8"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|