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

Commit f76d59f

Browse files
committed
Add cursor.md
1 parent d9e1fa8 commit f76d59f

10 files changed

Lines changed: 276 additions & 21 deletions

File tree

docs/client-usage/cursor.md

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,38 @@
1-
# Cursor
1+
# Cursor配置MCP简易指南
22

3-
**很用力的补充中...**
3+
> **更详细的 Cursor 配置 MCP 教程请查看官方文档:**
4+
> https://docs.cursor.com/context/model-context-protocol
5+
6+
这边我简单展示一个最基础的配置方式,确保你已经创建了相关的目录和文件:
7+
8+
```bash
9+
mkdir -p .cursor
10+
touch .cursor/mcp.json
11+
```
12+
13+
然后配置 MCP Server,这里我们直接用自己的模拟用户服务来试:
14+
15+
![.cursor/mcp.json](/img/cursor.mcp.json.png)
16+
17+
```json
18+
{
19+
"mcpServers": {
20+
"user": {
21+
"url": "http://localhost:5235/mcp/user/sse"
22+
}
23+
}
24+
}
25+
```
26+
27+
接下来,打开 Cursor 设置,在 **MCP** 栏里启用这个 MCP Server。启用之后你会看到它变成一个小绿点,同时还会列出可用的 Tools。
28+
29+
30+
![.cursor/mcp.json](/img/cursor.mcp.servers.png)
31+
32+
最后就可以在 Chat 窗口里试一下,比如让它帮你注册一个用户,然后再查询这个用户的信息,跑通就 OK 了。
33+
34+
比如你可以输入:
35+
```
36+
帮我查询一下用户ifuryst@gmail.com,如果没查到帮我注册一下,用户名是Leo
37+
```
438

5-
👇👇👇👇👇👇 如果你想帮忙完善可以点这里,十分感谢❤️
Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
1-
# Cursor
1+
# Einfache Anleitung zur MCP-Konfiguration in Cursor
22

3-
**In Bearbeitung — angetrieben von Kaffee und Optimismus...**
3+
> **Für ein detaillierteres Cursor MCP-Konfigurationstutorial lesen Sie bitte die offizielle Dokumentation:**
4+
> https://docs.cursor.com/context/model-context-protocol
45
5-
👇👇👇👇👇👇 Wenn Sie bei der Verbesserung dieser Dokumentation helfen möchten, können Sie gerne einen Beitrag leisten. Vielen Dank ❤️
6+
Hier zeige ich Ihnen eine grundlegende Konfigurationsmethode. Stellen Sie zunächst sicher, dass Sie die erforderlichen Verzeichnisse und Dateien erstellt haben:
7+
8+
```bash
9+
mkdir -p .cursor
10+
touch .cursor/mcp.json
11+
```
12+
13+
Konfigurieren Sie dann den MCP-Server. Hier verwenden wir unseren eigenen Mock-Benutzerdienst zum Testen:
14+
15+
![.cursor/mcp.json](/img/cursor.mcp.json.png)
16+
17+
```json
18+
{
19+
"mcpServers": {
20+
"user": {
21+
"url": "http://localhost:5235/mcp/user/sse"
22+
}
23+
}
24+
}
25+
```
26+
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.
28+
29+
![.cursor/mcp.json](/img/cursor.mcp.servers.png)
30+
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!
32+
33+
Sie können zum Beispiel Folgendes eingeben:
34+
```
35+
Helfen Sie mir, den Benutzer ifuryst@gmail.com abzufragen, und wenn er nicht gefunden wird, registrieren Sie einen mit dem Benutzernamen Leo
36+
```
Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
1-
# Cursor
1+
# Simple Guide to Configure MCP in Cursor
22

3-
**Work in progress — fueled by caffeine and optimism...**
3+
> **For more detailed Cursor MCP configuration tutorial, please refer to the official documentation:**
4+
> https://docs.cursor.com/context/model-context-protocol
45
5-
👇👇👇👇👇👇 If you would like to help improve this documentation, feel free to contribute. Thank you so much ❤️
6+
Here I'll show you a basic configuration method. First, make sure you've created the necessary directories and files:
7+
8+
```bash
9+
mkdir -p .cursor
10+
touch .cursor/mcp.json
11+
```
12+
13+
Then configure the MCP Server. Here we'll use our own mock user service for testing:
14+
15+
![.cursor/mcp.json](/img/cursor.mcp.json.png)
16+
17+
```json
18+
{
19+
"mcpServers": {
20+
"user": {
21+
"url": "http://localhost:5235/mcp/user/sse"
22+
}
23+
}
24+
}
25+
```
26+
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.
28+
29+
![.cursor/mcp.json](/img/cursor.mcp.servers.png)
30+
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!
32+
33+
For example, you can type:
34+
```
35+
Help me query the user ifuryst@gmail.com, if not found, please register one with username Leo
36+
```
Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
1-
# Cursor
1+
# Guía Simple para Configurar MCP en Cursor
22

