agy-switch
Monitors and refreshes AI model quota usage from Google Cloud, providing live quota status and reset countdowns for connected accounts.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@agy-switchSwitch active profile to my work account"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ā” agy-switch
The modern multi-account controller, live AI quota monitor, and MCP server for Google Antigravity.
⨠Features
š± Mobile & Desktop Responsive TUI: Automatically adapts to narrow mobile viewports (< 55 cols) on Termux, SSH, and web terminals with zero distortion.
š Mouse & Touch Tap Support: Click or tap directly on any account card in terminal to switch instantly.
ā” Single-Key Quick Switch: Press
1-9to switch active profiles in a single keypress.ā±ļø Live Relative Reset Countdowns: View exact time remaining until quota refresh (e.g.
ā³ Resets in 4h 38m (Sat 05:03 AM)).š Native Antigravity MCP Server: Ask Antigravity in chat to switch accounts or check remaining quota.
š Mobile-Friendly Web Dashboard: Optional browser dashboard (
http://0.0.0.0:7823) with remote QR/browser sign-in.š ļø Scriptable CLI: Full command-line interface with
--jsonsupport for piping into shell scripts.
Related MCP server: google-connections-mcp
šø TUI Preview
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā®
ā ā” AG SWITCHBOARD ā Multi-Account AI Quota Controller ā
ā Select account to activate ⢠Press [a] to add, [d] to remove
ā°āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāÆ
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā®
ā ā
ACTIVE ACCOUNT ā
[1] Zero One (user@gmail.com) [Google AI Pro]
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā¤
ā Claude Sonnet 4.6 āāāāāāāāāā 54% Resets: in 4h 38m (Sat 05:03 AM)
ā Gemini 3.7 Flash āāāāāāāāāā 6% Resets: in 4h 22m (Sat 04:47 AM)
ā°āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāÆ
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā®
ā ā¶ SELECTED [2] Work Account (work@domain.com) [Google AI Pro] [Press 2/ENTER to Switch]
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā¤
ā Claude Sonnet 4.6 āāāāāāāāāā 100% ā Resets: in 18h 59m (Sat 07:26 PM)
ā Gemini 3.7 Flash āāāāāāāāāā 92% Resets: in 4d 11h (Wed 11:58 AM)
ā°āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāÆ
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā®
ā [1-9] Quick Switch [a] Add Account [d] Remove Account [r] Refresh [w] Web Dashboard [q] Exit
ā°āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāÆš Installation & Usage
1. Install Globally (Direct from GitHub)
npm install -g jack101a/agy-switchThen run anytime:
agy-switch2. Run Directly with NPX (Zero install)
npx github:jack101a/agy-switch3. Install from Source
git clone https://github.com/jack101a/agy-switch.git
cd agy-switch
npm install
npm run build
./bin/agy-auth.jsš® Interactive TUI Controls
Hotkey | Action |
| Instant 1-key switch to account |
| Navigate between accounts |
Click / Tap | Select and activate account directly with mouse or touch |
| Activate highlighted account |
| Add new Google account (in-terminal OAuth prompt) |
| Disconnect / remove highlighted account |
| Live refresh quotas from Google Cloud |
| Launch local web dashboard on |
| Exit |
š» CLI Commands
Command | Usage | Description |
|
| Launch full interactive TUI dashboard |
|
| List connected accounts & active status |
|
| Switch active account instantly |
|
| Detailed model quota table with reset countdowns |
|
| Connect a new Google account via OAuth |
|
| Disconnect an account |
|
| Start local web dashboard on port |
|
| Display CLI help menu |
š Antigravity 2.0 MCP Integration
Add agy-switch to your ~/.gemini/config/mcp_config.json (or Claude Desktop / Cursor):
{
"mcpServers": {
"agy-switch": {
"command": "node",
"args": ["/path/to/agy-switch/dist/mcp-server.js"]
}
}
}Now you can control accounts directly in your AI chat:
"What is my remaining quota on Claude and Gemini?"
"Switch active account to Zero One"
"List all connected accounts"
š License
MIT Ā© 2026 Antigravity Community
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Manage tasks, Focus Zone, notes, projects, and task history from compatible AI assistants.
Google NotebookLM via natural language: create notebooks, add sources (PDF, URL, YouTube) and ask gr
Provides capabilities that let LLM agents perform a range of infrastructure management tasks.
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables AI assistants to interact with Google Cloud Platform resources through natural language queries. Supports querying and managing GCP services like Compute Engine, Cloud Storage, BigQuery, and more across multiple projects and regions.99,698MIT
- FlicenseNot gradedqualityDmaintenanceProvides AI assistants with access to Google Workspace APIs including Sheets, Calendar, Gmail, Tasks, Drive, and Docs. Enables full CRUD operations and management of Google services through natural language.1-
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to control Google Workspace services (Slides, Sheets, Drive) through natural language.637ISC
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage Google Business Profiles by creating posts, replying to reviews, listing locations, and more through natural language commands.1-
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jack101a/agy-switch'
If you have feedback or need assistance with the MCP directory API, please join our Discord server