feat(mcp): improve MCP server configuration with environment variables #202
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.
What & Why
What: Enhanced MCP server configuration with proper environment variable handling and additional server support
Why: Improves Claude Code integration by adding missing MCP servers and implementing secure environment variable management
Pre-PR Checklist
Run these:
pnpm type-checkpnpm format:checkpnpm lintpnpm buildpnpm i18n:check(not applicable)Type
Changes Made
🔧 MCP Server Configuration (.mcp.json)
filesystem,github,fetch,playwright,ide-yflag to allnpxcommands for automatic package installation confirmation🔑 Environment Variable Management (.claude/settings.json)
enabledMcpjsonServersarraysettings.local.json🐛 Bug Fix (.gitignore)
\!env.example→\!.env.exampleSecurity & Best Practices
✅ Environment variables use placeholder values in committed files
✅ Real tokens should be configured in
.claude/settings.local.json(git-ignored)✅ Follows Claude Code best practices for project-level MCP configuration
✅ Comprehensive documentation for team onboarding
Testing & Validation
All MCP servers tested and verified working:
Impact
🚀 Enhanced Development Experience: Developers now have access to 8 MCP servers instead of 3
🔒 Improved Security: Proper environment variable handling prevents token leakage
📖 Better Onboarding: Comprehensive documentation for new team members
⚡ Increased Productivity: More AI-powered development tools available through Claude Code