eventcmdhub adapter
Microsoft Calendar CLI
for cmdhub.
Outlook calendars, events, free/busy windows, and open slots through Microsoft Graph.
lock
Auth: OAuth2
Quick Install
cmdhub get mscal
terminal Command Reference
Generated from source. Global flags apply to all commands.
Global Flags
--config
string
Config path override--cursor
string
Continuation cursor--debug
bool
Enable debug diagnostics--json
bool
Alias for --output json--jsonl
bool
Alias for --output jsonl--limit
int = 50
Maximum items to emit--no-paginate
bool
Fetch only one page--output, -o
string = human
Output mode: human|json|jsonl--page-size
int = 50
Requested upstream page size--profile
string = default
Config/auth profile--quiet, -q
bool
Suppress non-essential diagnostics--trace-id
string
Trace identifier--view
string = summary
View mode: summary|fullmscal auth — Manage Microsoft Outlook Calendar authentication
mscal auth login
Authenticate with Microsoft Outlook Calendarmscal auth logout
Remove stored credentialsmscal auth refresh
Refresh stored tokenmscal auth status
Show auth statusmscal auth whoami
Show current calendar identitymscal calendar — Manage calendars
mscal calendar get
Get a calendarmscal calendar list
List calendarsmscal calendar search
Search calendars by summary--query
string
Search textmscal capabilities
Describe mscal capabilitiesmscal doctor
Run mscal diagnosticsmscal event — Manage calendar events
mscal event create
Create an event--all-day
bool
All-day event--calendar
string = primary
Calendar selector--description
string
Description--duration
string
Duration--end
string
Event end--location
string
Location--start
string
Event start--title
string
Event titlemscal event delete
Delete an event--calendar
string
Optional calendar selectormscal event get
Get an event--calendar
string
Optional calendar selectormscal event list
List events--calendar
string = primary
Calendar selector--from
string
Start time--to
string
End time--today
bool
Today window--tomorrow
bool
Tomorrow window--week
bool
Week windowmscal event quick-add
Create an event from natural text--calendar
string = primary
Calendar selector--text
string
Quick-add textmscal event search
Search events--calendar
string = primary
Calendar selector--from
string
Start time--query
string
Search query--to
string
End timemscal event update
Update an event--all-day
bool
All-day event--calendar
string
Optional calendar selector--description
string
Description--duration
string
Duration--end
string
Event end--location
string
Location--start
string
Event start--title
string
Event titlemscal freebusy — Inspect busy windows
mscal freebusy get
Get busy windows for calendars--calendar
stringSlice = [primary]
Calendar selectors--from
string
Start time--to
string
End timemscal resolve
Resolve a marker or short idmscal schema
Emit mscal schema hints--in
bool
Show input schema--out
bool
Show output schemamscal slot — Find open slots
mscal slot find
Find open slots across calendars--calendar
stringSlice = [primary]
Calendar selectors--duration
string = 30m
Minimum slot duration--from
string
Start time--to
string
End timemscal version
Show mscal version informationplay_circle Live Examples
Output captured from a real workspace. Regenerate with
scripts/gen-docs.sh --update.
auth
Check current Microsoft calendar identity
$ mscal auth whoami
AUTH_REQUIRED: microsoft grant is missing required scopes: Calendars.ReadWrite
suggestion: run mscal auth login
exit status 10
alt_route Composition Patterns
Bridge your ecosystem with zero middleware.
mscal auth login
# Review today's calendar and inspect one event
mscal event list --today --limit 10
mscal event get e1
# Search, inspect, and resolve through short refs
mscal event search --query "project review" --limit 1 --output jsonl \
| mscal event get
mscal resolve e1
# Create and clean up an event
mscal event create --title "Project review" --start "tomorrow 14:00" --duration 1h
mscal event delete e1