Skip to content

Commit e312ab5

Browse files
committed
README updates.
1 parent d5c9351 commit e312ab5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

examples/http/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ This example demonstrates how to use the Model Context Protocol (MCP) over HTTP
55
## Overview
66

77
The example implements:
8-
- A server that provides a `get_time` tool
9-
- A client that connects to the server, lists available tools, and calls the `get_time` tool
8+
- A server that provides a `cityTime` tool
9+
- A client that connects to the server, lists available tools, and calls the `cityTime` tool
1010

1111
## Running the Example
1212

@@ -20,7 +20,7 @@ Server and client support passing custom -port and -host.
2020
go run main.go -server
2121
```
2222

23-
This starts an MCP server on `localhost:8080` (default) that provides a `get_time` tool.
23+
This starts an MCP server on `localhost:8080` (default) that provides a `cityTime` tool.
2424

2525
### Run the Client
2626

@@ -33,7 +33,7 @@ go run main.go -client
3333
The client will:
3434
1. Connect to the server
3535
2. List available tools
36-
3. Call the `get_time` tool for NYC, San Francisco, and Boston
36+
3. Call the `cityTime` tool for NYC, San Francisco, and Boston
3737
4. Display the results
3838

3939

@@ -44,15 +44,15 @@ localhost:8080, you can try to add it to a popular MCP client:
4444

4545
claude mcp add -t http timezone http://localhost:8080
4646

47-
Once added, Claude Code will be able to discover and use the `get_time` tool provided by this server.
47+
Once added, Claude Code will be able to discover and use the `cityTime` tool provided by this server.
4848

4949
In Claude Code:
5050

5151
> what's the timezone
5252

5353
⏺ I'll get the current time in a major US city for you.
5454

55-
⏺ timezone - get_time (MCP)(city: "nyc")
55+
⏺ timezone - cityTime (MCP)(city: "nyc")
5656
⎿ The current time in New York City is 7:30:16 PM EDT on Wedn
5757
esday, July 23, 2025
5858

0 commit comments

Comments
 (0)