Skip to content

Commit fb66626

Browse files
guanxucilayaperumalg
authored andcommitted
docs: Fix MCP server properties example
Signed-off-by: guanxu <[email protected]>
1 parent bd1834d commit fb66626

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

spring-ai-docs/src/main/antora/modules/ROOT/pages/api/mcp/mcp-annotations-examples.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,10 @@ spring:
9191
type: SYNC
9292
protocol: SSE # or STDIO, STREAMABLE
9393
capabilities:
94-
tools: true
95-
logging: true
94+
tool: true
95+
resource: true
96+
prompt: true
97+
completion: true
9698
----
9799

98100
=== Document Processing Server
@@ -212,8 +214,6 @@ public class McpClientApplication {
212214
public static void main(String[] args) {
213215
SpringApplication.run(McpClientApplication.class, args);
214216
}
215-
216-
217217
}
218218
219219
@Component

spring-ai-docs/src/main/antora/modules/ROOT/pages/api/mcp/mcp-client-boot-starter-docs.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ If no custom converter bean is provided, the default converter is used automatic
667667
The MCP ToolCallback auto-configuration is enabled by default, but can be disabled with the `spring.ai.mcp.client.toolcallback.enabled=false` property.
668668

669669
When disabled, no `ToolCallbackProvider` bean is created from the available MCP tools.
670-
bsafdsa
670+
671671
== MCP Client Annotations
672672

673673
The MCP Client Boot Starter automatically detects and registers annotated methods for handling various MCP client operations:

0 commit comments

Comments
 (0)