knip-mcp-server

gtrias/knip-mcp-server

3.3

If you are the rightful owner of knip-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Control Protocol (MCP) server that integrates with knip.dev to help AI agents identify and clean up unused files, imports, exports, and dependencies in JavaScript/TypeScript projects.

Tools

Functions exposed to the LLM to take actions

knip_scan

Run comprehensive knip analysis on your project.

knip_get_unused_files

Get a list of unused files in the project.

knip_get_unused_exports

Get unused exports organized by file.

knip_get_unused_imports

Get unused imports organized by file.

knip_get_unused_dependencies

Get unused npm dependencies and devDependencies.

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources