mirror of
https://github.com/duthaho/claudekit.git
synced 2026-07-15 12:15:17 +03:00
feat: Integrate MCP servers for enhanced capabilities
This commit is contained in:
+2
-36
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user