C.W.K.
Stream
Lesson 05 of 10 · published

Gemini 의 MCP

~14 min · gemini, mcp, integrations

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

같은 protocol, Gemini 관점

Gemini 가 Claude Code 와 Codex 처럼 MCP 구현. gemini mcp add 가 server 등록; transport 가 stdio / HTTP; scope 가 user / project. 가용 server 카탈로그 (Sentry, GitHub, Notion, Slack, Postgres 등) 가 동일 — standard 의 핵심 포인트.

Code

Add three servers + use them·bash
# HTTP servers
gemini mcp add --transport http github  https://api.githubcopilot.com/mcp/
gemini mcp add --transport http sentry  https://mcp.sentry.dev/mcp

# Local stdio server
gemini mcp add --transport stdio db -- npx -y @bytebase/dbhub \
  --dsn "postgresql://readonly:pw@localhost:5432/analytics"

# OAuth from inside the REPL
gemini
> /mcp

# List
gemini mcp list
Project-scoped .mcp.json·json
{
  "mcpServers": {
    "github": { "type": "http", "url": "https://api.githubcopilot.com/mcp/" },
    "sentry": { "type": "http", "url": "https://mcp.sentry.dev/mcp" },
    "db": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@bytebase/dbhub", "--dsn", "${DATABASE_URL}"]
    }
  }
}

External links

Exercise

다른 CLI 에 이미 설정된 MCP server 2개를 Gemini 에 추가. 동일하게 작동하는지 확인. cross-tool portability dividend 적어.

Progress

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

댓글 0

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

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