Skip to content

ParkHyoungChul/bw_AI_MCP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MCP Client Setup (Windows PowerShell Version)

1️⃣ 프로젝트 생성 및 가상환경 설정

# Create project directory
uv init mcp-client
cd mcp-client

# Create virtual environment
uv venv

# Activate virtual environment (Windows PowerShell)
.venv\Scripts\Activate.ps1

2️⃣ 필수 패키지 설치

uv add google-generativeai mcp python-dotenv

3️⃣ 기본 파일 정리

# Remove boilerplate files
Remove-Item .\main.py

# Create main file
ni .\client.py

(※ ni는 PowerShell의 New-Item 줄임말)

4️⃣ API Key 설정

# Create .env file
ni .\.env

.env 파일을 열어 다음을 작성:

GEMINI_API_KEY=<your key here>

5️⃣ .gitignore에 .env 추가

echo ".env" >> .gitignore

6️⃣ mcp_server_config.json 파일 추가

ni .\mcp_server_config.json

7️⃣ 결과 확인

python client3.py

About

bulid with ai MCP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages