Skip to content

Commit f0a7ec4

Browse files
committed
README: fix typos
Signed-off-by: Daniel Garnier-Moiroux <[email protected]>
1 parent 24d9009 commit f0a7ec4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ bearer token:
127127
@Service
128128
public class MyToolsService {
129129

130-
// Note: you can also use Spring Security's @Tool
130+
// Note: you can also use Spring AI's @Tool
131131
@McpTool(name = "greeter", description = "A tool that greets a user, by name")
132132
@PreAuthorize("isAuthenticated()")
133133
public String greet(@ToolParam(description = "The name of the user") String name, ToolContext toolContext) {
@@ -271,7 +271,7 @@ That data is passed through
271271
`McpTransportContext` ([MCP docs](https://modelcontextprotocol.io/sdk/java/mcp-client#adding-context-information)).
272272
To make that information available, you also need to add an `AuthenticationMcpTransportContextProvider` to your MCP Sync
273273
Client.
274-
Tying it all together:
274+
Tying it all together, taking `OAuth2AuthorizationCodeSyncHttpRequestCustomizer` as an example:
275275

276276
```java
277277

0 commit comments

Comments
 (0)