Format Javascript Files
MCP Serverby aitmpl.com · Added 5mo ago
Claude
492
Install
See GitHub for installationQuick Setup Config
Copy & paste ready~/Library/Application Support/Claude/claude_desktop_config.json (macOS) %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"format-javascript-files": {
"command": "npx",
"args": [
"format-javascript-files"
]
}
}
}Paste into your Claude Desktop config file, then restart Claude.
About
Automatically format JavaScript/TypeScript files after any Edit operation using prettier. This hook runs 'npx prettier --write' on any .js, .ts, .jsx, or .tsx file that Claude modifies, ensuring consistent code formatting. Uses npx so prettier doesn't need to be globally installed. Includes error su
Tags
developmenthookaitmplhook