From c4f4b80836b5cb54d789d604433c9bca14a1c66e Mon Sep 17 00:00:00 2001 From: xnm Date: Sun, 24 Aug 2025 03:26:43 +0300 Subject: [PATCH] =?UTF-8?q?feat(config):=20=F0=9F=8E=89=20Add=20crush.json?= =?UTF-8?q?=20configuration=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add initial configuration for Crush CLI tool with LSP and MCP server support: **LSP Servers:** - TypeScript/JavaScript (typescript-language-server) - Rust (rust-analyzer) - Nix (nil) **MCP Servers:** - Context7 search - Playwright testing - SearXNG search - Git operations - Time utilities - Sequential thinking - NixOS tools - Kubernetes - Filesystem access Configuration includes proper schema reference and environment setup for local SearXNG instance. --- home/.config/crush/crush.json | 103 ++++++++++++++++++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 home/.config/crush/crush.json diff --git a/home/.config/crush/crush.json b/home/.config/crush/crush.json new file mode 100644 index 0000000..5bcd9e6 --- /dev/null +++ b/home/.config/crush/crush.json @@ -0,0 +1,103 @@ +{ + "$schema": "https://charm.land/crush.json", + "lsp": { + "typescript": { + "command": "typescript-language-server", + "args": [ + "--stdio" + ] + }, + "javascript": { + "command": "typescript-language-server", + "args": [ + "--stdio" + ] + }, + "rust": { + "command": "rust-analyzer" + }, + "nix": { + "command": "nil" + } + }, + "mcp": { + "context7": { + "type": "stdio", + "command": "npx", + "args": [ + "-y", + "@upstash/context7-mcp" + ] + }, + "playwright": { + "type": "stdio", + "command": "npx", + "args": [ + "-y", + "@playwright/mcp" + ] + }, + "searxng": { + "type": "stdio", + "command": "npx", + "args": [ + "-y", + "mcp-searxng" + ], + "env": { + "SEARXNG_URL": "http://127.0.0.1:7777" + } + }, + "git": { + "type": "stdio", + "command": "uvx", + "args": [ + "--python", + "/run/current-system/sw/bin/python", + "mcp-server-git" + ] + }, + "time": { + "type": "stdio", + "command": "uvx", + "args": [ + "--python", + "/run/current-system/sw/bin/python", + "mcp-server-time" + ] + }, + "sequential-thinking": { + "type": "stdio", + "command": "npx", + "args": [ + "-y", + "@modelcontextprotocol/server-sequential-thinking" + ] + }, + "nixos": { + "type": "stdio", + "command": "uvx", + "args": [ + "--python", + "/run/current-system/sw/bin/python", + "mcp-nixos" + ] + }, + "k8s": { + "type": "stdio", + "command": "npx", + "args": [ + "@strowk/mcp-k8s" + ] + }, + "filesystem": { + "type": "stdio", + "command": "npx", + "args": [ + "-y", + "@modelcontextprotocol/server-filesystem", + "/home/xnm" + ] + } + } +} \ No newline at end of file