Skip to content

Commit d293c59

Browse files
committed
doc: Simplify urls in README
1 parent ee063e4 commit d293c59

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ The McpToolboxClient is your entry point. It is thread-safe and designed to be i
120120
import com.google.cloud.mcp.McpToolboxClient;
121121
122122
McpToolboxClient client = McpToolboxClient.builder()
123-
.baseUrl("[https://my-toolbox-service.a.run.app/mcp](https://my-toolbox-service.a.run.app/mcp)")
123+
.baseUrl("https://my-toolbox-service.a.run.app/mcp")
124124
// .apiKey("...") // Optional: Overrides automatic Google Auth
125125
.build();
126126
```
@@ -188,7 +188,7 @@ public class App {
188188
public static void main(String[] args) {
189189
// 1. Create the Client
190190
McpToolboxClient client = McpToolboxClient.builder()
191-
.baseUrl("[https://my-toolbox-service.a.run.app/mcp](https://my-toolbox-service.a.run.app/mcp)")
191+
.baseUrl("https://my-toolbox-service.a.run.app/mcp")
192192
.build();
193193

194194
// 2. Invoke a Tool
@@ -347,7 +347,7 @@ public class AuthExample {
347347
348348
// 2. Initialize the client
349349
McpToolboxClient client = McpToolboxClient.builder()
350-
.baseUrl("[http://127.0.0.1:5000/mcp](http://127.0.0.1:5000/mcp)")
350+
.baseUrl("http://127.0.0.1:5000/mcp")
351351
.build();
352352
353353
// 3. Load tool, attach auth, and execute

0 commit comments

Comments
 (0)