| ํญ๋ชฉ | ๋ด์ฉ |
|---|---|
| Invoke | /inspector:config |
| Category | kobic-development |
| Complexity | simple |
| MCP Servers | flutter-inspector |
/inspector:config โ ์ฑ ์ค์ ยท๊ธฐ๋ฅ ์ค์์น ์ ๊ฒ๊ธฐ#
ํ๋ง๋๋ก#
์คํ ์ค์ธ ์ฑ์ด ์ง๊ธ ์ด๋ค ์ค์ ๊ฐ์ผ๋ก ๋์๊ฐ๊ณ ์๋์ง ๋ค์ฌ๋ค๋ณด๋ ๋๊ตฌ์ ๋๋ค. ๊ฑด๋ฌผ์ ๋๊บผ๋น์ง(๋ฐฐ์ ๋ฐ)์ ์ด์ด "์ด๋ค ์ค์์น๊ฐ ์ผ์ ธ ์๊ณ , ์ด๋ ์ฝ์ผํธ์ ์ฐ๊ฒฐ๋ผ ์๋์ง" ํ์ธํ๋ ๊ฒ๊ณผ ๊ฐ์์.
๋๊ฐยท์ธ์ ์ฐ๋์#
- "๋ถ๋ช ํ ์ผฐ๋๋ฐ ๊ทธ ๊ธฐ๋ฅ์ด ์ ๋ณด์ฌ์" โ ๊ธฐ๋ฅ ์ค์์น(feature flag)๊ฐ ์ง์ง ์ผ์ ธ ์๋์ง ํ์ธํ๊ณ ์ถ์ ๋
- "๊ฐ๋ฐ์ฉ์ธ๋ฐ ์ด์ ์ค์ ์ผ๋ก ์ผ์ง ๊ฒ ๊ฐ์์" โ ์ง๊ธ ์ฑ์ด ๊ฐ๋ฐ/์ด์ ์ค ์ด๋ค ํ๊ฒฝ์ผ๋ก ๋๊ณ ์๋์ง ํท๊ฐ๋ฆด ๋
- "์ธ๋ถ ์๋ฒ ์ฐ๊ฒฐ์ด ์ ๋ผ์" โ ์ฑ์ด ๋ฐ๋ผ๋ณด๋ ์ฃผ์(API ์ฃผ์)๊ฐ ๋ง๋์ง ์ ๊ฒํ ๋
๋ฌด์์ ํด์ฃผ๋์#
์คํ ์ค์ธ ์ฑ์์ ๋ค์์ ๊ทธ ์๋ฆฌ์์ ์ฝ์ด ๋ณด์ฌ์ค๋๋ค.
- ์ ์ฒด ์ค์ ๊ฐ โ ์ฑ์ด ์ฐ๋ ๋ชจ๋ ์ค์ ์ ํ๋์ (๋น๋ฐ๋ฒํธยทํค ๊ฐ์ ๋ฏผ๊ฐ ๊ฐ์
***masked***๋ก ๊ฐ๋ ค์ ์์ ํ๊ฒ) - ํน์ ์ค์ ๊ฐ โ ๊ถ๊ธํ ํญ๋ชฉ ํ๋๋ง ์ฝ ์ง์ด์ (์: ์ธ๋ถ ์๋ฒ ์ฃผ์
apiBaseUrl) - ๊ธฐ๋ฅ ์ค์์น ์ํ โ ์ด๋ค ๊ธฐ๋ฅ์ด ์ผ์ ธ(on) ์๊ณ ๊บผ์ ธ(off) ์๋์ง (์: ๋คํฌ ๋ชจ๋, ์ ํ ํ๋ฉด)
- ํ์ฌ ํ๊ฒฝ ์ ๋ณด โ ์ง๊ธ์ด ๊ฐ๋ฐ(
development)์ธ์ง ์ด์์ธ์ง, ๋ฒ์ ์ ๋ช์ธ์ง
์ด๋ป๊ฒ ์ฐ๋์#
# ๋ชจ๋ ์ค์ ๊ฐ ํ ๋ฒ์ ๋ณด๊ธฐ
/inspector/config all
# ํน์ ์ค์ ๊ฐ ํ๋๋ง ๋ณด๊ธฐ (์: ์ธ๋ถ ์๋ฒ ์ฃผ์)
/inspector/config value apiBaseUrl
# ๊ธฐ๋ฅ ์ค์์น(์ผ์ง/๊บผ์ง) ์ํ ๋ณด๊ธฐ
/inspector/config flags
# ํ์ฌ ํ๊ฒฝ ์ ๋ณด ๋ณด๊ธฐ (๊ฐ๋ฐ/์ด์, ๋ฒ์ ๋ฑ)
/inspector/config env
all์ ์ ์ฒด, value๋ ํ ํญ๋ชฉ๋ง, flags๋ ๊ธฐ๋ฅ ์ค์์น, env๋ ํ๊ฒฝ ์ ๋ณด๋ฅผ ๋ด
๋๋ค. ์ํฉ์ ๋ง๋ ๊ฒ ํ๋๋ง ๊ณจ๋ผ ์ฐ๋ฉด ๋ฉ๋๋ค.
์์์ ๋ฌด์จ ์ผ์ด ๋ฒ์ด์ง๋์#
๋ํ์ ์ธ ๋ฌธ์ ์ํฉ๋ณ๋ก ์ ๊ฒ ์์๊ฐ ์ ํด์ ธ ์์ต๋๋ค.
- ๊ธฐ๋ฅ์ด ์ ์ผ์ง ๋: ๊ธฐ๋ฅ ์ค์์น ๋ชฉ๋ก์ ๋ถ๋ฌ์ ํด๋น ์ค์์น๊ฐ ์ผ์ ธ ์๋์ง, ์ผ์ง๋ ์กฐ๊ฑด์ด ๋ง๋์ง ์ฐจ๋ก๋ก ํ์ธํฉ๋๋ค.
- ํ๊ฒฝ ์ค์ ์ด ์ด๊ธ๋ ๊ฒ ๊ฐ์ ๋: ํ์ฌ ํ๊ฒฝ์ ๋จผ์ ํ์ธํ๊ณ , ์ ์ฒด ์ค์ ๊ฐ์ ๋ถ๋ฌ์ "์๋ ๊ธฐ๋ํ๋ ํ๊ฒฝ"๊ณผ ๋น๊ตํฉ๋๋ค.
- ์ธ๋ถ ์ฐ๊ฒฐ์ด ์ ๋ ๋: ์๋ฒ ์ฃผ์(
apiBaseUrl)๊ฐ ์ฌ๋ฐ๋ฅธ ๊ณณ์ ๊ฐ๋ฆฌํค๋์ง ๋ณด๊ณ , ํ๊ฒฝ๋ณ๋ก ์ค์ ์ด ๋ค๋ฅธ์ง ์ ๊ฒํฉ๋๋ค.
โ๏ธ ์์ธ ์ต์ ยท์คํ ๋ช ์ธ (๊ฐ๋ฐ์ / AI ์์ด์ ํธ์ฉ)
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 logicEnvironment configuration mismatch#
1. config_get_environment - > Check current environment
2. config_get_all - > Check configuration values
3. Compare with expected environmentAPI connection issues#
1. Check config_get_value key= " apiBaseUrl "
2. Verify it is the correct endpoint
3. Check configuration differences across environmentsExamples#
Check all configuration#
/inspector/config allCheck specific configuration#
/inspector/config value apiBaseUrlCheck feature flags#
/inspector/config flagsCheck environment info#
/inspector/config envReferences#
- Detailed implementation:
.claude/agents/flutter-inspector-config.md - Master inspector:
.claude/commands/inspector.md