feat: Integrate MCP servers for enhanced capabilities

This commit is contained in:
duthaho
2025-12-06 18:11:48 +07:00
parent 3c224790f9
commit 0ff5ae4082
28 changed files with 1958 additions and 72 deletions
+2 -36
View File
@@ -23,48 +23,14 @@
],
"deny": []
},
"mcpServers": {
"_comment": "Uncomment servers to enable. See .claude/mcp/README.md for setup.",
"_context7": {
"command": "npx",
"args": ["-y", "@context7/mcp-server"]
},
"_sequential": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-sequential-thinking"]
},
"_puppeteer": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-puppeteer"]
},
"_magic": {
"command": "npx",
"args": ["-y", "@anthropic/magic-mcp-server"]
}
},
"hooks": {
"PostToolUse": [
{
"matcher": {
"tool": "Write",
"files": ["*.py"]
},
"matcher": "Write",
"hooks": [
{
"type": "command",
"command": "ruff check --fix $FILE 2>/dev/null || true"
}
]
},
{
"matcher": {
"tool": "Write",
"files": ["*.ts", "*.tsx"]
},
"hooks": [
{
"type": "command",
"command": "npx eslint --fix $FILE 2>/dev/null || true"
"command": "if [[ \"$FILE\" == *.py ]]; then ruff check --fix \"$FILE\" 2>/dev/null || true; elif [[ \"$FILE\" == *.ts || \"$FILE\" == *.tsx ]]; then npx eslint --fix \"$FILE\" 2>/dev/null || true; fi"
}
]
}