Skip to content

Commit 2ddfda0

Browse files
authored
🌐 Update translations via Co-op Translator
1 parent 250e5d6 commit 2ddfda0

File tree

50 files changed

+5563
-4741
lines changed
  • translations
    • ar/03-GettingStarted/01-first-server
    • bg/03-GettingStarted/01-first-server
    • bn/03-GettingStarted/01-first-server
    • br/03-GettingStarted/01-first-server
    • cs/03-GettingStarted/01-first-server
    • da/03-GettingStarted/01-first-server
    • de/03-GettingStarted/01-first-server
    • el/03-GettingStarted/01-first-server
    • en/03-GettingStarted/01-first-server
    • es/03-GettingStarted/01-first-server
    • et/03-GettingStarted/01-first-server
    • fa/03-GettingStarted/01-first-server
    • fi/03-GettingStarted/01-first-server
    • fr/03-GettingStarted/01-first-server
    • he/03-GettingStarted/01-first-server
    • hi/03-GettingStarted/01-first-server
    • hk/03-GettingStarted/01-first-server
    • hr/03-GettingStarted/01-first-server
    • hu/03-GettingStarted/01-first-server
    • id/03-GettingStarted/01-first-server
    • it/03-GettingStarted/01-first-server
    • ja/03-GettingStarted/01-first-server
    • ko/03-GettingStarted/01-first-server
    • lt/03-GettingStarted/01-first-server
    • mo/03-GettingStarted/01-first-server
    • mr/03-GettingStarted/01-first-server
    • ms/03-GettingStarted/01-first-server
    • my/03-GettingStarted/01-first-server
    • ne/03-GettingStarted/01-first-server
    • nl/03-GettingStarted/01-first-server
    • no/03-GettingStarted/01-first-server
    • pa/03-GettingStarted/01-first-server
    • pl/03-GettingStarted/01-first-server
    • pt/03-GettingStarted/01-first-server
    • ro/03-GettingStarted/01-first-server
    • ru/03-GettingStarted/01-first-server
    • sk/03-GettingStarted/01-first-server
    • sl/03-GettingStarted/01-first-server
    • sr/03-GettingStarted/01-first-server
    • sv/03-GettingStarted/01-first-server
    • sw/03-GettingStarted/01-first-server
    • ta/03-GettingStarted/01-first-server
    • th/03-GettingStarted/01-first-server
    • tl/03-GettingStarted/01-first-server
    • tr/03-GettingStarted/01-first-server
    • tw/03-GettingStarted/01-first-server
    • uk/03-GettingStarted/01-first-server
    • ur/03-GettingStarted/01-first-server
    • vi/03-GettingStarted/01-first-server
    • zh/03-GettingStarted/01-first-server

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+5563
-4741
lines changed

translations/ar/03-GettingStarted/01-first-server/README.md

Lines changed: 94 additions & 91 deletions
Large diffs are not rendered by default.

translations/bg/03-GettingStarted/01-first-server/README.md

Lines changed: 99 additions & 72 deletions
Large diffs are not rendered by default.

translations/bn/03-GettingStarted/01-first-server/README.md

Lines changed: 117 additions & 101 deletions
Large diffs are not rendered by default.

translations/br/03-GettingStarted/01-first-server/README.md

Lines changed: 78 additions & 75 deletions
Large diffs are not rendered by default.

translations/cs/03-GettingStarted/01-first-server/README.md

Lines changed: 86 additions & 83 deletions
Large diffs are not rendered by default.

translations/da/03-GettingStarted/01-first-server/README.md

Lines changed: 86 additions & 81 deletions
Large diffs are not rendered by default.

translations/de/03-GettingStarted/01-first-server/README.md

Lines changed: 69 additions & 65 deletions
Large diffs are not rendered by default.

translations/el/03-GettingStarted/01-first-server/README.md

Lines changed: 105 additions & 308 deletions
Large diffs are not rendered by default.

translations/en/03-GettingStarted/01-first-server/README.md

Lines changed: 52 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<!--
22
CO_OP_TRANSLATOR_METADATA:
33
{
4-
"original_hash": "ec11ee93f31fdadd94facd3e3d22f9e6",
5-
"translation_date": "2025-09-09T21:17:22+00:00",
4+
"original_hash": "726b74589522653d930c7395c9e1fab8",
5+
"translation_date": "2025-10-20T16:50:36+00:00",
66
"source_file": "03-GettingStarted/01-first-server/README.md",
77
"language_code": "en"
88
}
@@ -11,13 +11,13 @@ CO_OP_TRANSLATOR_METADATA:
1111

