@knip/mcp
v0.0.3
Published
Knip MCP Server
Maintainers
Readme
Knip MCP Server
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 — 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}).