3-
**En proceso de desarrollo...**
3+
> **Para un tutorial más detallado sobre la configuración de MCP en Cursor, consulte la documentación oficial:**
4+
> https://docs.cursor.com/context/model-context-protocol
45
5-
👇👇👇👇👇👇 Si deseas ayudar a mejorar esta documentación, puedes hacerlo aquí, ¡muchas gracias! ❤️
6+
Aquí te mostraré un método básico de configuración. Primero, asegúrate de haber creado los directorios y archivos necesarios:
7+
8+
```bash
9+
mkdir -p .cursor
10+
touch .cursor/mcp.json
11+
```
12+
13+
Luego configura el Servidor MCP. Aquí usaremos nuestro propio servicio de usuario simulado para pruebas:
14+
15+
![.cursor/mcp.json](/img/cursor.mcp.json.png)
16+
17+
```json
18+
{
19+
"mcpServers": {
20+
"user": {
21+
"url": "http://localhost:5235/mcp/user/sse"
22+
}
23+
}
24+
}
25+
```
26+
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.
28+
29+
![.cursor/mcp.json](/img/cursor.mcp.servers.png)
30+
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!
32+
33+
Por ejemplo, puedes escribir:
34+
```
35+
Ayúdame a consultar el usuario ifuryst@gmail.com, si no se encuentra, regístralo con el nombre de usuario Leo
36+
```
Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
1-
# Cursor
1+
# Guide Simple pour Configurer MCP dans Cursor
22

3-
**Travail en cours — alimenté par la caféine et l'optimisme...**
3+
> **Pour un tutoriel plus détaillé sur la configuration MCP de Cursor, veuillez consulter la documentation officielle :**
4+
> https://docs.cursor.com/context/model-context-protocol
45
5-
👇👇👇👇👇👇 Si vous souhaitez contribuer à l'amélioration de cette documentation, n'hésitez pas à participer. Merci beaucoup ❤️
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 :
7+
8+
```bash
9+
mkdir -p .cursor
10+
touch .cursor/mcp.json
11+
```
12+
13+
Ensuite, configurez le Serveur MCP. Ici, nous utiliserons notre propre service utilisateur simulé pour les tests :
14+
15+
![.cursor/mcp.json](/img/cursor.mcp.json.png)
16+
17+
```json
18+
{
19+
"mcpServers": {
20+
"user": {
21+
"url": "http://localhost:5235/mcp/user/sse"
22+
}
23+
}
24+
}
25+
```
26+
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.
28+
29+
![.cursor/mcp.json](/img/cursor.mcp.servers.png)
30+
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 !
32+
33+
Par exemple, vous pouvez taper :
34+
```
35+
Aidez-moi à interroger l'utilisateur ifuryst@gmail.com, s'il n'est pas trouvé, inscrivez-le avec le nom d'utilisateur Leo
36+
```
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Cursor में MCP कॉन्फ़िगर करने का सरल गाइड
2+
3+
> **अधिक विस्तृत Cursor MCP कॉन्फ़िगरेशन ट्यूटोरियल के लिए, कृपया आधिकारिक दस्तावेज़ देखें:**
4+
> https://docs.cursor.com/context/model-context-protocol
5+
6+
यहां मैं आपको एक बुनियादी कॉन्फ़िगरेशन विधि दिखाऊंगा। सबसे पहले, सुनिश्चित करें कि आपने आवश्यक निर्देशिकाएँ और फ़ाइलें बना ली हैं:
7+
8+
```bash
9+
mkdir -p .cursor
10+
touch .cursor/mcp.json
11+
```
12+
13+
फिर MCP सर्वर कॉन्फ़िगर करें। यहां हम परीक्षण के लिए अपनी स्वयं की मॉक यूजर सेवा का उपयोग करेंगे:
14+
15+
![.cursor/mcp.json](/img/cursor.mcp.json.png)
16+
17+
```json
18+
{
19+
"mcpServers": {
20+
"user": {
21+
"url": "http://localhost:5235/mcp/user/sse"
22+
}
23+
}
24+
}
25+
```
26+
27+
अगला, Cursor सेटिंग्स खोलें और **MCP** सेक्शन में इस MCP सर्वर को सक्षम करें। एक बार सक्षम होने के बाद, आप इसे एक छोटे हरे बिंदु के रूप में देखेंगे, और यह उपलब्ध टूल्स की सूची भी दिखाएगा।
28+
29+
![.cursor/mcp.json](/img/cursor.mcp.servers.png)
30+
31+
अंत में, आप इसे चैट विंडो में आज़मा सकते हैं, उदाहरण के लिए, किसी उपयोगकर्ता को पंजीकृत करने में मदद करने के लिए और फिर उस उपयोगकर्ता की जानकारी को क्वेरी करने के लिए। यदि यह काम करता है, तो आप तैयार हैं!
32+
33+
उदाहरण के लिए, आप टाइप कर सकते हैं:
34+
```
35+
कृपया उपयोगकर्ता ifuryst@gmail.com को क्वेरी करें, यदि नहीं मिला तो उसे Leo यूजरनेम के साथ पंजीकृत करें
36+
```
Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
1-
# Cursor
1+
# CursorでのMCP設定の簡単ガイド
22

