@@ -355,7 +355,7 @@ Copy [.env.example](https://github.com/IBM/mcp-context-forge/blob/main/.env.exam
355355<summary ><strong >🚀 End-to-end demo (register a local MCP server)</strong ></summary >
356356
357357``` bash
358- # 1️⃣ Spin up the sample GO MCP time server using mcpgateway.translate & docker
358+ # 1️⃣ Spin up the sample GO MCP time server using mcpgateway.translate & docker (replace docker with podman if needed)
359359python3 -m mcpgateway.translate \
360360 --stdio " docker run --rm -i ghcr.io/ibm/fast-time-server:latest -transport=stdio" \
361361 --expose-sse \
@@ -389,21 +389,21 @@ curl -s -H "Authorization: Bearer $MCPGATEWAY_BEARER_TOKEN" http://localhost:444
389389# 4️⃣ Create a *virtual server* bundling those tools. Use the ID of tools from the tool catalog (Step #3) and pass them in the associatedTools list.
390390curl -s -X POST -H " Authorization: Bearer $MCPGATEWAY_BEARER_TOKEN " \
391391 -H " Content-Type: application/json" \
392- -d ' {"name":"time_server","description":"Fast time tools","associatedTools ":[<ID_OF_TOOLS>]}' \
392+ -d ' {"server":{" name":"time_server","description":"Fast time tools","associated_tools ":[<ID_OF_TOOLS>]} }' \
393393 http://localhost:4444/servers | jq
394394
395395# Example curl
396396curl -s -X POST -H " Authorization: Bearer $MCPGATEWAY_BEARER_TOKEN "
397397 -H " Content-Type: application/json"
398- -d ' {"name":"time_server","description":"Fast time tools","associatedTools ":["6018ca46d32a4ac6b4c054c13a1726a2"]}' \
398+ -d ' {"server":{" name":"time_server","description":"Fast time tools","associated_tools ":["6018ca46d32a4ac6b4c054c13a1726a2"]} }' \
399399 http://localhost:4444/servers | jq
400400
401401# 5️⃣ List servers (should now include the UUID of the newly created virtual server)
402402curl -s -H " Authorization: Bearer $MCPGATEWAY_BEARER_TOKEN " http://localhost:4444/servers | jq
403403
404- # 6️⃣ Client SSE endpoint. Inspect it interactively with the MCP Inspector CLI (or use any MCP client)
404+ # 6️⃣ Client HTTP endpoint. Inspect it interactively with the MCP Inspector CLI (or use any MCP client)
405405npx -y @modelcontextprotocol/inspector
406- # Transport Type: SSE , URL: http://localhost:4444/servers/UUID_OF_SERVER_1/sse , Header Name: "Authorization", Bearer Token
406+ # Transport Type: Streamable HTTP , URL: http://localhost:4444/servers/UUID_OF_SERVER_1/mcp , Header Name: "Authorization", Bearer Token
407407```
408408
409409</details >
0 commit comments