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

Commit e8ef0b3

Browse files
committed
Update cursor documentation with user registration examples and mock service notes; add cursor use case image.
1 parent c484f72 commit e8ef0b3

File tree

9 files changed

+115
-53
lines changed
  • docs/client-usage
  • i18n
    • de/docusaurus-plugin-content-docs/current/client-usage
    • en/docusaurus-plugin-content-docs/current/client-usage
    • es/docusaurus-plugin-content-docs/current/client-usage
    • fr/docusaurus-plugin-content-docs/current/client-usage
    • hi/docusaurus-plugin-content-docs/current/client-usage
    • ja/docusaurus-plugin-content-docs/current/client-usage
    • ko/docusaurus-plugin-content-docs/current/client-usage
  • static/img

9 files changed

+115
-53
lines changed

docs/client-usage/cursor.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,15 @@ touch .cursor/mcp.json
3232
最后就可以在 Chat 窗口里试一下,比如让它帮你注册一个用户,然后再查询这个用户的信息,跑通就 OK 了。
3333

3434
比如你可以输入:
35+
```
36+
帮我注册一个用户 Leo [email protected]
37+
```
38+
3539
```
3640
帮我查询一下用户[email protected],如果没查到帮我注册一下,用户名是Leo
3741
```
3842

43+
> **通过实际测试发现,这个mock服务因为涉及名字邮箱,可能在某些情况下引发模型错误导致无法调用,可忽略这种情况,配置实际的API使用即可**
44+
45+
![cursor usecase](/img/cursor.usecase.png)
46+
Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# Einfache Anleitung zur MCP-Konfiguration in Cursor
22

3-
> **Für ein detaillierteres Cursor MCP-Konfigurationstutorial lesen Sie bitte die offizielle Dokumentation:**
3+
> **Für ein detaillierteres Tutorial zur MCP-Konfiguration in Cursor, lesen Sie bitte die offizielle Dokumentation:**
44
> https://docs.cursor.com/context/model-context-protocol
55
6-
Hier zeige ich Ihnen eine grundlegende Konfigurationsmethode. Stellen Sie zunächst sicher, dass Sie die erforderlichen Verzeichnisse und Dateien erstellt haben:
6+
Hier zeige ich Ihnen eine grundlegende Konfigurationsmethode. Stellen Sie sicher, dass Sie die erforderlichen Verzeichnisse und Dateien erstellt haben:
77

88
```bash
99
mkdir -p .cursor
1010
touch .cursor/mcp.json
1111
```
1212

13-
Konfigurieren Sie dann den MCP-Server. Hier verwenden wir unseren eigenen Mock-Benutzerdienst zum Testen:
13+
Konfigurieren Sie dann den MCP-Server. Hier verwenden wir unseren Mock-Benutzerdienst für Tests:
1414

1515
![.cursor/mcp.json](/img/cursor.mcp.json.png)
1616

