Remove .claude personal config from repository and add to gitignore
Security fix: .claude/mcp-servers.json contained plain-text passwords: - MySQL dev password: shopdb-dev-password - VM SSH password: vos313 (SupportUser and shopfloor accounts) These credentials are now in GitHub history and should be rotated. Changes: - Add .claude/settings*.json and mcp-servers.json to .gitignore - Remove these files from git tracking (files remain locally) - Keep shared team resources: skills/, plans/, setup/, maintenance/ These are personal/machine-specific configuration: - settings.json: Personal hooks (stop-dev.cmd), preferences - mcp-servers.json: Local paths, database credentials, SSH passwords Each developer should configure their own .claude/ settings locally. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,44 +0,0 @@
|
||||
{
|
||||
"mcpServers": {
|
||||
"gortex": {
|
||||
"command": "C:\\Users\\270015376\\Documents\\gortex.exe",
|
||||
"args": ["mcp"],
|
||||
"cwd": "C:\\Users\\270015376\\Documents\\github\\flask-shopdb"
|
||||
},
|
||||
"mysql": {
|
||||
"command": "npx",
|
||||
"args": [
|
||||
"-y",
|
||||
"@benborla29/mcp-server-mysql",
|
||||
"mysql://shopdb:shopdb-dev-password@127.0.0.1:3306/shopdb_flask"
|
||||
]
|
||||
},
|
||||
"browser": {
|
||||
"command": "npx",
|
||||
"args": [
|
||||
"-y",
|
||||
"@agent-infra/mcp-server-browser"
|
||||
]
|
||||
},
|
||||
"vm": {
|
||||
"command": "npx",
|
||||
"args": [
|
||||
"-y",
|
||||
"ssh-mcp",
|
||||
"--host", "192.168.100.10",
|
||||
"--user", "SupportUser",
|
||||
"--password", "vos313"
|
||||
]
|
||||
},
|
||||
"vm-shopfloor": {
|
||||
"command": "npx",
|
||||
"args": [
|
||||
"-y",
|
||||
"ssh-mcp",
|
||||
"--host", "192.168.100.10",
|
||||
"--user", "shopfloor",
|
||||
"--password", "vos313"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
{
|
||||
"permissions": {
|
||||
"allow": [
|
||||
"Bash(npm search *)"
|
||||
]
|
||||
},
|
||||
"context": {
|
||||
"alwaysInclude": [
|
||||
".claude/INDEX.md",
|
||||
".claude/plans/TOOL-ENGAGEMENT-PROTOCOL.md"
|
||||
]
|
||||
},
|
||||
"hooks": {
|
||||
"SessionEnd": [{
|
||||
"type": "command",
|
||||
"command": "cmd /c stop-dev.cmd"
|
||||
}]
|
||||
},
|
||||
"enableAllProjectMcpServers": true
|
||||
}
|
||||
5
.gitignore
vendored
5
.gitignore
vendored
@@ -165,3 +165,8 @@ stop-dev.cmd
|
||||
# Not product source; developer-local utilities.
|
||||
scripts/.temp/
|
||||
scripts/docs/
|
||||
|
||||
# Claude Code personal configuration (machine-specific)
|
||||
.claude/settings.json
|
||||
.claude/settings.local.json
|
||||
.claude/mcp-servers.json
|
||||
|
||||
Reference in New Issue
Block a user