MCP.so
登录

npm-package-mcp-server

@Pratham1264

关于 npm-package-mcp-server

The npm-package-mcp-server allows users to efficiently access and analyze source code from any NPM package. With features like smart file discovery and selective code reading, it streamlines the process for developers. 🐙🌐

基本信息

分类

其他

许可证

MIT license

运行时

node

传输方式

stdio

发布者

Pratham1264

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is npm-package-mcp-server?

A TypeScript-based server for fetching, browsing, and analyzing NPM package source code. It provides endpoints to explore packages, extract files, and perform code analysis, aimed at developers needing to inspect package internals.

How to use npm-package-mcp-server?

Clone the repository, run npm install and npm start, then access the server at http://localhost:3000. Use the endpoints GET /api/packages/:packageName to fetch a package, POST /api/packages/:packageName/extract to extract specific files, and GET /api/packages/:packageName/analyze to analyze its source code.

Key features of npm-package-mcp-server

  • Browse available NPM packages easily
  • Extract specific files from a package
  • Analyze source code structure and functionality
  • Built with TypeScript for type safety

Use cases of npm-package-mcp-server

  • Browsing an NPM package to see its file tree
  • Downloading a particular file from a package for local inspection
  • Automating code analysis of multiple packages in a pipeline
  • Understanding the internal structure of a dependency

FAQ from npm-package-mcp-server

评论

其他 分类下的更多 MCP 服务器