@@ -24,13 +24,19 @@ Konfigurieren Sie dann den MCP-Server. Hier verwenden wir unseren eigenen Mock-B
2424
}
2525
```
2626

27-
Öffnen Sie als Nächstes die Cursor-Einstellungen und aktivieren Sie diesen MCP-Server im Abschnitt **MCP**. Nach der Aktivierung sehen Sie ihn als kleinen grünen Punkt, und es werden auch die verfügbaren Tools aufgelistet.
27+
Öffnen Sie als Nächstes die Cursor-Einstellungen und aktivieren Sie diesen MCP-Server im Abschnitt **MCP**. Nach der Aktivierung wird er zu einem kleinen grünen Punkt und zeigt auch die verfügbaren Tools an.
2828

2929
![.cursor/mcp.json](/img/cursor.mcp.servers.png)
3030

31-
Schließlich können Sie es im Chat-Fenster ausprobieren, zum Beispiel indem Sie es bitten, einen Benutzer zu registrieren und dann die Informationen dieses Benutzers abzufragen. Wenn es funktioniert, sind Sie fertig!
31+
Schließlich können Sie es im Chat-Fenster ausprobieren. Bitten Sie es zum Beispiel, Ihnen bei der Registrierung eines Benutzers zu helfen und dann die Informationen dieses Benutzers abzufragen. Wenn es funktioniert, sind Sie fertig.
3232

33-
Sie können zum Beispiel Folgendes eingeben:
33+
Sie können Folgendes eingeben:
3434
```
35-
Helfen Sie mir, den Benutzer [email protected] abzufragen, und wenn er nicht gefunden wird, registrieren Sie einen mit dem Benutzernamen Leo
36-
```
35+
Helfen Sie mir, einen Benutzer Leo [email protected] zu registrieren
36+
```
37+
38+
Bitte suchen Sie nach dem Benutzer [email protected], wenn nicht gefunden, registrieren Sie einen mit dem Benutzernamen Leo
39+
40+
> **Durch praktische Tests haben wir festgestellt, dass dieser Mock-Dienst in einigen Fällen aufgrund der Verarbeitung von Namen und E-Mails Modellfehler verursachen kann, die ignoriert werden können. Sie können stattdessen Ihre tatsächliche API verwenden.**
41+
42+
![cursor usecase](/img/cursor.usecase.png)

i18n/en/docusaurus-plugin-content-docs/current/client-usage/cursor.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
> **For more detailed Cursor MCP configuration tutorial, please refer to the official documentation:**
44
> https://docs.cursor.com/context/model-context-protocol
55
6-
Here I'll show you a basic configuration method. First, make sure you've created the necessary directories and files:
6+
Here I'll show you a basic configuration method. Make sure you've created the necessary directories and files:
77

88
```bash
99
mkdir -p .cursor
1010
touch .cursor/mcp.json
1111
```
1212

13-
Then configure the MCP Server. Here we'll use our own mock user service for testing:
13+
Then configure the MCP Server. Here we'll use our mock user service for testing:
1414

1515
![.cursor/mcp.json](/img/cursor.mcp.json.png)
1616

@@ -24,13 +24,21 @@ Then configure the MCP Server. Here we'll use our own mock user service for test
2424
}
2525
```
2626

27-
Next, open Cursor settings and enable this MCP Server in the **MCP** section. Once enabled, you'll see it turn into a small green dot, and it will also list the available Tools.
27+
Next, open Cursor settings and enable this MCP Server in the **MCP** section. After enabling, you'll see it turn into a small green dot, and it will also list the available Tools.
2828

2929
![.cursor/mcp.json](/img/cursor.mcp.servers.png)
3030

31-
Finally, you can try it in the Chat window, for example, by asking it to help you register a user and then query that user's information. If it works, you're all set!
31+
Finally, you can try it in the Chat window. For example, ask it to help you register a user and then query that user's information. If it works, you're all set.
3232

33-
For example, you can type:
33+
You can try typing:
3434
```
35-
Help me query the user [email protected], if not found, please register one with username Leo
35+
Help me register a user Leo [email protected]
3636
```
37+
38+
```
39+
Help me query the user [email protected], if not found please register one with username Leo
40+
```
41+
42+
> **Through actual testing, we found that this mock service may cause model errors in some cases due to name and email handling, which can be ignored. You can use your actual API instead.**
43+
44+
![cursor usecase](/img/cursor.usecase.png)

i18n/es/docusaurus-plugin-content-docs/current/client-usage/cursor.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
> **Para un tutorial más detallado sobre la configuración de MCP en Cursor, consulte la documentación oficial:**
44
> https://docs.cursor.com/context/model-context-protocol
55
6-
Aquí te mostraré un método básico de configuración. Primero, asegúrate de haber creado los directorios y archivos necesarios:
6+
Aquí te mostraré un método básico de configuración. Asegúrate de haber creado los directorios y archivos necesarios:
77

88
```bash
99
mkdir -p .cursor
1010
touch .cursor/mcp.json
1111
```
1212

13-
Luego configura el Servidor MCP. Aquí usaremos nuestro propio servicio de usuario simulado para pruebas:
13+
Luego, configura el Servidor MCP. Aquí usaremos nuestro servicio de usuario simulado para pruebas:
1414

1515
![.cursor/mcp.json](/img/cursor.mcp.json.png)
1616

@@ -24,13 +24,21 @@ Luego configura el Servidor MCP. Aquí usaremos nuestro propio servicio de usuar
2424
}
2525
```
2626

