CLI·MCP · Connect agents
Updated November 23, 2026
Let agents like Claude Code and Codex work with your Command tasks, events, and notes. Set it up once, then hand your agent one line.
Before you start
- Node.js 18 or later, and the gcloud CLI
- The Google account you use with Command
- Your own Google Cloud project.
gws, which handles sign-in, ships no shared credentials, so you create them in your project. Someone else's credentials will not work.
Install
- 1Install
gwswithnpm i -g @googleworkspace/cli. - 2Run
gws auth setup --loginto create credentials in your project and sign in. If you see "Google hasn't verified this app", that is because the project is yours. Click Continue. - 3Install
askcowithnpm i -g askewly-command. - 4Run
askco doctor. If something is missing, it prints the exact next command.
Hand it to your agent
Paste this line into your agent's chat.
Read https://dashboard.askewly.com/en/agents.md, then use askco to work with my tasks, events, and notes.Your agent reads the agent guide, checks the setup, and gets to work.
If you get stuck
- If sign-in says "Access blocked", add your account under Test users on the OAuth consent screen in the Google Cloud console.
- If every command returns 403, you are using someone else's credentials. Redo step 2 with your own project.
- Run the command
askco doctorprints at the step where it stops.
Read-only access
Set the environment variable ASKCO_READONLY=1 and only read commands run; write commands are refused before they start. Use read-only for any agent that reads text written by others (web pages, email, invited events).
# macOS · Linux
ASKCO_READONLY=1 askco tasks list
# Windows PowerShell
$env:ASKCO_READONLY = "1"
askco tasks listMCP server (coming soon)
For now, the askco CLI above does the same work.