1212
Welcome to your first steps with the Model Context Protocol (MCP)! Whether you're new to MCP or looking to deepen your understanding, this guide will walk you through the essential setup and development process. You'll discover how MCP enables seamless integration between AI models and applications, and learn how to quickly get your environment ready for building and testing MCP-powered solutions.
1313

14-
> TLDR; If you build AI apps, you know that you can add tools and other resources to your LLM (large language model) to make the LLM more knowledgeable. However, if you place those tools and resources on a server, the app and the server capabilities can be used by any client with or without an LLM.
14+
> TLDR; If you build AI apps, you know that you can add tools and other resources to your LLM (large language model), to make the LLM more knowledgeable. However, if you place those tools and resources on a server, the app and the server capabilities can be used by any client with/without an LLM.
1515
1616
## Overview
1717

1818
This lesson provides practical guidance on setting up MCP environments and building your first MCP applications. You'll learn how to set up the necessary tools and frameworks, build basic MCP servers, create host applications, and test your implementations.
1919

20-
The Model Context Protocol (MCP) is an open protocol that standardizes how applications provide context to LLMs. Think of MCP like a USB-C port for AI applicationsit provides a standardized way to connect AI models to different data sources and tools.
20+
The Model Context Protocol (MCP) is an open protocol that standardizes how applications provide context to LLMs. Think of MCP like a USB-C port for AI applications - it provides a standardized way to connect AI models to different data sources and tools.
2121

2222
## Learning Objectives
2323

@@ -136,8 +136,8 @@ Before you begin testing your MCP server, it's important to understand the avail
136136

137137
MCP provides tools to help you test and debug your servers:
138138

139-
- **Inspector tool**: This graphical interface allows you to connect to your server and test your tools, prompts, and resources.
140-
- **curl**: You can also connect to your server using a command-line tool like curl or other clients that can create and run HTTP commands.
139+
- **Inspector tool**, this graphical interface allows you to connect to your server and test your tools, prompts, and resources.
140+
- **curl**, you can also connect to your server using a command line tool like curl or other clients that can create and run HTTP commands.
141141

142142
### Using MCP Inspector
143143

@@ -184,25 +184,25 @@ npm run start
184184
# Server running at http://localhost:3000
185185
```
186186

187-
## Building Your First MCP Server
187+
## Building your first MCP Server
188188

189-
We've covered [Core concepts](/01-CoreConcepts/README.md) in a previous lesson; now it's time to put that knowledge to work.
189+
We've covered [Core concepts](/01-CoreConcepts/README.md) in a previous lesson, now it's time to put that knowledge to work.
190190

191-
### What a Server Can Do
191+
### What a server can do
192192

193193
Before we start writing code, let's just remind ourselves what a server can do:
194194

195-
An MCP server can, for example:
195+
An MCP server can for example:
196196

197197
- Access local files and databases
198198
- Connect to remote APIs
199199
- Perform computations
200200
- Integrate with other tools and services
201201
- Provide a user interface for interaction
202202

203-
Great, now that we know what we can do with it, let's start coding.
203+
Great, now that we know what we can do for it, let's start coding.
204204

205-
## Exercise: Creating a Server
205+
## Exercise: Creating a server
206206

207207
To create a server, you need to follow these steps:
208208

@@ -211,7 +211,7 @@ To create a server, you need to follow these steps:
211211
- Write the server code.
212212
- Test the server.
213213

214-
### -1- Create Project
214+
### -1- Create project
215215

216216
#### TypeScript
217217

@@ -372,7 +372,7 @@ cd calculator-server
372372
cargo init
373373
```
374374

375-
### -2- Add Dependencies
375+
### -2- Add dependencies
376376

377377
Now that you have your project created, let's add dependencies next:
378378

@@ -411,7 +411,7 @@ cargo add serde
411411
cargo add tokio --features rt-multi-thread
412412
```
413413

414-
### -3- Create Project Files
414+
### -3- Create project files
415415

416416
#### TypeScript
417417

@@ -424,8 +424,8 @@ Open the *package.json* file and replace the content with the following to ensur
424424
"main": "index.js",
425425
"type": "module",
426426
"scripts": {
427-
"start": "tsc && node ./build/index.js",
428-
"build": "tsc && node ./build/index.js"
427+
"build": "tsc",
428+
"start": "npm run build && node ./build/index.js",
429429
},
430430
"keywords": [],
431431
"author": "",
@@ -494,7 +494,7 @@ For Java Spring Boot projects, the project structure is created automatically.
494494

495495
For Rust, a *src/main.rs* file is created by default when you run `cargo init`. Open the file and delete the default code.
496496

497-
### -4- Create Server Code
497+
### -4- Create server code
498498

499499
#### TypeScript
500500

@@ -512,7 +512,7 @@ const server = new McpServer({
512512
});
513513
```
514514

