
Google Calendar MCP
๊ฐ์
Google Calendar์ ์ฐ๋๋๋ MCP stdio ์๋ฒ์ ๋๋ค. Cursor ๋ฑ์์ MCP ํ๋กํ ์ฝ๋ก ์ผ์ ์ ์กฐํ, ์์ฑ, ์์ธ ์กฐํํ ์ ์์ต๋๋ค. ์ธ์ฆ์ Google OAuth2๋ฅผ ์ฌ์ฉํฉ๋๋ค.
์ฃผ์ ๊ธฐ๋ฅ
- Google Calendar API ์ฐ๋
- MCP stdio ์๋ฒ๋ก ์ผ์ ์กฐํ, ์์ฑ, ์์ธ ์กฐํ ๊ธฐ๋ฅ ์ ๊ณต
- Google OAuth2 ์ธ์ฆ ์ฒ๋ฆฌ
๊ธฐ์ ์คํ
- Python 3.13 ์ด์ (๊ถ์ฅ: 3.13.3)
- ํจํค์ง ๋งค๋์ : uv
- MCP ์๋ฒ: fastmcp
- Google API ์ฐ๋: google-api-python-client, google-auth, google-auth-oauthlib
- ์ธ์ฆ: OAuth2 (Google)
๊ตฌํ ๊ธฐ๋ฅ ๋ฐ MCP ๋ฉ์๋
| ๊ธฐ๋ฅ | MCP ๋ฉ์๋ | ์ค๋ช |
|---|---|---|
| 1๋ฌ ์น ์ผ์ ๋ณด๊ธฐ | list_month_events | ์ง์ ํ ์ฐ/์์ ๋ชจ๋ ์ผ์ ๋ชฉ๋ก ์กฐํ |
| ํน์ ์ผ์ ์ผ์ ๋ณด๊ธฐ | list_day_events | ์ง์ ํ ๋ ์ง์ ๋ชจ๋ ์ผ์ ๋ชฉ๋ก ์กฐํ |
| ์ผ์ ์์ธ ๋ณด๊ธฐ | get_event_detail | ์ผ์ ID๋ก ์์ธ ์ ๋ณด ์กฐํ |
| ์ผ์ ๋ฑ๋ก | create_event | ์๋ก์ด ์ผ์ ์์ฑ (์ฐธ์ฌ์(์ด๋ฉ์ผ) ์ถ๊ฐ ๊ฐ๋ฅ) |
| ์ผ์ ์์ | update_event | ์ผ์ ID๋ก ์ผ์ ์ ๋ณด ์์ (์ ๋ชฉ, ์๊ฐ ๋ฑ) |
| ์ผ์ ์ญ์ | delete_event | ์ผ์ ID๋ก ์ผ์ ์ญ์ |
| ๋น ์๊ฐ ์ฐพ๊ธฐ | find_free_slots | ํน์ ๋ ์ง์ N๋ถ ์ด์ ๋น ์๊ฐ๋ ์ฐพ๊ธฐ (ํ์ ์๊ฐ ์กฐ์จ์ ์ ์ฉ) |
1. uv ์ค์น (์ต์ด 1ํ๋ง)
macOS/Homebrew
brew install uv
๋๋ ๊ณต์ ์ค์น ์คํฌ๋ฆฝํธ
curl -Ls https://astral.sh/uv/install.sh | sh
Windows (PowerShell)
iwr -useb https://astral.sh/uv/install.ps1 | iex
2. MCP ํจํค์ง ๋ค์ด๋ก๋
git clone https://github.com/AnByoungHyun/google_calendar_mcp.git
cd google_calendar_mcp3. ํจํค์ง ์ค์น
uv sync- ์ ๋ช ๋ น์ด ํ ์ค๋ก ๋ชจ๋ ํจํค์ง๊ฐ ์๋ ์ค์น๋ฉ๋๋ค.
4. Cursor MCP ๋ฑ๋ก ์์
.cursor/mcp.json ์์:
{
"mcpServers": {
...
"google-calendar": {
"command": "uv",
"args": ["--directory", "<google_calendar_mcp_path>", "run", "google_calendar_mcp"]
}
}
}์ฐธ๊ณ ๋ฐ ๋ฌธ์
- Google Calendar API ๊ณต์ ๋ฌธ์: https://developers.google.com/calendar/api
- MCP/fastmcp ๋ฌธ์: https://github.com/anysphere/fastmcp
๋ณ๋์ ๊ฐ์ํ๊ฒฝ/venv ๋ช ๋ น์ ํ์ ์์ต๋๋ค. uv๊ฐ ์๋์ผ๋ก ์์ ํ ํ๊ฒฝ์ ๋ง๋ค์ด์ค๋๋ค. ์ค์น/์คํ ์ค ๊ถ๊ธํ ์ ์ด ์์ผ๋ฉด ์ธ์ ๋ ๋ฌธ์ํด ์ฃผ์ธ์!
Copy & paste โ that's it
uv syncNo common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.