Skip to main content
Glama
urmi123-ui

Google MCP Server

by urmi123-ui

Google MCP 서버

Google Docs 및 Gmail과 통합되는 FastAPI 기반 MCP 스타일 서버로, 모든 작업을 실행하기 전에 터미널 승인이 필요합니다.

사전 요구사항

  1. Google Cloud Console에서 프로젝트를 생성합니다.

  2. 다음 API를 활성화합니다:

    • Google Docs API

    • Gmail API

  3. OAuth 2.0 클라이언트 ID 자격 증명(데스크톱 앱 유형)을 생성합니다.

  4. JSON 파일을 다운로드하여 credentials.json으로 이름을 바꾸고 이 디렉토리(google-mcp-server/)에 배치합니다.

Related MCP server: Google Docs + Gmail MCP Server

설치

pip install -r requirements.txt

서버 실행

python server.py
# or
uvicorn server:app --reload

사용법

Google Doc에 내용 추가

/append_to_doc로 POST 요청을 보냅니다:

{
    "doc_id": "your_document_id",
    "content": "Text to append\n"
}

Gmail 초안 작성

/create_email_draft로 POST 요청을 보냅니다:

{
    "to": "example@example.com",
    "subject": "Test Draft",
    "body": "This is a test email body."
}

서버는 이러한 작업을 실행하기 전에 터미널에서 승인을 요청합니다. y를 입력하고 Enter를 눌러 승인합니다.

Related MCP Connectors

Related MCP Servers