27-
A continuación, abre la configuración de Cursor y habilita este Servidor MCP en la sección **MCP**. Una vez habilitado, verás que se convierte en un pequeño punto verde y también listará las Herramientas disponibles.
27+
A continuación, abre la configuración de Cursor y habilita este Servidor MCP en la sección **MCP**. Después de habilitarlo, verás que se convierte en un pequeño punto verde y también mostrará las herramientas disponibles.
2828

2929
![.cursor/mcp.json](/img/cursor.mcp.servers.png)
3030

31-
Finalmente, puedes probarlo en la ventana de Chat, por ejemplo, pidiéndole que te ayude a registrar un usuario y luego consultar la información de ese usuario. Si funciona, ¡estás listo!
31+
Finalmente, puedes probarlo en la ventana de Chat. Por ejemplo, pídele que te ayude a registrar un usuario y luego consultar la información de ese usuario. Si funciona, ¡todo está listo!
3232

33-
Por ejemplo, puedes escribir:
33+
Puedes intentar escribir:
3434
```
35-
Ayúdame a consultar el usuario [email protected], si no se encuentra, regístralo con el nombre de usuario Leo
36-
```
35+
Ayúdame a registrar un usuario Leo [email protected]
36+
```
37+
38+
```
39+
Ayúdame a consultar el usuario [email protected], si no se encuentra por favor regístralo con el nombre de usuario Leo
40+
```
41+
42+
> **A través de pruebas reales, descubrimos que este servicio simulado puede causar errores del modelo en algunos casos debido al manejo de nombres y correos electrónicos, lo cual puede ignorarse. Puedes usar tu API real en su lugar.**
43+
44+
![cursor usecase](/img/cursor.usecase.png)

i18n/fr/docusaurus-plugin-content-docs/current/client-usage/cursor.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
> **Pour un tutoriel plus détaillé sur la configuration MCP de Cursor, veuillez consulter la documentation officielle :**
44
> https://docs.cursor.com/context/model-context-protocol
55
6-
Je vais vous montrer une méthode de configuration basique. D'abord, assurez-vous d'avoir créé les répertoires et fichiers nécessaires :
6+
Je vais vous montrer une méthode de configuration de base. Assurez-vous d'avoir créé les répertoires et fichiers nécessaires :
77

88
```bash
99
mkdir -p .cursor
1010
touch .cursor/mcp.json
1111
```
1212

13-
Ensuite, configurez le Serveur MCP. Ici, nous utiliserons notre propre service utilisateur simulé pour les tests :
13+
Ensuite, configurez le Serveur MCP. Ici, nous utiliserons notre service utilisateur simulé pour les tests :
1414

1515
![.cursor/mcp.json](/img/cursor.mcp.json.png)
1616

@@ -24,13 +24,21 @@ Ensuite, configurez le Serveur MCP. Ici, nous utiliserons notre propre service u
2424
}
2525
```
2626

27-
Ensuite, ouvrez les paramètres de Cursor et activez ce Serveur MCP dans la section **MCP**. Une fois activé, vous le verrez se transformer en un petit point vert, et il listera également les Outils disponibles.
27+
Ensuite, ouvrez les paramètres de Cursor et activez ce Serveur MCP dans la section **MCP**. Après l'activation, vous verrez qu'il se transforme en un petit point vert et affichera également les outils disponibles.
2828

2929
![.cursor/mcp.json](/img/cursor.mcp.servers.png)
3030

