这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions examples/http/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down