[]
Version Notes
As of June 18, 2026, Gemini CLI has ended its personal-use service and has been integrated into and migrated to Antigravity CLI. Migration from Gemini CLI
If you are using the previous version of Gemini CLI, please refer to Gemini CLI.
You can configure Antigravity CLI (agy) either from the terminal or by directly editing ~/.gemini/config/mcp_config.json.
Using the terminal command is recommended because it automatically updates your configuration.
1. Open a terminal.
2. Run the following command:
agy mcp add --header "Authorization: Bearer <YOUR_MCP_TOKEN>" spreadjs-mcp https://mcp.mescius.jp/mcp/spreadjs
3. Verify the configuration:
agy mcp list
You can also run /mcp inside Antigravity CLI to check the server status and available tools.
Note
Options such as
--headermust be placed before the server name (spreadjs-mcp). Placing them after the server name will result in an error.
agy mcp listdoes not verify whether your token is valid. If the token is invalid, no error is displayed, and the tools will simply be unavailable. If the SpreadJS MCP tools (overview,setup,search,fetch) do not appear under/mcp, please check your token.
mcp_config.json1. Open ~/.gemini/config/mcp_config.json (on Windows: %USERPROFILE%\.gemini\config\mcp_config.json; create the file if it does not exist).
2. Add the MCP server configuration:
{
"mcpServers": {
"spreadjs-mcp": {
"serverUrl": "https://mcp.mescius.jp/mcp/spreadjs",
"headers": {
"Authorization": "Bearer <YOUR_MCP_TOKEN>"
},
"timeoutSeconds": 30
}
}
}3. Restart Antigravity CLI.
Note
Specify the remote MCP server URL using
serverUrl(orurl). ThehttpUrlfield used in Gemini CLI is not supported.Specify the timeout using
timeoutSeconds(in seconds). Note that the unit differs from Gemini CLI'stimeout(in milliseconds).
Reference: Model Context Protocol (MCP) - Google Antigravity Docs