{"title":"Cursor에서 MCP","slug":"cursor","category":"mcp","summary":"코딩 세션 간 영구 프로젝트 메모리를 위해 Synapse를 Cursor IDE에 연결.","audience":["human"],"tags":["mcp","cursor","ide","coding"],"difficulty":"intermediate","updated":"2026-06-27","word_count":256,"read_minutes":1,"lang":"ko","translated":true,"requested_lang":"ko","content_markdown":"\n# Cursor에서 MCP\n\nCursor는 VS Code 기반의 AI 구동 IDE입니다. Synapse MCP를 사용하면 Cursor가\n세션 간에 영구 메모리를 얻습니다 — 프로젝트 결정, 코드베이스 패턴, 과거\n디버깅 세션을 기억합니다.\n\n## 사전 요구 사항\n\n- Cursor IDE 설치 (<https://cursor.com>)\n- Node.js 18+\n- 귀하의 Synapse Mind Key\n\n## 설정\n\n### 1단계: Cursor 설정 열기\n\nCursor에서:\n\n1. 설정 열기 (macOS에서 Cmd+, Windows/Linux에서 Ctrl+,)\n2. \"MCP\" 검색 또는 `Cursor Settings → MCP Servers`로 이동\n\n### 2단계: Synapse MCP 서버 추가\n\n\"Add MCP Server\" 클릭 및 구성:\n\n| 필드 | 값 |\n|-------|-------|\n| Name | `synapse` |\n| Type | `stdio` |\n| Command | `npx -y synapse-mcp-api@latest` |\n| Env | `SYNAPSE_MIND_KEY=mk_YOUR_KEY, SYNAPSE_URL=https://synapse.schaefer.zone` |\n\n### 3단계: config.json 직접 편집 (대안)\n\nCursor는 `~/.cursor/config.json`에 MCP 구성을 저장합니다:\n\n```json\n{\n  \"mcpServers\": {\n    \"synapse\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"synapse-mcp-api@latest\"],\n      \"env\": {\n        \"SYNAPSE_MIND_KEY\": \"mk_YOUR_MIND_KEY_HERE\",\n        \"SYNAPSE_URL\": \"https://synapse.schaefer.zone\"\n      }\n    }\n  }\n}\n```\n\n### 4단계: Cursor 재시작\n\nCursor를 완전히 재시작 (macOS에서 Cmd+Q 후 다시 열기).\n\n## 작동 확인\n\nCursor의 채팅 패널 (Cmd+L)에서:\n\n```\nrecall all my memories\n```\n\nCursor가 `memory_recall`을 호출하고 저장된 메모리로 응답해야 합니다.\n\n## 일반적인 패턴\n\n### 프로젝트 온보딩\n\n새 프로젝트를 열 때:\n\n```\nrecalling project context — what do I know about this codebase?\n```\n\nCursor가 `memory_recall`을 호출하고 중단한 곳에서 작업을 계속합니다.\n\n### 아키텍처 결정\n\n```\nstore this decision: \"Using Fastify instead of Express for this project\nbecause of schema validation. Date: 2026-06-27.\"\n```\n\nCursor가 `high` 우선순위로 `project` 메모리로 저장합니다.\n\n### 디버깅 기록\n\n```\nwhat bugs have I hit in this codebase?\n```\n\nCursor가 `mistake` 메모리를 검색하고 과거 수정을 상기시켜 줍니다.\n\n### 세션 간 코드 패턴\n\n```\nsearch memories: \"authentication pattern\"\n```\n\nCursor가 이전에 구현한 인증 구현에 대한 메모리를 찾습니다.\n\n## 문제 해결\n\n### MCP 서버가 연결되지 않음\n\n1. Node.js 확인: `node --version` (≥ 18)\n2. MCP 서버 테스트: `npx -y synapse-mcp-api@latest` (오류 없이 시작해야 함)\n3. Cursor의 MCP 로그 확인 (View → Output → MCP)\n4. Cursor 완전히 재시작\n\n### 도구가 나타나지 않음\n\n- `~/.cursor/config.json`이 유효한 JSON인지 확인\n- `SYNAPSE_MIND_KEY` 환경 변수가 설정되었는지 확인\n- Cursor 버전이 MCP를 지원하는지 확인 (≥ 0.42)\n\n### Mind Key 무효\n\n```bash\n# Test your Mind Key directly\ncurl -H \"Authorization: Bearer mk_YOUR_KEY\" \\\n     https://synapse.schaefer.zone/memory/recall\n```\n\n## 다음 단계\n\n- [Claude Desktop 설정](/docs/mcp/claude-desktop)\n- [Continue.dev 설정](/docs/mcp/continue)\n- [영구 LLM 에이전트 가이드](/docs/guides/persistent-llm-agent)\n","content_html":"<h1>Cursor에서 MCP</h1>\n<p>Cursor는 VS Code 기반의 AI 구동 IDE입니다. Synapse MCP를 사용하면 Cursor가\n세션 간에 영구 메모리를 얻습니다 — 프로젝트 결정, 코드베이스 패턴, 과거\n디버깅 세션을 기억합니다.</p>\n<h2>사전 요구 사항</h2>\n<ul>\n<li>Cursor IDE 설치 (<a href=\"https://cursor.com\">https://cursor.com</a>)</li>\n<li>Node.js 18+</li>\n<li>귀하의 Synapse Mind Key</li>\n</ul>\n<h2>설정</h2>\n<h3>1단계: Cursor 설정 열기</h3>\n<p>Cursor에서:</p>\n<ol>\n<li>설정 열기 (macOS에서 Cmd+, Windows/Linux에서 Ctrl+,)</li>\n<li>&quot;MCP&quot; 검색 또는 <code>Cursor Settings → MCP Servers</code>로 이동</li>\n</ol>\n<h3>2단계: Synapse MCP 서버 추가</h3>\n<p>&quot;Add MCP Server&quot; 클릭 및 구성:</p>\n<table>\n<thead>\n<tr>\n<th>필드</th>\n<th>값</th>\n</tr>\n</thead>\n<tbody><tr>\n<td>Name</td>\n<td><code>synapse</code></td>\n</tr>\n<tr>\n<td>Type</td>\n<td><code>stdio</code></td>\n</tr>\n<tr>\n<td>Command</td>\n<td><code>npx -y synapse-mcp-api@latest</code></td>\n</tr>\n<tr>\n<td>Env</td>\n<td><code>SYNAPSE_MIND_KEY=mk_YOUR_KEY, SYNAPSE_URL=https://synapse.schaefer.zone</code></td>\n</tr>\n</tbody></table>\n<h3>3단계: config.json 직접 편집 (대안)</h3>\n<p>Cursor는 <code>~/.cursor/config.json</code>에 MCP 구성을 저장합니다:</p>\n<pre><code class=\"hljs language-json\"><span class=\"hljs-punctuation\">{</span>\n  <span class=\"hljs-attr\">&quot;mcpServers&quot;</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-punctuation\">{</span>\n    <span class=\"hljs-attr\">&quot;synapse&quot;</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-punctuation\">{</span>\n      <span class=\"hljs-attr\">&quot;command&quot;</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-string\">&quot;npx&quot;</span><span class=\"hljs-punctuation\">,</span>\n      <span class=\"hljs-attr\">&quot;args&quot;</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-punctuation\">[</span><span class=\"hljs-string\">&quot;-y&quot;</span><span class=\"hljs-punctuation\">,</span> <span class=\"hljs-string\">&quot;synapse-mcp-api@latest&quot;</span><span class=\"hljs-punctuation\">]</span><span class=\"hljs-punctuation\">,</span>\n      <span class=\"hljs-attr\">&quot;env&quot;</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-punctuation\">{</span>\n        <span class=\"hljs-attr\">&quot;SYNAPSE_MIND_KEY&quot;</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-string\">&quot;mk_YOUR_MIND_KEY_HERE&quot;</span><span class=\"hljs-punctuation\">,</span>\n        <span class=\"hljs-attr\">&quot;SYNAPSE_URL&quot;</span><span class=\"hljs-punctuation\">:</span> <span class=\"hljs-string\">&quot;https://synapse.schaefer.zone&quot;</span>\n      <span class=\"hljs-punctuation\">}</span>\n    <span class=\"hljs-punctuation\">}</span>\n  <span class=\"hljs-punctuation\">}</span>\n<span class=\"hljs-punctuation\">}</span></code></pre><h3>4단계: Cursor 재시작</h3>\n<p>Cursor를 완전히 재시작 (macOS에서 Cmd+Q 후 다시 열기).</p>\n<h2>작동 확인</h2>\n<p>Cursor의 채팅 패널 (Cmd+L)에서:</p>\n<pre><code class=\"hljs language-plaintext\">recall all my memories</code></pre><p>Cursor가 <code>memory_recall</code>을 호출하고 저장된 메모리로 응답해야 합니다.</p>\n<h2>일반적인 패턴</h2>\n<h3>프로젝트 온보딩</h3>\n<p>새 프로젝트를 열 때:</p>\n<pre><code class=\"hljs language-plaintext\">recalling project context — what do I know about this codebase?</code></pre><p>Cursor가 <code>memory_recall</code>을 호출하고 중단한 곳에서 작업을 계속합니다.</p>\n<h3>아키텍처 결정</h3>\n<pre><code class=\"hljs language-plaintext\">store this decision: &quot;Using Fastify instead of Express for this project\nbecause of schema validation. Date: 2026-06-27.&quot;</code></pre><p>Cursor가 <code>high</code> 우선순위로 <code>project</code> 메모리로 저장합니다.</p>\n<h3>디버깅 기록</h3>\n<pre><code class=\"hljs language-plaintext\">what bugs have I hit in this codebase?</code></pre><p>Cursor가 <code>mistake</code> 메모리를 검색하고 과거 수정을 상기시켜 줍니다.</p>\n<h3>세션 간 코드 패턴</h3>\n<pre><code class=\"hljs language-plaintext\">search memories: &quot;authentication pattern&quot;</code></pre><p>Cursor가 이전에 구현한 인증 구현에 대한 메모리를 찾습니다.</p>\n<h2>문제 해결</h2>\n<h3>MCP 서버가 연결되지 않음</h3>\n<ol>\n<li>Node.js 확인: <code>node --version</code> (≥ 18)</li>\n<li>MCP 서버 테스트: <code>npx -y synapse-mcp-api@latest</code> (오류 없이 시작해야 함)</li>\n<li>Cursor의 MCP 로그 확인 (View → Output → MCP)</li>\n<li>Cursor 완전히 재시작</li>\n</ol>\n<h3>도구가 나타나지 않음</h3>\n<ul>\n<li><code>~/.cursor/config.json</code>이 유효한 JSON인지 확인</li>\n<li><code>SYNAPSE_MIND_KEY</code> 환경 변수가 설정되었는지 확인</li>\n<li>Cursor 버전이 MCP를 지원하는지 확인 (≥ 0.42)</li>\n</ul>\n<h3>Mind Key 무효</h3>\n<pre><code class=\"hljs language-bash\"><span class=\"hljs-comment\"># Test your Mind Key directly</span>\ncurl -H <span class=\"hljs-string\">&quot;Authorization: Bearer mk_YOUR_KEY&quot;</span> \\\n     https://synapse.schaefer.zone/memory/recall</code></pre><h2>다음 단계</h2>\n<ul>\n<li><a href=\"/docs/mcp/claude-desktop\">Claude Desktop 설정</a></li>\n<li><a href=\"/docs/mcp/continue\">Continue.dev 설정</a></li>\n<li><a href=\"/docs/guides/persistent-llm-agent\">영구 LLM 에이전트 가이드</a></li>\n</ul>\n","urls":{"html":"/docs/mcp/cursor","text":"/docs/mcp/cursor?format=text","json":"/docs/mcp/cursor?format=json","llm":"/docs/mcp/cursor?format=llm"},"translations_available":["en","zh","hi","es","fr","ar","pt","ru","ja","de","it","ko","nl","pl","tr","sv","vi","th","id","uk"]}