File tree Expand file tree Collapse file tree 2 files changed +42
-2
lines changed
Expand file tree Collapse file tree 2 files changed +42
-2
lines changed Original file line number Diff line number Diff line change 188188 ],
189189 "default" : " show providers;"
190190 },
191+ {
192+ "type" : " pickString" ,
193+ "id" : " mcpSrvCfgStr" ,
194+ "description" : " MCP Server Configuration" ,
195+ "options" : [
196+ " {\" server\" : {\" transport\" : \" http\" , \" address\" : \" 127.0.0.1:9992\" } }"
197+ ],
198+ "default" : " {\" server\" : {\" transport\" : \" http\" , \" address\" : \" 127.0.0.1:9992\" } }"
199+ },
191200 {
192201 "type" : " pickString" ,
193202 "id" : " registryString" ,
385394 "type" : " pickString" ,
386395 "id" : " mcpServerType" ,
387396 "description" : " MCP server type" ,
388- "default" : " stdio " ,
397+ "default" : " http " ,
389398 "options" : [
390399 " http" ,
391400 " stdio"
464473 "program" : " ${workspaceFolder}/stackql" ,
465474 "args" : [
466475 " mcp" ,
476+ " --mcp.server.type=${input:mcpServerType}" ,
477+ " --mcp.config=${input:mcpSrvCfgStr}" ,
467478 " --pgsrv.port=6555" ,
468479 " --tls.allowInsecure" ,
469480 " --auth=${input:authString}" ,
475486 " --dbInternal=${input:dbInternalString}" ,
476487 " --export.alias=${input:exportAliasString}" ,
477488 " --pgsrv.debug.enable=${input:serverDebugPublish}" ,
478- " --mcp.server.type=${input:mcpServerType}" ,
479489 ],
480490 },
481491 {
Original file line number Diff line number Diff line change 1+
2+ ## Running the MCP server
3+
4+
5+ ``` bash
6+
7+
8+
9+
10+ ```
11+
12+
13+ ## Using the MCP Client
14+
15+ This is very much a development tool, not currently recommended for production.
16+
17+ Build:
18+
19+ ``` bash
20+ python cicd/python/build.py --build-mcp-client
21+ ```
22+
23+ Then, assuming you have a ` stackql ` MCP server serving streamable HTTP on port ` 9992 ` :
24+
25+
26+ ``` bash
27+
28+ ./build/stackql_mcp_client exec --client-type=http --url=http://127.0.0.1:9992 --exec.action list_services --exec.args ' {"provider": "google"}'
29+
30+ ```
You can’t perform that action at this time.
0 commit comments