mcp
v0.0.40Knip MCP Server
The Knip MCP Server is powered by Knip: Find unused files, dependencies, and exports in your JavaScript/TypeScript projects. Install the [Knip VS Code Extension][6] or [Knip Open VSX Extension][7] — it comes with the MCP Server included. All pages of the [Knip documentation][1] are available as MCP resources (knip://docs/{topic}).
Summary extracted from the README.
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
- 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}).