Repository navigation
feat(dak-setup): update both mcp_config.json and mcp.json for agy-cli. - #592
Open
copybara-service[bot] wants to merge 1 commit into
Open
copybara-service[bot] wants to merge 1 commit into
copybara-service[bot] wants to merge 1 commit into
Conversation
Antigravity CLI 1.5.20 and later follows the Agent Plugins 1.0.0 specification and loads MCP servers from `mcp.json`, whereas older Antigravity CLI versions and non-spec installs read `mcp_config.json`. Previously, `dak-setup` only updated `mcp_config.json` under `agy-cli`, leaving `mcp.json` with unconfigured placeholders and the default user agent on newer CLI releases.
Update `AGENT_MCP_PARAMS` to map each agent to an ordered list of target MCP config specs and configure `agy-cli` to sync both `mcp_config.json` (relative script paths, no `$schema`) and `mcp.json` (`${PLUGIN_ROOT}` paths with the Agent Plugins 1.0.0 `$schema`), both with `datacloud.antigravity` user-agent attribution. Check `$schema` equality in `isEqual` and iterate through all targets without short-circuiting so partial drift in either file is repaired on `sync`, while keeping single-target behavior unchanged for other agents. Regenerate the bundled `dak-setup.js` script.
PiperOrigin-RevId: 1032955984
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat(dak-setup): update both mcp_config.json and mcp.json for agy-cli.
Antigravity CLI 1.5.20 and later follows the Agent Plugins 1.0.0 specification and loads MCP servers from
mcp.json, whereas older Antigravity CLI versions and non-spec installs readmcp_config.json. Previously,dak-setuponly updatedmcp_config.jsonunderagy-cli, leavingmcp.jsonwith unconfigured placeholders and the default user agent on newer CLI releases.Update
AGENT_MCP_PARAMSto map each agent to an ordered list of target MCP config specs and configureagy-clito sync bothmcp_config.json(relative script paths, no$schema) andmcp.json(${PLUGIN_ROOT}paths with the Agent Plugins 1.0.0$schema), both withdatacloud.antigravityuser-agent attribution. Check$schemaequality inisEqualand iterate through all targets without short-circuiting so partial drift in either file is repaired onsync, while keeping single-target behavior unchanged for other agents. Regenerate the bundleddak-setup.jsscript.