Socket
Book a DemoInstallSign in
Socket

google-docs-mcp

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

google-docs-mcp

Model Context Protocol for Google Docs integration

1.0.0
latest
npmnpm
Version published
Weekly downloads
5
-68.75%
Maintainers
1
Weekly downloads
 
Created
Source

Google Docs MCP

Model Context Protocol for Google Docs integration. 이 패키지는 Google Docs 문서에 접근하고 읽는 기능을 제공합니다.

설치

npm install -g google-docs-mcp
# 또는
npx google-docs-mcp

사용법

인증 설정

처음 사용 시 Google API 인증이 필요합니다:

  • Google Cloud Console에서 프로젝트를 생성하고 Google Docs API와 Drive API를 활성화합니다.
  • OAuth 동의 화면을 설정하고 OAuth 클라이언트 ID를 생성합니다.
  • 다운로드한 JSON 파일의 이름을 credentials.json으로 변경하고 현재 디렉토리에 저장합니다.
  • 서비스를 실행하고 브라우저에서 인증을 완료합니다.

MCP 도구

이 패키지는, 다음 MCP 도구들을 제공합니다:

  • google_docs_hello: 기본 인사 기능
  • google_docs_auth: Google Docs 인증 설정
  • google_docs_read_document: Google Docs 문서 읽기

예제

// 문서 읽기 예제
const { result } = await mcp.call('google_docs_read_document', {
  documentId: '1WFDzSw1t1C-83qNpgFpHxaKXXIqWALTzFxZDrlpakMU'
});
console.log(result.text);

라이선스

MIT

Keywords

mcp

FAQs

Package last updated on 14 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.