본문 바로가기
C.W.K.
Stream
Lesson 06 of 08 · published

MCP 연결로 데이터를 가져오고 결과를 돌려보내기

~14 min · cowork, mcp, notion, slack, google-drive

Level 0🌱 입문자
0 XP0/70 lessons0/11 achievements
0/120 XP to next level120 XP to go0% complete

MCP로 원격 자료를 가져오고 결과를 다시 돌려보내

Cowork의 MCP는 Claude Code와 같은 서버·전송 방식·범위를 사용해. 다만 연결하는 대상이 달라. 코드 작업에서는 GitHub와 Sentry, Postgres가 중심이라면 Cowork에서는 Notion, Google Drive, Slack, Linear처럼 문서와 협업 자료를 자주 다뤄.

가장 쓸모 있는 흐름은 가져오기 → 로컬 분석 → 되돌려 쓰기야. 예를 들어 Notion 데이터베이스를 작업 폴더에 받아 로컬 사본으로 분석하고, 결과가 확인된 뒤 같은 MCP로 속성이나 댓글을 업데이트해. 로컬 파일은 변경 전 상태와 계산 근거를 남기고, 원격 서비스는 최종 기준 저장소로 유지돼.

OAuth 권한은 필요한 만큼만 열어. 읽기만 하는 작업에 쓰기 권한까지 줄 이유는 없어. 먼저 로컬 사본을 만들고 원격 변경은 마지막에 하는 순서를 지키면 실패했을 때 되돌아갈 지점도 생겨.

Code

Cowork에서 유용한 MCP 서버 세 가지·bash
# In a terminal (config persists for Cowork too)
claude mcp add --transport http notion  https://mcp.notion.com/mcp
claude mcp add --transport http gdrive  https://mcp.drive.google.com/mcp
claude mcp add --transport http slack   https://mcp.slack.com/mcp

# In Cowork (or Claude Code), authenticate OAuth ones:
/mcp
읽기 → 분석 → 다시 쓰기·text
# Goal in Cowork:
"Read the product-feedback database in our Notion workspace.
 Process all 'Status: New' entries from the past 30 days.
 Categorize by theme and severity. Write
 /output/feedback-triage-2026-05.md. Then update the Status
 field on each processed item to 'Triaged' and set Team Tag."

# Cowork's execution:
# 1. MCP read  → local copy in /working/notion-snapshot.json
# 2. Analyze   → /output/feedback-triage-2026-05.md
# 3. MCP write → batch-update Status + Team Tag in Notion

External links

Exercise

읽기와 쓰기를 지원하는 MCP 서버 하나를 연결해. Notion이나 Linear를 쓰면 돼. 레코드 일부를 가져와 처리한 뒤 결과를 다시 쓰는 Cowork 작업을 실행하고, 기준 원본이 깔끔하게 갱신됐는지 확인해. 로컬 스냅샷은 /working/에 저장해.

Progress

Progress is local-only — sign in to sync across devices.
이 페이지에서 버그를 발견하셨거나 피드백이 있으세요?문제 신고

댓글 0

🔔 답글 알림 (로그인 필요)
로그인댓글을 남기려면 로그인해 주세요.

아직 댓글이 없어요. 첫 댓글을 남겨보세요.