Agent-Native Calendar
Agent-Native Google Calendar - manage events, sync, and public booking
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Schedule a GitHub Projects backlog into Google Calendar, as a CLI or an MCP server.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
GITHUB_TOKEN, GITHUB_PROJECT_ID, CAL_AUTO_TIMEZONE, CAL_AUTO_CONFIG_DIR, CAL_AUTO_WORKING_DAY_START, CAL_AUTO_WORKING_DAY_END, CAL_AUTO_CALENDAR_ID, CAL_AUTO_TASK_LIST_ID, CAL_AUTO_ATTENDEES, CAL_AUTO_SCHEDULABLE_STATUSES, CAL_AUTO_COUNT_ALL_DAY_EVENTSค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"cal-auto-python": {
"command": "uvx",
"args": [
"cal-auto-python"
],
"env": {
"GITHUB_TOKEN": "ใส่ค่าของคุณ",
"GITHUB_PROJECT_ID": "ใส่ค่าของคุณ",
"CAL_AUTO_TIMEZONE": "ใส่ค่าของคุณ",
"CAL_AUTO_CONFIG_DIR": "ใส่ค่าของคุณ",
"CAL_AUTO_WORKING_DAY_START": "ใส่ค่าของคุณ",
"CAL_AUTO_WORKING_DAY_END": "ใส่ค่าของคุณ",
"CAL_AUTO_CALENDAR_ID": "ใส่ค่าของคุณ",
"CAL_AUTO_TASK_LIST_ID": "ใส่ค่าของคุณ",
"CAL_AUTO_ATTENDEES": "ใส่ค่าของคุณ",
"CAL_AUTO_SCHEDULABLE_STATUSES": "ใส่ค่าของคุณ",
"CAL_AUTO_COUNT_ALL_DAY_EVENTS": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add cal-auto-python --env GITHUB_TOKEN='ใส่ค่าของคุณ' --env GITHUB_PROJECT_ID='ใส่ค่าของคุณ' --env CAL_AUTO_TIMEZONE='ใส่ค่าของคุณ' --env CAL_AUTO_CONFIG_DIR='ใส่ค่าของคุณ' --env CAL_AUTO_WORKING_DAY_START='ใส่ค่าของคุณ' --env CAL_AUTO_WORKING_DAY_END='ใส่ค่าของคุณ' --env CAL_AUTO_CALENDAR_ID='ใส่ค่าของคุณ' --env CAL_AUTO_TASK_LIST_ID='ใส่ค่าของคุณ' --env CAL_AUTO_ATTENDEES='ใส่ค่าของคุณ' --env CAL_AUTO_SCHEDULABLE_STATUSES='ใส่ค่าของคุณ' --env CAL_AUTO_COUNT_ALL_DAY_EVENTS='ใส่ค่าของคุณ' -- uvx cal-auto-pythonเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"cal-auto-python": {
"command": "uvx",
"args": [
"cal-auto-python"
],
"env": {
"GITHUB_TOKEN": "ใส่ค่าของคุณ",
"GITHUB_PROJECT_ID": "ใส่ค่าของคุณ",
"CAL_AUTO_TIMEZONE": "ใส่ค่าของคุณ",
"CAL_AUTO_CONFIG_DIR": "ใส่ค่าของคุณ",
"CAL_AUTO_WORKING_DAY_START": "ใส่ค่าของคุณ",
"CAL_AUTO_WORKING_DAY_END": "ใส่ค่าของคุณ",
"CAL_AUTO_CALENDAR_ID": "ใส่ค่าของคุณ",
"CAL_AUTO_TASK_LIST_ID": "ใส่ค่าของคุณ",
"CAL_AUTO_ATTENDEES": "ใส่ค่าของคุณ",
"CAL_AUTO_SCHEDULABLE_STATUSES": "ใส่ค่าของคุณ",
"CAL_AUTO_COUNT_ALL_DAY_EVENTS": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"cal-auto-python": {
"type": "stdio",
"command": "uvx",
"args": [
"cal-auto-python"
],
"env": {
"GITHUB_TOKEN": "ใส่ค่าของคุณ",
"GITHUB_PROJECT_ID": "ใส่ค่าของคุณ",
"CAL_AUTO_TIMEZONE": "ใส่ค่าของคุณ",
"CAL_AUTO_CONFIG_DIR": "ใส่ค่าของคุณ",
"CAL_AUTO_WORKING_DAY_START": "ใส่ค่าของคุณ",
"CAL_AUTO_WORKING_DAY_END": "ใส่ค่าของคุณ",
"CAL_AUTO_CALENDAR_ID": "ใส่ค่าของคุณ",
"CAL_AUTO_TASK_LIST_ID": "ใส่ค่าของคุณ",
"CAL_AUTO_ATTENDEES": "ใส่ค่าของคุณ",
"CAL_AUTO_SCHEDULABLE_STATUSES": "ใส่ค่าของคุณ",
"CAL_AUTO_COUNT_ALL_DAY_EVENTS": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
CAL_AUTO_CONFIG_DIR envCAL_AUTO_WORKING_DAY_START envCAL_AUTO_WORKING_DAY_END envCAL_AUTO_CALENDAR_ID envCAL_AUTO_TASK_LIST_ID envCAL_AUTO_ATTENDEES envCAL_AUTO_SCHEDULABLE_STATUSES envCAL_AUTO_COUNT_ALL_DAY_EVENTS envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub danielsousaoliveira ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: GITHUB_TOKEN, GITHUB_PROJECT_ID, CAL_AUTO_TIMEZONE
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.0) เข้า registry 2 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี Agent-Native Calendar, Excel MCP Server, MCP Server for Excel
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
Agent-Native Google Calendar - manage events, sync, and public booking
ให้ AI สร้างและแก้ไฟล์ Excel ได้เอง ทั้งสูตร กราฟ และ PivotTable โดยไม่ต้องมีโปรแกรม Excel ในเครื่อง
Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
mcp-name: io.github.danielsousaoliveira/cal-auto-python
An MCP server that connects your GitHub Projects backlog to Google Calendar and Google Tasks. Point your assistant at it and ask it to show what's on your calendar, list your backlog, plan a week of work into your free time, or turn that plan into real events and to-dos.
A backlog board on the left becomes a scheduled week on the right, with each markdown checkbox carried across as its own to-do:
| Before | After |
|---|---|
$ pip install cal-auto-python
This installs the cal-auto-python command, which runs both the CLI and the MCP server.
Before the server can read or write your calendar, you authorise it once against your Google account:
$ cal-auto-python authorize
This opens a browser window, asks you to sign in and grant calendar/tasks access, and stores the resulting token on disk (token.json in the config directory below). Do this before starting the server for the first time, and again any time authorisation expires — see Troubleshooting.
Authorisation needs a Google OAuth client:
credentials.json in the config directory (see Configuration for where that is and how to change it).The server speaks MCP over stdio by default, which is what these clients expect. Every capability behaves the same regardless of client.
Register it in one command:
$ claude mcp add auto-calendar \
-e GITHUB_TOKEN=your_github_token_here \ -e GITHUB_PROJECT_ID=PVT_xxxxxxxxxx \ -e CAL_AUTO_TIMEZONE=Europe/Lisbon \ -- cal-auto-python server
Add -s user to make it available in every project instead of only the current one. To keep the token out of ~/.claude.json and out of the process list, put your settings in a file and pass that instead — note that the path must be absolute, since Claude Code starts the server from whichever directory you launch it in:
$ claude mcp add auto-calendar -- cal-auto-python server --env-file /absolute/path/to/.env
Then /mcp lists the server and its tools, and the prompts appear as /auto-calendar:plan-week and /auto-calendar:whats-scheduled. Use claude mcp list to check registration and claude mcp remove auto-calendar to undo it.
Add to claude_desktop_config.json:
{
"mcpServers": { "auto-calendar": { "command": "cal-auto-python", "args": ["server"], "env": { "GITHUB_TOKEN": "your_github_token_here", "GITHUB_PROJECT_ID": "PVT_xxxxxxxxxx", "CAL_AUTO_TIMEZONE": "Europe/Lisbon" } } } }
Add to .cursor/mcp.json in your project (or the global ~/.cursor/mcp.json):
{
"mcpServers": { "auto-calendar": { "command": "cal-auto-python", "args": ["server"], "env": { "GITHUB_TOKEN": "your_github_token_here", "GITHUB_PROJECT_ID": "PVT_xxxxxxxxxx", "CAL_AUTO_TIMEZONE": "Europe/Lisbon" } } } }
{
"command": "cal-auto-python", "args": ["server"], "env": { "GITHUB_TOKEN": "your_github_token_here", "GITHUB_PROJECT_ID": "PVT_xxxxxxxxxx", "CAL_AUTO_TIMEZONE": "Europe/Lisbon" } }
To poke at the server without a client, point the MCP Inspector at it:
$ npx @modelcontextprotocol/inspector cal-auto-python server
Web-based clients, or anyone wanting to run the server on one machine and talk to it from another, can't launch a stdio child process. For them, run the server over HTTP instead:
$ cal-auto-python server --transport http --host 127.0.0.1 --port 8000
HTTP mode is single-user and intended for local use only. The server reads one person's stored Google authorisation from disk and has no notion of separate users; it adds no authorisation of its own on top of the HTTP endpoint. Exposing it on a shared or public network would hand everyone who can reach it access to that one calendar, so only bind it to 127.0.0.1 or a private, trusted network.
read:project scope (plus repo if the board tracks items in private repositories), or a fine-grained token granted read access to Projects. Set it as GITHUB_TOKEN.PVT_xxxxxxxxxx. Find it by querying the GitHub GraphQL API for the project, or from its URL and the Projects API docs. Set it as GITHUB_PROJECT_ID.| Tool | Arguments | What it does |
|---|---|---|
status | — | Reports which integrations are configured and whether Google authorisation is present. Reveals no secrets. |
list_calendar_entries | start, end (YYYY-MM-DD, inclusive) | Lists calendar events and all-day items in the date range. |
list_todos | — | Lists outstanding (not completed) items from the configured Google Tasks list. |
list_tracker_items | statuses (optional list, e.g. ["Backlog", "In Progress"]) | Lists work items from the GitHub Projects board, optionally filtered by status. Omit to list everything. |
plan_week | items, start_date, end_date, working_day_start, working_day_end, timezone (optional), commitments (optional) | Plans work into free working-hour slots for the given items and existing commitments. Pure computation — does not touch any configured account. |
sync_backlog | start_date, end_date, apply (default false) | Fetches the schedulable backlog, fits it around existing calendar commitments, and returns the result. Previews by default; pass apply=true to create the events and to-dos. Already-scheduled items are skipped. |
create_calendar_entry | summary, start, end, timezone, description (optional), attendees (optional) | Creates one calendar event. Does not schedule or deduplicate. |
create_todo | title, note (optional), due (optional) | Creates one Google Task. Does not deduplicate. |
Two prompts wrap the common workflows, so they show up as one-click starting points in clients that support them (slash commands in Claude Code and Claude Desktop, for instance). Both take optional start_date and end_date (YYYY-MM-DD) and default to the next seven days.
| Prompt | What it asks for |
|---|---|
plan-week | Reads the backlog and existing commitments, previews a schedule, and waits for your confirmation before anything is written. |
whats-scheduled | Summarises calendar entries and outstanding to-dos by day, flagging overloaded days and to-dos with no calendar time. |
The CLI exposes the same scheduling logic directly:
$ cal-auto-python sync --start 2026-08-17 --end 2026-08-21 --apply
sync previews by default; pass --apply to create events and tasks, and --start/--end (YYYY-MM-DD) or --working-day-start/--working-day-end (HH:MM) to override the default range (today plus the next two days) and working hours.
Every variable below is optional except GITHUB_TOKEN, GITHUB_PROJECT_ID, and CAL_AUTO_TIMEZONE, which has no default and must be set.
Configuration is read from the process environment. MCP clients pass these in the env block of their server config. For CLI use you can either export them, or copy .env.example to .env and point the command at it explicitly:
$ cal-auto-python sync --env-file .env
--env-file loads the given file (and only when passed — nothing is read from the working directory automatically). Only CAL_AUTO_* and GITHUB_* keys are applied; anything else in the file is ignored with a warning. Variables already set in the environment win over the file.
| Variable | Default | Purpose |
|---|---|---|
GITHUB_TOKEN | *(required)* | GitHub token used to query the Projects board. |
GITHUB_PROJECT_ID | *(required)* | GitHub Projects V2 node ID of the board to read. |
CAL_AUTO_TIMEZONE | *(required)* | IANA timezone name used to schedule events, e.g. Europe/Lisbon. |
CAL_AUTO_CONFIG_DIR | %APPDATA%\cal-auto-python (Windows), $XDG_CONFIG_HOME/cal-auto-python, or ~/.config/cal-auto-python | Directory holding credentials.json and token.json. |
CAL_AUTO_WORKING_DAY_START | 09:00 | Start of the working day, HH:MM. |
CAL_AUTO_WORKING_DAY_END | 17:00 | End of the working day, HH:MM. |
CAL_AUTO_CALENDAR_ID | primary | Google Calendar ID to schedule events into. |
CAL_AUTO_TASK_LIST_ID | @default | Google Tasks list ID to create tasks in. |
CAL_AUTO_ATTENDEES | *(none)* | Comma-separated email addresses to invite to scheduled events. |
CAL_AUTO_SCHEDULABLE_STATUSES | Backlog | Comma-separated GitHub Project status names to schedule. Must match the board's status names exactly. |
CAL_AUTO_COUNT_ALL_DAY_EVENTS | false | Whether all-day events count against free/busy slots. |
Authorisation error / "Google account has not been authorised" Run cal-auto-python authorize again. This also fixes an expired authorisation that couldn't be refreshed automatically (Google revokes a refresh token after long inactivity or if access is revoked from your Google Account settings) — the server reports this explicitly rather than failing silently.
Events show up at unexpected times Check CAL_AUTO_TIMEZONE. It must be a valid IANA name (e.g. Europe/Lisbon, not CET or a UTC offset) and must match the timezone you actually work in — the scheduler places events using this value, not your system timezone.
`list_tracker_items` or `sync_backlog` return nothing, even though the board has cards CAL_AUTO_SCHEDULABLE_STATUSES (default Backlog) must match your board's status column names exactly, including case. Open the board and copy the status name verbatim, or pass an explicit statuses argument to list_tracker_items to confirm what the board actually reports.
[x] ~~Retrieve project data from github~~ \ [x] ~~Add events and tasks to google calendar~~ \ [x]
ตัดมาแค่ช่วงต้น อ่านต่อใน repo