diff --git a/specs.json b/specs.json index f73da6d..b494925 100644 --- a/specs.json +++ b/specs.json @@ -448,7 +448,7 @@ "toolHook": "object|string", "events": "array", "llmOptions": "object", - "mcpServer": "#mcpServer" + "mcpServers": "array" }, "required": [ "vendor", @@ -456,15 +456,6 @@ "llmOptions" ] }, - "mcpServer": { - "properties": { - "url": "string", - "auth": "object" - }, - "required": [ - "url" - ] - }, "message": { "properties": { "id": "string", diff --git a/test/jambonz-verb-test.js b/test/jambonz-verb-test.js index 14bacf2..b838f48 100644 --- a/test/jambonz-verb-test.js +++ b/test/jambonz-verb-test.js @@ -533,13 +533,15 @@ test("validate correct verbs", async (t) => { "llmOptions": { "firstSpeaker": 'FIRST_SPEAKER_AGENT', }, - "mcpServer": { - "url": 'https://mcp.example.com', - "auth": { - "username": 'username', - "password": 'password' + "mcpServers": [ + { + "url": 'https://mcp.example.com', + "auth": { + "username": 'username', + "password": 'password' + } } - } + ] } ]; try {