본문 바로가기
C.W.K.
Stream
Lesson 01 of 05 · published

MCP — 하나로 통하는 표준

~14 min · mcp, cross-tool, open-standard

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

MCP는 여러 회사의 CLI가 함께 채택한 드문 표준이야

Anthropic이 2024년 말 내놓은 Model Context Protocol은 2025–2026년에 OpenAI Codex, Google Gemini와 여러 에이전트로 퍼졌어. 이제 한 번 만든 MCP 서버를 Claude Code, Cowork, Codex, Gemini에서 그대로 쓸 수 있어.

서버는 구조화된 입출력을 가진 도구를 내놓고, 에이전트는 필요한 순간 그 도구를 호출해. 로컬에서는 stdio, 원격에서는 HTTP라는 단순한 전송 방식을 써. Sentry, GitHub, Notion, Slack, Linear, Stripe, Postgres 등 1,800+개 공개 서버가 이 구조를 공유하고.

팀 내부 기능도 특정 CLI 전용 확장보다 MCP 서버로 만드는 편이 오래 가. 사용하는 에이전트가 바뀌어도 연결은 남아 있고, 이미 유지되는 공개 서버가 있다면 새로 만들 필요도 없어.

Code

같은 MCP를 세 가지 CLI에서 사용하기·bash
# Claude Code
claude mcp add --transport http sentry https://mcp.sentry.dev/mcp

# Codex
codex mcp add --transport http sentry https://mcp.sentry.dev/mcp

# Gemini
gemini mcp add --transport http sentry https://mcp.sentry.dev/mcp

# In every client:
> "what's the top error in production over the last 24h?"
# Each agent calls Sentry MCP; each gets the same answer shape.
MCP 서버 하나로 모든 CLI 지원하기·json
// my-internal-mcp/server.json — minimal MCP server stub
{
  "name": "internal-billing",
  "version": "1.0.0",
  "tools": [
    {
      "name": "lookup_customer",
      "description": "Fetch customer record by id or email",
      "inputSchema": { "type": "object",
        "properties": { "query": { "type": "string" } } }
    },
    {
      "name": "list_recent_charges",
      "description": "List charges in the last N days",
      "inputSchema": { "type": "object",
        "properties": { "days": { "type": "integer", "default": 7 } } }
    }
  ]
}

External links

Exercise

주로 쓰는 CLI에 연결된 MCP 서버 1개를 골라 다른 CLI에도 추가해봐. 두 CLI에 같은 지시를 내리고 답의 형태와 내용이 일치하는지 확인해. 방금 이식성의 가치를 직접 확인한 거야.

Progress

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

댓글 0

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

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