31-
Enfin, vous pouvez l'essayer dans la fenêtre de Chat, par exemple en lui demandant de vous aider à enregistrer un utilisateur puis à interroger les informations de cet utilisateur. Si cela fonctionne, vous êtes prêt !
31+
Enfin, vous pouvez l'essayer dans la fenêtre de Chat. Par exemple, demandez-lui de vous aider à enregistrer un utilisateur puis à interroger les informations de cet utilisateur. Si cela fonctionne, vous êtes prêt.
3232

33-
Par exemple, vous pouvez taper :
33+
Vous pouvez essayer de taper :
3434
```
35-
Aidez-moi à interroger l'utilisateur [email protected], s'il n'est pas trouvé, inscrivez-le avec le nom d'utilisateur Leo
36-
```
35+
Aidez-moi à enregistrer un utilisateur Leo [email protected]
36+
```
37+
38+
```
39+
Aidez-moi à interroger l'utilisateur [email protected], si non trouvé, veuillez l'enregistrer avec le nom d'utilisateur Leo
40+
```
41+
42+
> **Grâce à des tests réels, nous avons découvert que ce service simulé peut causer des erreurs de modèle dans certains cas en raison du traitement des noms et des e-mails, ce qui peut être ignoré. Vous pouvez utiliser votre API réelle à la place.**
43+
44+
![cursor usecase](/img/cursor.usecase.png)
Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# Cursor में MCP कॉन्फ़िगर करने का सरल गाइड
22

3-
> **अधिक विस्तृत Cursor MCP कॉन्फ़िगरेशन ट्यूटोरियल के लिए, कृपया आधिकारिक दस्तावेज़ देखें:**
3+
> **Cursor MCP कॉन्फ़िगरेशन के अधिक विस्तृत ट्यूटोरियल के लिए, कृपया आधिकारिक दस्तावेज़ देखें:**
44
> https://docs.cursor.com/context/model-context-protocol
55
6-
यहां मैं आपको एक बुनियादी कॉन्फ़िगरेशन विधि दिखाऊंगा। सबसे पहले, सुनिश्चित करें कि आपने आवश्यक निर्देशिकाएँ और फ़ाइलें बना ली हैं:
6+
यहां मैं आपको एक बुनियादी कॉन्फ़िगरेशन विधि दिखाऊंगा। सुनिश्चित करें कि आपने आवश्यक निर्देशिकाओं और फ़ाइलों को बनाया है:
77

88
```bash
99
mkdir -p .cursor
1010
touch .cursor/mcp.json
1111
```
1212

13-
फिर MCP सर्वर कॉन्फ़िगर करें। यहां हम परीक्षण के लिए अपनी स्वयं की मॉक यूजर सेवा का उपयोग करेंगे:
13+
फिर MCP सर्वर कॉन्फ़िगर करें। यहां हम परीक्षण के लिए अपनी मॉक यूजर सेवा का उपयोग करेंगे:
1414

1515
![.cursor/mcp.json](/img/cursor.mcp.json.png)
1616

@@ -24,13 +24,21 @@ touch .cursor/mcp.json
2424
}
2525
```
2626

27-
अगला, Cursor सेटिंग्स खोलें और **MCP** सेक्शन में इस MCP सर्वर को सक्षम करें। एक बार सक्षम होने के बाद, आप इसे एक छोटे हरे बिंदु के रूप में देखेंगे, और यह उपलब्ध टूल्स की सूची भी दिखाएगा
27+
अगला, Cursor सेटिंग्स खोलें और **MCP** सेक्शन में इस MCP सर्वर को सक्षम करें। सक्षम करने के बाद, आप देखेंगे कि यह एक छोटे हरे बिंदु में बदल जाता है, और उपलब्ध टूल्स भी दिखाई देंगे
2828

2929
![.cursor/mcp.json](/img/cursor.mcp.servers.png)
3030

