# Knip MCP Server ## Knip The Knip MCP Server is powered by Knip: Find unused files, dependencies, and exports in your JavaScript/TypeScript projects. - Website: [knip.dev][1] - GitHub repo: [webpro-nl/knip][2] - Follow [@webpro.nl on Bluesky][3] for updates - Blogpost: [Knip for Editors & Agents][4] - [Sponsor Knip][5] ## VS Code Extension Install the [Knip VS Code Extension][6] or [Knip Open VSX Extension][7] — it comes with the MCP Server included. ## MCP Server Add to your MCP configuration: ```jsonc { // or "mcpServers" "servers": { "knip": { "command": "npx", "args": ["-y", "@knip/mcp"], }, }, } ``` ## Prompts - `knip-configure` — Guided workflow to set up and optimize Knip configuration ## Tools - `knip-run` — Run Knip, returns configuration hints and issues - `knip-docs` — Get Knip documentation by topic ## Resources All pages of the [Knip documentation][1] are available as MCP resources (`knip://docs/{topic}`). [1]: https://knip.dev [2]: https://github.com/webpro-nl/knip [3]: https://bsky.app/profile/webpro.nl [4]: https://knip.dev/blog/for-editors-and-agents [5]: https://knip.dev/sponsors [6]: https://github.com/webpro-nl/knip/tree/main/packages/mcp-server [7]: https://open-vsx.org/extension/webpro/vscode-knip