@@ -315,8 +315,8 @@ MCP HTTPS Server JSON DTO Query V3 JSON
315315 ... query_v3
316316 ... \-\-exec.args
317317 ... {"sql":"show providers;","format":"json"}
318- ... stdout=${CURDIR }${/ } tmp${/ } MCP-HTTPS-query-v2 -json.txt
319- ... stderr=${CURDIR }${/ } tmp${/ } MCP-HTTPS-query-v2 -json-stderr.txt
318+ ... stdout=${CURDIR }${/ } tmp${/ } MCP-HTTPS-query-v3 -json.txt
319+ ... stderr=${CURDIR }${/ } tmp${/ } MCP-HTTPS-query-v3 -json-stderr.txt
320320 Should Be Equal As Integers ${query_json.rc } 0
321321 ${query_obj } = Parse MCP JSON Output ${query_json.stdout }
322322 Should Be Equal ${query_obj["format"] } json
@@ -402,3 +402,44 @@ MCP HTTPS Server JSON DTO Meta Find Relationships
402402 Should Be Equal As Integers ${meta_rels.rc } 0
403403 ${meta_rels_obj } = Parse MCP JSON Output ${meta_rels.stdout }
404404 Dictionary Should Contain Key ${meta_rels_obj } text
405+
406+ MCP HTTPS Server Validate Canonical
407+ Pass Execution If "%{IS_SKIP_MCP_TEST=false } " == "true" Some platforms do not have the MCP client available
408+ # Future proofing: raw text format reserved; may gain structured hints later.
409+ ${ns_query_text } = Run Process
410+ ... ${STACKQL_MCP_CLIENT_EXE }
411+ ... exec
412+ ... \-\-client\-type\=http
413+ ... \-\-url\=https://127.0.0.1:9004
414+ ... \-\-client\-cfg
415+ ... { "apply_tls_globally": true, "insecure_skip_verify": true, "ca_file": "test/server/mtls/credentials/pg_server_cert.pem", "promote_leaf_to_ca": true }
416+ ... \-\-exec.action
417+ ... validate_query_json_v2
418+ ... \-\-exec.args
419+ ... {"sql":"select * from google.storage.buckets where project = 'stackql-demo';"}
420+ ... stdout=${CURDIR }${/ } tmp${/ } MCP-HTTPS-validate-canonical.txt
421+ ... stderr=${CURDIR }${/ } tmp${/ } MCP-HTTPS-validate-canonical-stderr.txt
422+ ${meta_rels_obj } = Parse MCP JSON Output ${meta_rels.stdout }
423+ Dictionary Should Contain Key ${meta_rels_obj } rows
424+ Length Should Be ${meta_rels_obj[rows] } 1
425+
426+ MCP HTTPS Server Query Canonical
427+ Pass Execution If "%{IS_SKIP_MCP_TEST=false } " == "true" Some platforms do not have the MCP client available
428+ # Future proofing: raw text format reserved; may gain structured hints later.
429+ ${ns_query_text } = Run Process
430+ ... ${STACKQL_MCP_CLIENT_EXE }
431+ ... exec
432+ ... \-\-client\-type\=http
433+ ... \-\-url\=https://127.0.0.1:9004
434+ ... \-\-client\-cfg
435+ ... { "apply_tls_globally": true, "insecure_skip_verify": true, "ca_file": "test/server/mtls/credentials/pg_server_cert.pem", "promote_leaf_to_ca": true }
436+ ... \-\-exec.action
437+ ... query_json_v2
438+ ... \-\-exec.args
439+ ... {"sql":"select * from google.storage.buckets where project = 'stackql-demo';"}
440+ ... stdout=${CURDIR }${/ } tmp${/ } MCP-HTTPS-Query-canonical.txt
441+ ... stderr=${CURDIR }${/ } tmp${/ } MCP-HTTPS-Query-canonical-stderr.txt
442+ ${meta_rels_obj } = Parse MCP JSON Output ${meta_rels.stdout }
443+ Dictionary Should Contain Key ${meta_rels_obj } rows
444+ Length Should Be ${meta_rels_obj[rows] } 7
445+
0 commit comments