블랙프라이데이: 지금 바로 Craft를 평생 40% 할인된 가격으로 만나보세요!

Imagine With Craft

How to Connect Craft to Visual Studio Code with MCP

You can enable an MCP server for your documents, allowing Visual Studio Code to interact directly with your content. This guide walks you through setting up the connection between Craft and Visual Studio Code using MCP.

Craft
Visual Studio Code

문서용 MCP 활성화

먼저 MCP를 활성화해 데일리 노트용 MCP 서버가 만들어질 수 있게 설정해야 합니다. 그 후 Visual Studio Code에서 해당 MCP URL을 사용해 서버에 연결하세요.

사이드바에서 "상상해보기" 탭을 클릭하세요

Step 1

"상상해보기" 탭을 열어보세요
"첫 번째 MCP 생성" 버튼을 클릭하세요

Step 2

"첫 번째 MCP 생성"을 클릭하세요
MCP 연결 설정하기

Step 3

MCP 연결에 이름을 설정하세요.
"문서 추가" 버튼 클릭하기

Step 4

"문서 추가"를 클릭해 이 MCP를 연결할 문서를 선택하세요.
상단 MCP URL 표시

Step 5

문서와 연결되는 MCP URL이 이제 상단에 표시됩니다.

Adding an MCP Connector in Visual Studio Code

Create a new connector in Visual Studio Code and use the MCP URL from Craft to connect the two services.

Open Visual Studio Code’s MCP Settings

Step 1

Go to Visual Studio Code’s MCP Settings by typing >mcp in the command palette and selecting “MCP: Open User Configuration”

Step 2

Copy the following MCP configuration and paste it into the MCP configuration file in Visual Studio Code. Replace craft with a descriptive name for your MCP server. Replace <MCP_URL> with the MCP URL from Craft.
Save the MCP configuration file

Step 3

Save the MCP configuration file. It should look something like this example. Press the “Start” button to start the MCP server.

You can now ask Visual Studio Code about your documents, and even have them updated. Try something like this to get started:

Click an example to copy the prompt to your clipboard

Some Ideas to Get You Started

Browse Examples