Check and configure MCP servers for project integration
Validates and configures project-scoped MCP servers with environment variable management.
/plugin marketplace add laurigates/claude-plugins/plugin install configure-plugin@lgates-claude-plugins[--check-only] [--fix] [--server <name>]configure/Check and configure Model Context Protocol (MCP) servers for this project.
This command validates MCP server configuration and installs servers from the favorites registry.
MCP Philosophy: Servers are managed project-by-project to avoid context bloat:
~/.claude/settings.json) - Bloated context everywhere.mcp.json) - Clean context, explicit dependencies, team-shareableCheck for existing MCP configuration:
| File | Purpose | Status |
|---|---|---|
.mcp.json | Project MCP configuration | EXISTS / MISSING |
~/.claude/settings.json | User-level MCP (discouraged) | CHECK |
For existing .mcp.json, analyze:
Currently Installed Servers: List each server with:
MCP Configuration Report
========================
Project: [name]
Config file: .mcp.json
Installed Servers:
github go run [✅ CONFIGURED | ⚠️ NEEDS GITHUB_TOKEN]
playwright bunx [✅ CONFIGURED]
pal uvx [✅ CONFIGURED]
context7 bunx [✅ CONFIGURED]
Environment Variables:
GITHUB_TOKEN ~/.api_tokens [✅ SET | ❌ MISSING]
ARGOCD_SERVER project .env [✅ SET | ❌ MISSING]
ARGOCD_AUTH_TOKEN project .env [✅ SET | ❌ MISSING]
Git Tracking:
.mcp.json .gitignore [✅ IGNORED | ⚠️ TRACKED | ❌ NOT FOUND]
Overall: [X issues found]
Recommendations:
- Add 'github' server for GitHub API integration
- Set GITHUB_TOKEN in ~/.api_tokens
- Add .mcp.json to .gitignore for personal projects
From dotfiles favorites registry (~/.local/share/chezmoi/.chezmoidata.toml):
Memory & Knowledge:
graphiti-memory - Graph-based memory and knowledge managementcontext7 - Upstash context managementTesting & Automation:
playwright - Browser automation and testingVersion Control:
github - GitHub API integration (issues, PRs, repos)Productivity:
pal - PAL (Provider Abstraction Layer) - Multi-provider LLM integrationpodio-mcp - Podio project management integrationInfrastructure & Monitoring:
argocd-mcp - ArgoCD GitOps deployment managementsentry - Sentry error tracking and monitoringAI Enhancement:
sequential-thinking - Enhanced reasoning with sequential thinking{
"graphiti-memory": {
"command": "npx",
"args": ["-y", "@getzep/graphiti-mcp-server"],
"env": { "GRAPHITI_API_KEY": "${GRAPHITI_API_KEY}" }
},
"pal": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/BeehiveInnovations/pal-mcp-server.git",
"pal-mcp-server"
]
},
"playwright": {
"command": "bunx",
"args": ["-y", "@playwright/mcp@latest"]
},
"context7": {
"command": "bunx",
"args": ["-y", "@upstash/context7-mcp"]
},
"github": {
"command": "go",
"args": [
"run",
"github.com/github/github-mcp-server/cmd/github-mcp-server@latest",
"stdio"
]
},
"podio-mcp": {
"command": "bunx",
"args": ["https://github.com/ForumViriumHelsinki/podio-mcp"],
"env": {
"PODIO_CLIENT_ID": "${PODIO_CLIENT_ID}",
"PODIO_CLIENT_SECRET": "${PODIO_CLIENT_SECRET}",
"PODIO_APP_ID": "${PODIO_APP_ID}",
"PODIO_APP_TOKEN": "${PODIO_APP_TOKEN}"
}
},
"argocd-mcp": {
"command": "bunx",
"args": ["-y", "argocd-mcp@latest", "stdio"],
"env": {
"ARGOCD_SERVER": "${ARGOCD_SERVER}",
"ARGOCD_AUTH_TOKEN": "${ARGOCD_AUTH_TOKEN}"
}
},
"sequential-thinking": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-sequential-thinking"]
}
}
Ask which servers to install (unless --server specified):
playwright.config.* exists)Create/update .mcp.json:
Handle environment variables:
~/.api_tokens or project .envGit tracking recommendation:
.gitignore (keep API configs local)| Server | Required Variables | Where to Set |
|---|---|---|
github | GITHUB_TOKEN | ~/.api_tokens |
graphiti-memory | GRAPHITI_API_KEY | ~/.api_tokens |
podio-mcp | PODIO_CLIENT_ID, PODIO_CLIENT_SECRET, PODIO_APP_ID, PODIO_APP_TOKEN | project .env |
argocd-mcp | ARGOCD_SERVER, ARGOCD_AUTH_TOKEN | project .env |
sentry | SENTRY_AUTH_TOKEN | ~/.api_tokens |
Never hardcode tokens in .mcp.json - always use ${VAR_NAME} references.
Update .fvh-standards.yaml:
standards_version: "2025.1"
last_configured: "[timestamp]"
components:
mcp: "2025.1"
mcp_servers: ["github", "playwright", "context7"]
mcp_project_scoped: true
MCP Configuration Complete
==========================
Servers Added:
✅ github (requires GITHUB_TOKEN)
✅ playwright
✅ context7
Environment Variables:
⚠️ Set GITHUB_TOKEN in ~/.api_tokens or project .env
Git Tracking:
✅ .mcp.json added to .gitignore
Next Steps:
1. Restart Claude Code to load new MCP servers
2. Set required environment variables
3. Verify servers are loaded (check status bar)
Tip: Run /configure:mcp again to add more servers anytime.
| Flag | Description |
|---|---|
--check-only | Report status without offering to install servers |
--fix | Install specified or suggested servers without prompting |
--server <name> | Install specific server (can be repeated) |
# Check current MCP configuration
/configure:mcp --check-only
# Interactive server installation
/configure:mcp
# Install specific servers automatically
/configure:mcp --fix --server github --server playwright
# Quick add github server
/configure:mcp --server github
.mcp.json: Offer to backup and replace with valid template/configure:all - Run all FVH compliance checks~/.local/share/chezmoi/.chezmoidata.toml