
deciduus/calendar-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Google 캘린더 MCP 서버: LLM 에이전트 23 도구. uvx 캘린더-mcp-server로 설치하십시오.
개요
LLM 클라이언트가 Google 캘린더에 액세스하고 쓰기를 제공하는 MCP 서버. 그것은 단일 프로세스로 실행 - 기본, 스트리밍 HTTP 선택적으로 - 및 구조 출력과 23 도구를 노출 : 목록 및 검색 캘린더 및 이벤트, 생성, 업데이트, 이동, RSVPing 및 삭제 이벤트, 무료 / 버스 쿼리, 바쁜 분석, 재커링 배출 투사, 상호 슬롯을 찾고 예약. 그 위에는 작업 시간을 알고있는 스케줄링 두뇌가 있습니다 : 찾기 및 예약 초점 시간, 한 번에 여러 계정에서 두 배 책 검출, 회의를위한 더 나은 시간을 전파, 그리고 주가 실제로 갔다 감사. 인증은 Google OAuth 2.0 (Desktop 앱 플로우); 토큰은 로컬로 캐시되며 계정 당 자동으로 새로 고침됩니다. 오전 9시 - 오후 5시, 오전 11시 - 오후 12시, 점심 또는 버퍼 없음, 최소 초점 블록 60 분의 목요일 근무 시간. "1 월 1, 2026에 초점 시간의 여섯 시간.
개요(AI 번역)
LLM 클라이언트가 Google 캘린더에 액세스하고 쓰기를 제공하는 MCP 서버. 그것은 단일 프로세스로 실행 - 기본, 스트리밍 HTTP 선택적으로 - 및 구조 출력과 23 도구를 노출 : 목록 및 검색 캘린더 및 이벤트, 생성, 업데이트, 이동, RSVPing 및 삭제 이벤트, 무료 / 버스 쿼리, 바쁜 분석, 재커링 배출 투사, 상호 슬롯을 찾고 예약. 그 위에는 작업 시간을 알고있는 스케줄링 두뇌가 있습니다 : 찾기 및 예약 초점 시간, 한 번에 여러 계정에서 두 배 책 검출, 회의를위한 더 나은 시간을 전파, 그리고 주가 실제로 갔다 감사. 인증은 Google OAuth 2.0 (Desktop 앱 플로우); 토큰은 로컬로 캐시되며 계정 당 자동으로 새로 고침됩니다.
달력 작업, 끝
**Synthetic 예제, 오프라인 테스트로 백업; 실제 캘린더 데이터 또는 라이브 예약 없음. ** 오전 9시~오후 5시, 오전 11시~오후 12시, 오전 11시~오후 12시 점심이나 버퍼가없고 60 분 최소 초점 블록.
1 월 1, 2026에 초점 시간의 6 시간. 블록을 먼저 표시합니다. "
MCP 클라이언트는 전화할 수 있습니다:
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
calendar-mcp
An MCP server that gives an LLM client read and write access to your Google Calendar. It runs as a single process — stdio by default, streamable HTTP optionally — and exposes 23 tools with structured output: listing and searching calendars and events, creating, updating, moving, RSVPing to and deleting events, free/busy queries, busyness analysis, recurring-event projection, and finding a mutual slot and booking it. On top of that it has a scheduling brain that knows your working hours: finding and booking focus time, detecting double-bookings across several accounts at once, proposing better times for a meeting, and auditing where your week actually went. Authentication is Google OAuth 2.0 (Desktop app flow); tokens are cached locally, per account, and refreshed automatically.
A calendar task, end to end
Synthetic example, backed by offline tests; no real calendar data or live booking. Assume Thursday working hours of 09:00–17:00 UTC, one meeting at 11:00–12:00, no lunch or buffer, and a 60-minute minimum focus block.
“Find six hours of focus time on January 1, 2026. Show me the blocks first.”
An MCP client can call:
{
"tool": "block_focus_time",
"arguments": {
"time_min": "2026-01-01T00:00:00Z",
"time_max": "2026-01-02T00:00:00Z",
"hours_needed": 6,
"dry_run": true
}
}
The preview selects 09:00–10:00 and 12:00–17:00: six hours, with the last
selected block trimmed to the remaining hour. Both events have created: false.
After the user approves the times, the client can call with dry_run: false;
availability is read again before creating events. A preview does not reserve a slot.
Design decision: unknown availability is not free time. If a checked calendar
returns an access error, disappears from the response, or has unreadable busy
intervals, focus search and booking return an error before writing anything.
The same check protects mutual scheduling and reschedule suggestions/application.
For example, a notFound response for [email protected] becomes:
Availability is unknown: [email protected]: notFound. No scheduling changes were made.
Restore calendar access or retry the query.
Reproduce the preview and the safety regression without Google credentials (after the development install):
pytest -q tests/test_scheduling.py -k 'focus_time_dry_run or focus_refuses_unknown'
The regression verifies that partial, missing and errored availability never
calls create_event, in both preview and booking modes. Successful empty busy
lists still mean genuinely free time. Availability checks and writes are separate
Google API calls, so another client can still book a competing event between them.
Quick start
설치
uvx calendar-mcp-server설정
{
"mcpServers": {
"calendar": {
"command": "uvx",
"args": ["calendar-mcp-server"],
"env": {
"GOOGLE_CLIENT_ID": "...",
"GOOGLE_CLIENT_SECRET": "...",
"TOKEN_FILE_PATH": "/absolute/path/to/.gcp-saved-tokens.json"
}
}
}
}