Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit 4d80a86

Browse files
docs: fix multiple typos (#215)
* docs: fix typos on server.mdx * docs: fix typos on client.mdx * docs: fix typos on user.mdx * docs: fix typos on updates.mdx * docs: fix typos on mcp-server.mdx
1 parent c035131 commit 4d80a86

File tree

5 files changed

+18
-18
lines changed

5 files changed

+18
-18
lines changed

development/updates.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ description: 'The latest updates and improvements to MCP'
1919
- We are exited to announce the availability of the MCP
2020
[C# SDK](https://github.com/modelcontextprotocol/csharp-sdk/) developed by
2121
[Peder Holdgaard Pedersen](http://github.com/PederHP) and Microsoft. This joins our growing
22-
list of supported languages. The C# SDK is also avaialble as
22+
list of supported languages. The C# SDK is also available as
2323
[NuGet package](https://www.nuget.org/packages/ModelContextProtocol)
2424
- Python SDK 1.5.0 was released with multiple fixes and improvements.
2525
</Update>

quickstart/client.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1088,7 +1088,7 @@ class MCPClient : AutoCloseable {
10881088
}
10891089
```
10901090

1091-
### Server connection managment
1091+
### Server connection management
10921092

10931093
Next, we'll implement the method to connect to an MCP server:
10941094

@@ -1339,7 +1339,7 @@ Example of correct path usage:
13391339
# Relative path
13401340
java -jar build/libs/client.jar ./server/build/libs/server.jar
13411341
1342-
# Absoulute path
1342+
# Absolute path
13431343
java -jar build/libs/client.jar /Users/username/projects/mcp-server/build/libs/server.jar
13441344
13451345
# Windows path (either format works)

quickstart/server.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ For manual MCP Server implementation, refer to the [MCP Server Java SDK document
765765

766766
### Set up your environment
767767

768-
Use the [Spring Initizer](https://start.spring.io/) to bootstrat the project.
768+
Use the [Spring Initializer](https://start.spring.io/) to bootstrap the project.
769769

770770
You will need to add the following dependencies:
771771

@@ -795,7 +795,7 @@ You will need to add the following dependencies:
795795
</Tab>
796796
</Tabs>
797797

798-
Then configure your application by setting the applicaiton properties:
798+
Then configure your application by setting the application properties:
799799

800800
<CodeGroup>
801801

@@ -822,7 +822,7 @@ Now let's dive into building your server.
822822
823823
### Weather Service
824824
825-
Let's implement a [WeatheService.java](https://github.com/spring-projects/spring-ai-examples/blob/main/model-context-protocol/weather/starter-stdio-server/src/main/java/org/springframework/ai/mcp/sample/server/WeatherService.java) that uses a REST client to query the data from the National Weather Service API:
825+
Let's implement a [WeatherService.java](https://github.com/spring-projects/spring-ai-examples/blob/main/model-context-protocol/weather/starter-stdio-server/src/main/java/org/springframework/ai/mcp/sample/server/WeatherService.java) that uses a REST client to query the data from the National Weather Service API:
826826
827827
```java
828828
@Service
@@ -865,12 +865,12 @@ public class WeatherService {
865865
}
866866
```
867867

868-
The `@Service` annotation with auto-register the service in your applicaiton context.
868+
The `@Service` annotation with auto-register the service in your application context.
869869
The Spring AI `@Tool` annotation, making it easy to create and maintain MCP tools.
870870

871871
The auto-configuration will automatically register these tools with the MCP server.
872872

873-
### Create your Boot Applicaiton
873+
### Create your Boot Application
874874

875875
```java
876876
@SpringBootApplication
@@ -887,7 +887,7 @@ public class McpServerApplication {
887887
}
888888
```
889889

890-
Uses the the `MethodToolCallbackProvider` utils to convert the `@Tools` into actionalble callbackes used by the MCP server.
890+
Uses the the `MethodToolCallbackProvider` utils to convert the `@Tools` into actionable callbacks used by the MCP server.
891891

892892
### Running the server
893893

@@ -1011,7 +1011,7 @@ mcpClient.closeGracefully();
10111011

10121012
### Use MCP Client Boot Starter
10131013

1014-
Create a new boot starter applicaiton using the `spring-ai-starter-mcp-client` dependency:
1014+
Create a new boot starter application using the `spring-ai-starter-mcp-client` dependency:
10151015

10161016
```xml
10171017
<dependency>
@@ -1021,13 +1021,13 @@ Create a new boot starter applicaiton using the `spring-ai-starter-mcp-client` d
10211021
```
10221022

10231023
and set the `spring.ai.mcp.client.stdio.servers-configuration` property to point to your `claude_desktop_config.json`.
1024-
You can re-use the existing Anthropic Destop configuration:
1024+
You can re-use the existing Anthropic Desktop configuration:
10251025

10261026
```properties
10271027
spring.ai.mcp.client.stdio.servers-configuration=file:PATH/TO/claude_desktop_config.json
10281028
```
10291029

1030-
When you start your client applicaiton, the auto-configuration will create, automatically MCP clients from the claude_desktop_config.json.
1030+
When you start your client application, the auto-configuration will create, automatically MCP clients from the claude_desktop_config.json.
10311031

10321032
For more information, see the [MCP Client Boot Starters](https://docs.spring.io/spring-ai/reference/api/mcp/mcp-server-boot-client-docs.html) reference documentation.
10331033

quickstart/user.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ This is what it should look like on a Mac:
3434
<img src="/images/quickstart-menu.png" width="400" />
3535
</Frame>
3636

37-
Click on "Developer" in the lefthand bar of the Settings pane, and then click on "Edit Config":
37+
Click on "Developer" in the left-hand bar of the Settings pane, and then click on "Edit Config":
3838
<Frame>
3939
<img src="/images/quickstart-developer.png" />
4040
</Frame>

sdk/java/mcp-server.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The MCP Server is a foundational component in the Model Context Protocol (MCP) a
2323

2424
<Tip>
2525
The [Spring-AI MCP Server](https://docs.spring.io/spring-ai/reference/api/mcp/mcp-server-boot-starter-docs.html) integration extends the MCP Java SDK to
26-
provide auto-configuration for MCP servdr functionality in Spring Boot applications.
26+
provide auto-configuration for MCP server functionality in Spring Boot applications.
2727
</Tip>
2828

2929
The server supports both synchronous and asynchronous APIs, allowing for flexible integration in different application contexts.
@@ -246,7 +246,7 @@ var capabilities = ServerCapabilities.builder()
246246
.resources(false, true) // Resource support with list changes notifications
247247
.tools(true) // Tool support with list changes notifications
248248
.prompts(true) // Prompt support with list changes notifications
249-
.logging() // Enable logging support (enabled by default with loging level INFO)
249+
.logging() // Enable logging support (enabled by default with logging level INFO)
250250
.build();
251251
```
252252

@@ -293,7 +293,7 @@ var schema = """
293293
}
294294
}
295295
""";
296-
var syncToolSpecification = new McpServerFeatures.SyncToolSpecificaiton(
296+
var syncToolSpecification = new McpServerFeatures.SyncToolSpecification(
297297
new Tool("calculator", "Basic calculator", schema),
298298
(exchange, arguments) -> {
299299
// Tool implementation
@@ -323,7 +323,7 @@ var schema = """
323323
}
324324
}
325325
""";
326-
var asyncToolSpecification = new McpServerFeatures.AsyncToolSpecificaiton(
326+
var asyncToolSpecification = new McpServerFeatures.AsyncToolSpecification(
327327
new Tool("calculator", "Basic calculator", schema),
328328
(exchange, arguments) -> {
329329
// Tool implementation
@@ -371,7 +371,7 @@ var asyncResourceSpecification = new McpServerFeatures.asyncResourceSpecificatio
371371
</Tab>
372372
</Tabs>
373373

374-
The resource specification compriese of resource definitions and resource read handler.
374+
The resource specification comprised of resource definitions and resource read handler.
375375
The resource definition including `name`, `description`, and `MIME type`.
376376
The first argument of the function that handles resource read requests is an `McpAsyncServerExchange` upon which the server can
377377
interact with the connected client.

0 commit comments

Comments
 (0)