AG Grid MCP
Use AG Grid MCP to ground AG Grid changes in version-specific documentation and examples. For setup across workspace adapters, see references/aggrid-mcp-config.md.
Required Flow (Do Not Skip)
- Run
detect_versionfirst to infer the AG Grid version and framework from the workspace. - If detection is missing or wrong (monorepo, partial checkout, multiple apps), run
set_versionwith explicitversionandframework. - Use
search_docsfor the exact feature before writing or changing code. - For upgrades, run
list_versions, then execute theupgrade-gridprompt flow fromreferences/aggrid-tools-and-prompts.mdone version step at a time. - Implement changes using project conventions, then validate with build/tests or targeted runtime checks.
Implementation Rules
- Treat MCP output as authoritative for AG Grid APIs and behavior for the selected version.
- Prefer existing wrappers/components over introducing parallel grid abstractions.
- Keep AG Grid Community/Enterprise package usage consistent with the current project.
- Avoid guessing AG Grid APIs; verify with
search_docswhen uncertain. - When changing column definitions, filters, editors, row model behavior, or state handling, include regression-safe validation.
References
references/aggrid-mcp-config.md- adapter-specific MCP setup and verification.references/aggrid-tools-and-prompts.md- AG Grid MCP tools and prompt patterns.