31-
अंत में, आप इसे चैट विंडो में आज़मा सकते हैं, उदाहरण के लिए, किसी उपयोगकर्ता को पंजीकृत करने में मदद करने के लिए और फिर उस उपयोगकर्ता की जानकारी को क्वेरी करने के लिए। यदि यह काम करता है, तो आप तैयार हैं!
31+
अंत में, आप इसे चैट विंडो में आज़मा सकते हैं उदाहरण के लिए, इसे एक उपयोगकर्ता पंजीकृत करने में मदद करने के लिए कहें और फिर उस उपयोगकर्ता की जानकारी प्रश्न करें। यदि यह काम करता है, तो आप तैयार हैं
3232

33-
उदाहरण के लिए, आप टाइप कर सकते हैं:
33+
आप यह टाइप कर सकते हैं:
3434
```
35-
कृपया उपयोगकर्ता [email protected] को क्वेरी करें, यदि नहीं मिला तो उसे Leo यूजरनेम के साथ पंजीकृत करें
36-
```
35+
मुझे एक उपयोगकर्ता Leo [email protected] पंजीकृत करने में मदद करें
36+
```
37+
38+
```
39+
उपयोगकर्ता [email protected] को प्रश्न करें, यदि नहीं मिला तो कृपया उपयोगकर्ता नाम Leo के साथ एक पंजीकृत करें
40+
```
41+
42+
> **वास्तविक परीक्षण के माध्यम से, हमने पाया कि यह मॉक सेवा नाम और ईमेल प्रसंस्करण के कारण कुछ मामलों में मॉडल त्रुटियां पैदा कर सकती है, जिसे नज़रअंदाज़ किया जा सकता है। आप इसके बजाय अपनी वास्तविक API का उपयोग कर सकते हैं।**
43+
44+
![cursor usecase](/img/cursor.usecase.png)

i18n/ja/docusaurus-plugin-content-docs/current/client-usage/cursor.md

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
# CursorでのMCP設定の簡単ガイド
1+
# CursorでのMCP設定簡易ガイド
22

3-
> **より詳細なCursor MCP設定チュートリアルについては、公式ドキュメントを参照してください**
3+
> **より詳細なCursor MCP設定チュートリアルについては、公式ドキュメントをご参照ください**
44
> https://docs.cursor.com/context/model-context-protocol
55
6-
ここでは基本的な設定方法をご紹介します。まず、必要なディレクトリとファイルを作成してください:
6+
ここでは基本的な設定方法をご紹介します。必要なディレクトリとファイルを作成してください:
77

88
```bash
99
mkdir -p .cursor
1010
touch .cursor/mcp.json
1111
```
1212

13-
次に、MCPサーバーを設定します。ここではテスト用に独自のモックユーザーサービスを使用します
13+
次に、MCPサーバーを設定します。ここではモックユーザーサービスを使用してテストを行います
1414

1515
![.cursor/mcp.json](/img/cursor.mcp.json.png)
1616

@@ -28,9 +28,17 @@ touch .cursor/mcp.json
2828

2929
![.cursor/mcp.json](/img/cursor.mcp.servers.png)
3030

31-
最後に、チャットウィンドウで試してみることができます。例えば、ユーザーの登録を手伝ってもらい、そのユーザーの情報を照会するなどです。動作すれば完了です!
31+
最後に、チャットウィンドウで試してみましょう。例えば、ユーザーの登録を手伝ってもらい、そのユーザー情報を照会するなどです。動作すれば設定完了です。
3232

33-
例えば、以下のように入力できます
33+
以下のように入力してみてください
3434
```
35-
ユーザー[email protected]を照会してください。見つからない場合は、ユーザー名Leoで登録してください
36-
```
35+
ユーザーLeo [email protected]を登録してください
36+
```
37+
38+
```
39+
ユーザー[email protected]を検索してください。見つからない場合は、ユーザー名Leoで登録してください
40+
```
41+
42+
> **実際のテストでは、このモックサービスは名前とメールアドレスの処理により、場合によってモデルエラーを引き起こす可能性がありますが、これは無視して構いません。実際のAPIを使用することをお勧めします。**
43+
44+
![cursor usecase](/img/cursor.usecase.png)

0 commit comments

Comments
 (0)