3-
**作業中 — カフェインと楽観主義で動いています...**
3+
> **より詳細なCursor MCP設定チュートリアルについては、公式ドキュメントを参照してください:**
4+
> https://docs.cursor.com/context/model-context-protocol
45
5-
👇👇👇👇👇👇 このドキュメントの改善にご協力いただける場合は、ぜひご貢献ください。ありがとうございます ❤️
6+
ここでは基本的な設定方法をご紹介します。まず、必要なディレクトリとファイルを作成してください:
7+
8+
```bash
9+
mkdir -p .cursor
10+
touch .cursor/mcp.json
11+
```
12+
13+
次に、MCPサーバーを設定します。ここではテスト用に独自のモックユーザーサービスを使用します:
14+
15+
![.cursor/mcp.json](/img/cursor.mcp.json.png)
16+
17+
```json
18+
{
19+
"mcpServers": {
20+
"user": {
21+
"url": "http://localhost:5235/mcp/user/sse"
22+
}
23+
}
24+
}
25+
```
26+
27+
次に、Cursorの設定を開き、**MCP**セクションでこのMCPサーバーを有効にします。有効にすると、小さな緑の点に変わり、利用可能なツールも表示されます。
28+
29+
![.cursor/mcp.json](/img/cursor.mcp.servers.png)
30+
31+
最後に、チャットウィンドウで試してみることができます。例えば、ユーザーの登録を手伝ってもらい、そのユーザーの情報を照会するなどです。動作すれば完了です!
32+
33+
例えば、以下のように入力できます:
34+
```
35+
ユーザーifuryst@gmail.comを照会してください。見つからない場合は、ユーザー名Leoで登録してください
36+
```
Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
1-
# Cursor
1+
# Cursor에서 MCP 설정하기 간단 가이드
22

3-
**작업 중 — 카페인과 낙관주의로 구동 중...**
3+
> **더 자세한 Cursor MCP 설정 튜토리얼은 공식 문서를 참조하세요:**
4+
> https://docs.cursor.com/context/model-context-protocol
45
5-
👇👇👇👇👇👇 이 문서의 개선에 기여하고 싶으시다면, 기여해 주시기 바랍니다. 감사합니다 ❤️
6+
여기서는 기본적인 설정 방법을 보여드리겠습니다. 먼저 필요한 디렉토리와 파일을 생성했는지 확인하세요:
7+
8+
```bash
9+
mkdir -p .cursor
10+
touch .cursor/mcp.json
11+
```
12+
13+
그런 다음 MCP 서버를 구성합니다. 여기서는 테스트를 위해 자체 모의 사용자 서비스를 사용합니다:
14+
15+
![.cursor/mcp.json](/img/cursor.mcp.json.png)
16+
17+
```json
18+
{
19+
"mcpServers": {
20+
"user": {
21+
"url": "http://localhost:5235/mcp/user/sse"
22+
}
23+
}
24+
}
25+
```
26+
27+
다음으로 Cursor 설정을 열고 **MCP** 섹션에서 이 MCP 서버를 활성화합니다. 활성화되면 작은 녹색 점으로 변하고 사용 가능한 도구도 나열됩니다.
28+
29+
![.cursor/mcp.json](/img/cursor.mcp.servers.png)
30+
31+
마지막으로 채팅 창에서 시도해볼 수 있습니다. 예를 들어, 사용자 등록을 도와달라고 요청하고 해당 사용자의 정보를 조회하는 등의 작업을 수행할 수 있습니다. 작동하면 완료입니다!
32+
33+
예를 들어, 다음과 같이 입력할 수 있습니다:
34+
```
35+
사용자 ifuryst@gmail.com을 조회해주세요. 찾을 수 없다면 사용자 이름 Leo로 등록해주세요
36+
```

static/img/cursor.mcp.json.png

36.4 KB
Loading

static/img/cursor.mcp.servers.png

53.6 KB
Loading

0 commit comments

Comments
 (0)