This Flutter app is a test sandbox for exercising the flutter_licences_mcp agentic licence-check workflow. The app itself is intentionally simple — what matters is its pubspec.yaml and the AGENTS.md that governs how AI agents must behave when adding packages to it.
Use this directory to verify that an AI agent correctly:
- Calls
list_licencesbefore touchingpubspec.yaml - Adds a requested dependency
- Calls
check_licence_complianceafter the change - Acts on the result (proceeds, warns, or reverts) according to the policy in
AGENTS.md
flutter pub getRunning the app is not required for licence testing. flutter pub get must be run so that pubspec.lock exists for the MCP tools to inspect.
List all current dependency licences:
Tool: list_licences
Arguments: { "rootDir": "<absolute path to this directory>" }
Check compliance against the project's allowed list:
Tool: check_licence_compliance
Arguments: {
"rootDir": "<absolute path to this directory>",
"allowedLicences": ["MIT", "BSD", "Apache-2.0", "ISC", "Unlicense"]
}
| Package | Licence |
|---|---|
cupertino_icons |
MIT |
http |
BSD-3-Clause |
intl |
BSD-3-Clause |
provider |
MIT |