- License
- ISC
- Install Size
- 984.3 kB(28.7 MB)
- Vulns
- 0
- Published
$
npm install @knip/mcp# Run locally
$
npx knip-mcpKnip 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
- GitHub repo: webpro-nl/knip
- Follow @webpro.nl on Bluesky for updates
- Blogpost: Knip for Editors & Agents
- Sponsor Knip
VS Code Extension
Install the Knip VS Code Extension or Knip Open VSX Extension — it comes with the MCP Server included.
MCP Server
Add to your MCP configuration:
{
// 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 issuesknip-docs— Get Knip documentation by topic
Resources
All pages of the Knip documentation are available as MCP resources
(knip://docs/{topic}).