515-
Now you have a server, but it doesn't do much. Let's fix that.
515+
Now you have a server, but it doesn't do much, let' fix that.
516516

517517
#### Python
518518

@@ -829,6 +829,8 @@ Calculator MCP Server v1.0
829829
Spring Boot MCP Application
830830
```
831831

832+
</details>
833+
832834
#### Rust
833835

834836
Add the following code to the top of the *src/main.rs* file. This imports the necessary libraries and modules for your MCP server.
@@ -900,7 +902,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
900902

901903
The server is now set up to provide basic information about itself. Next, we will add a tool to perform addition.
902904

903-
### -5- Adding a Tool and a Resource
905+
### -5- Adding a tool and a resource
904906

905907
Add a tool and a resource by adding the following code:
906908

@@ -927,7 +929,7 @@ server.resource(
927929
);
928930
```
929931

930-
Your tool takes parameters `a` and `b` and runs a function that produces a response in the form:
932+
Your tool takes parameters `a` and `b` and runs a function that produces a response on the form:
931933

932934
```typescript
933935
{
@@ -965,7 +967,7 @@ def get_greeting(name: str) -> str:
965967

966968
In the preceding code we've:
967969

968-
- Defined a tool `add` that takes parameters `a` and `b`, both integers.
970+
- Defined a tool `add` that takes parameters `a` and `p`, both integers.
969971
- Created a resource called `greeting` that takes parameter `name`.
970972

971973
#### .NET
@@ -999,7 +1001,7 @@ async fn add(
9991001
}
10001002
```
10011003

1002-
### -6- Final Code
1004+
### -6- Final code
10031005

10041006
Let's add the last code we need so the server can start:
10051007

@@ -1201,7 +1203,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
12011203
}
12021204
```
12031205

1204-
### -7- Test the Server
1206+
### -7- Test the server
12051207

12061208
Start the server with the following command:
12071209

@@ -1244,35 +1246,35 @@ cargo fmt
12441246
cargo run
12451247
```
12461248

1247-
### -8- Run Using the Inspector
1249+
### -8- Run using the inspector
12481250

12491251
The inspector is a great tool that can start up your server and lets you interact with it so you can test that it works. Let's start it up:
12501252

12511253
> [!NOTE]
1252-
> It might look different in the "command" field as it contains the command for running a server with your specific runtime.
1254+
> it might look different in the "command" field as it contains the command for running a server with your specific runtime/
12531255
12541256
#### TypeScript
12551257

12561258
```sh
12571259
npx @modelcontextprotocol/inspector node build/index.js
12581260
```
12591261

1260-
Or add it to your *package.json* like so: `"inspector": "npx @modelcontextprotocol/inspector node build/index.js"` and then run `npm run inspector`.
1262+
or add it to your *package.json* like so: `"inspector": "npx @modelcontextprotocol/inspector node build/index.js"` and then run `npm run inspector`
12611263

12621264
Python wraps a Node.js tool called inspector. It's possible to call said tool like so:
12631265

12641266
```sh
12651267
mcp dev server.py
12661268
```
12671269

1268-
However, it doesn't implement all the methods available on the tool, so you're recommended to run the Node.js tool directly like below:
1270+
However, it doesn't implement all the methods available on the tool so you're recommended to run the Node.js tool directly like below:
12691271

12701272
```sh
12711273
npx @modelcontextprotocol/inspector mcp run server.py
12721274
```
12731275

12741276
If you're using a tool or IDE that allows you to configure commands and arguments for running scripts,
1275-
make sure to set `python` in the `Command` field and `server.py` as `Arguments`. This ensures the script runs correctly.
1277+
Make sure to set `python` in the `Command` field and `server.py` as `Arguments`. This ensures the script runs correctly.
12761278

12771279
#### .NET
12781280

@@ -1285,52 +1287,54 @@ npx @modelcontextprotocol/inspector dotnet run
12851287

12861288
#### Java
12871289

1288-
Ensure your calculator server is running. Then run the inspector:
1290+
Ensure your calculator server is running.
1291+
Then run the inspector:
12891292

12901293
```cmd
12911294
npx @modelcontextprotocol/inspector
12921295
```
12931296

