happy_refact
Version:
This MCP server provides the `show_impacted_code` tool to predict the impact of changes to code elements (methods, functions, classes, etc.) when modifying any function or method signature. Instruct AI agent to invoke this tool to identify which files and
62 lines (61 loc) • 1.88 kB
JSON
{
"name": "happy_refact",
"version": "0.2.6",
"private": false,
"publishConfig": {
"access": "public"
},
"description": "This MCP server provides the `show_impacted_code` tool to predict the impact of changes to code elements (methods, functions, classes, etc.) when modifying any function or method signature. Instruct AI agent to invoke this tool to identify which files and elements will be impacted",
"keywords": [
"MCP",
"Refactoring"
],
"homepage": "https://github.com/Fredrik-C/happy_refact#readme",
"bugs": {
"url": "https://github.com/Fredrik-C/happy_refact/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Fredrik-C/happy_refact.git"
},
"license": "MIT",
"author": "Fredrik Claesson",
"type": "module",
"main": "build/src/index.js",
"bin": {
"happy_refact": "build/src/launcher.js"
},
"directories": {
"test": "test"
},
"files": [
"build"
],
"scripts": {
"build": "tsc && node -e \"require('fs').chmodSync('build/src/index.js', '755')\" && node scripts/create-launcher.js",
"watch": "tsc --watch",
"inspector": "npx @modelcontextprotocol/inspector build/index.js",
"test:mcp-client": "node build/test/run_mcp_test_client.js"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.10.2",
"ignore": "^7.0.3",
"tree-sitter": "^0.21.1",
"tree-sitter-c-sharp": "^0.21.0",
"tree-sitter-javascript": "^0.21.4",
"tree-sitter-python": "^0.21.0",
"tree-sitter-typescript": "^0.21.0"
},
"devDependencies": {
"@types/jest": "^29.5.14",
"@types/node": "^20.17.30",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
},
"moduleNameMapper": {
"^../src/(.*)\\.js$": "<rootDir>/src/$1.ts"
},
"transformIgnorePatterns": [
"/node_modules/"
]
}