From c77aca886cf083f41b6a60edf8dd3f3c9c727f1a Mon Sep 17 00:00:00 2001 From: Adriel Velazquez Date: Thu, 9 Oct 2025 11:35:09 -0400 Subject: [PATCH] Correct go run commands to run the logging file Instead of running main.go run all files so that they are included in the build. --- examples/http/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/http/README.md b/examples/http/README.md index 16a4801d..d18c5918 100644 --- a/examples/http/README.md +++ b/examples/http/README.md @@ -13,14 +13,14 @@ The example implements: Start the Server ```bash -go run main.go server +go run . server ``` This starts an MCP server on `http://localhost:8080` (default) that provides a `cityTime` tool. To run a client in another terminal: ```bash -go run main.go client +go run . client ``` The client will: @@ -32,7 +32,7 @@ The client will: At any given time you can pass a custom URL to the program to run it on a custom host/port: ``` -go run main.go -host 0.0.0.0 -port 9000 server +go run . -host 0.0.0.0 -port 9000 server ``` ## Testing with real-world MCP Clients