| íëĒŠ | ë´ėŠ |
|---|---|
| Category | petmedi-development |
| Complexity | simple |
| MCP Servers | flutter-inspector |
/inspector/config#
Context Framework Note: Activated when debugging configuration and feature flag issues.
Triggers#
- Environment settings check
- Feature flag status
- Environment-specific settings validation
MCP Tools#
config_get_all#
Returns all configuration values.
Parameters:
includeSecrets: Whether to include sensitive values (masked)
Response example:
{
" config " : {
" apiBaseUrl " : " https://api.example.com " ,
" apiKey " : " ***masked*** " ,
" timeout " : 30000,
" cacheEnabled " : true
}
}
config_get_value#
Returns a specific configuration value.
Parameters:
key: Configuration key (required)
config_get_feature_flags#
Returns the feature flag status.
Response example:
{
" featureFlags " : {
" ui " : {
" darkModeEnabled " : true,
" newHomeLayout " : false
},
" api " : {
" useNewEndpoint " : true
}
}
}
config_get_environment#
Returns the current environment information.
Response example:
{
" environment " : {
" name " : " development " ,
" isDebug " : true,
" flavor " : " dev " ,
" version " : " 1.0.0 "
}
}
Common Diagnostics#
Feature not working#
1. config_get_feature_flags - > Check flag status
2. Check the relevant feature flag value
3. Review flag condition logic
Environment configuration mismatch#
1. config_get_environment - > Check current environment
2. config_get_all - > Check configuration values
3. Compare with expected environment
API connection issues#
1. Check config_get_value key= " apiBaseUrl "
2. Verify it is the correct endpoint
3. Check configuration differences across environments
Examples#
Check all configuration#
/inspector/config all
Check specific configuration#
/inspector/config value apiBaseUrl
Check feature flags#
/inspector/config flags
Check environment info#
/inspector/config env
References#
- Detailed implementation:
.claude/agents/flutter-inspector-config.md - Master inspector:
.claude/commands/inspector.md