12941297
In the inspector web interface:
12951298

1296-
1. Select "SSE" as the transport type.
1297-
2. Set the URL to: `http://localhost:8080/sse`.
1299+
1. Select "SSE" as the transport type.
1300+
2. Set the URL to: `http://localhost:8080/sse`.
12981301
3. Click "Connect".
1302+
12991303
![Connect](../../../../translated_images/tool.163d33e3ee307e209ef146d8f85060d2f7e83e9f59b3b1699a77204ae0454ad2.en.png)
13001304

1301-
**You are now connected to the server**
1302-
**The Java server testing section is now complete**
1305+
**You're now connected to the server.**
1306+
**The Java server testing section is completed now.**
13031307

1304-
The next section focuses on interacting with the server.
1308+
The next section is about interacting with the server.
13051309

13061310
You should see the following user interface:
13071311

13081312
![Connect](../../../../translated_images/connect.141db0b2bd05f096fb1dd91273771fd8b2469d6507656c3b0c9df4b3c5473929.en.png)
13091313

1310-
1. Connect to the server by clicking the Connect button.
1311-
Once connected to the server, you should see the following:
1314+
1. Connect to the server by selecting the Connect button.
1315+
Once you connect to the server, you should now see the following:
13121316

13131317
![Connected](../../../../translated_images/connected.73d1e042c24075d386cacdd4ee7cd748c16364c277d814e646ff2f7b5eefde85.en.png)
13141318

1315-
2. Select "Tools" and then "listTools." You should see "Add" appear. Select "Add" and provide the parameter values.
1319+
2. Select "Tools" and "listTools". You should see "Add" show up. Select "Add" and fill in the parameter values.
13161320

1317-
You should see the following response, which is the result of the "add" tool:
1321+
You should see the following response, i.e., a result from the "add" tool:
13181322

13191323
![Result of running add](../../../../translated_images/ran-tool.a5a6ee878c1369ec1e379b81053395252a441799dbf23416c36ddf288faf8249.en.png)
13201324

13211325
Congratulations, you've successfully created and run your first server!
13221326

13231327
#### Rust
13241328

1325-
To run the Rust server using the MCP Inspector CLI, use the following command:
1329+
To run the Rust server with the MCP Inspector CLI, use the following command:
13261330

13271331
```sh
13281332
npx @modelcontextprotocol/inspector cargo run --cli --method tools/call --tool-name add --tool-arg a=1 b=2
13291333
```
13301334

13311335
### Official SDKs
13321336

1333-
MCP offers official SDKs for various programming languages:
1337+
MCP provides official SDKs for multiple languages:
13341338

13351339
- [C# SDK](https://github.com/modelcontextprotocol/csharp-sdk) - Maintained in collaboration with Microsoft
13361340
- [Java SDK](https://github.com/modelcontextprotocol/java-sdk) - Maintained in collaboration with Spring AI
@@ -1342,9 +1346,9 @@ MCP offers official SDKs for various programming languages:
13421346

13431347
## Key Takeaways
13441348

1345-
- Setting up an MCP development environment is simple with language-specific SDKs.
1346-
- Building MCP servers involves creating and registering tools with well-defined schemas.
1347-
- Testing and debugging are crucial for reliable MCP implementations.
1349+
- Setting up an MCP development environment is straightforward with language-specific SDKs.
1350+
- Building MCP servers involves creating and registering tools with clear schemas.
1351+
- Testing and debugging are essential for reliable MCP implementations.
13481352

13491353
## Samples
13501354

@@ -1357,12 +1361,12 @@ MCP offers official SDKs for various programming languages:
13571361

13581362
## Assignment
13591363

1360-
Create a basic MCP server with a tool of your choice:
1364+
Create a simple MCP server with a tool of your choice:
13611365

13621366
1. Implement the tool in your preferred language (.NET, Java, Python, TypeScript, or Rust).
13631367
2. Define input parameters and return values.
1364-
3. Use the inspector tool to verify the server's functionality.
1365-
4. Test the implementation with different inputs.
1368+
3. Run the inspector tool to ensure the server works as intended.
1369+
4. Test the implementation with various inputs.
13661370

13671371
## Solution
13681372

@@ -1376,7 +1380,7 @@ Create a basic MCP server with a tool of your choice:
13761380

13771381
## What's next
13781382

1379-
Next: [Getting Started with MCP Clients](../02-client/README.md)
1383+
Next: [Getting Started with MCP Clients](../02-client/README.md)
13801384

13811385
---
13821386

0 commit comments

Comments
 (0)