NPM MCP Server

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Allows retrieval of Lodash package information as part of the popular packages resource functionality.

  • Provides tools for searching and retrieving detailed information about npm packages, including package metadata, version information, dependencies, and popularity rankings.

  • Enables access to React package information including version details, description, and repository data to support development decisions.

NPM MCP 서버

이는 npm 패키지에 대한 정보를 가져오는 기능을 제공하는 MCP(Model Context Protocol) 서버입니다.

특징

  1. 패키지 검색 : npm 패키지에 대한 자세한 정보를 가져오는 도구
  2. 인기 패키지 : 가장 인기 있는 10개의 npm 패키지를 나열하는 리소스

설치

Smithery를 통해 설치

Smithery를 통해 Claude Desktop에 NPM MCP 서버를 자동으로 설치하려면:

지엑스피1

수동 설치

npm install

짓다

npm run build

달리기

npm start

개발을 위해:

npm run dev

용법

서버는 두 가지 주요 기능을 제공합니다.

1. NpmPackage 도구 검색

특정 npm 패키지에 대한 자세한 정보를 가져옵니다. 이 도구는 다음을 포함한 포괄적인 패키지 정보를 반환합니다.

  • 패키지 이름
  • 최신 버전
  • 설명
  • 저자 정보
  • 홈페이지 URL
  • 저장소 URL
  • 종속성 목록

사용 예:

const result = await server.tools.searchNpmPackage({ packageName: "react" });

응답 예시:

{ "name": "react", "version": "18.2.0", "description": "React is a JavaScript library for building user interfaces.", "author": "Meta Open Source", "homepage": "https://reactjs.org/", "repository": { "url": "https://github.com/facebook/react.git" }, "dependencies": { "loose-envify": "^1.1.0" } }

가장 인기 있는 npm 패키지 10개를 인기순으로 정렬하여 나열합니다. 목록의 각 패키지에는 다음이 포함됩니다.

  • 패키지 이름
  • 설명
  • 현재 버전

리소스 URI: npm://popular

응답 예시:

[ { "name": "lodash", "description": "Lodash modular utilities", "version": "4.17.21" }, // ... more packages ]

AI 모델과의 통합

이 MCP 서버는 AI 모델과 통합되어 다음을 수행할 수 있습니다.

  1. 설치 전 패키지 정보 가져오기
  2. 다양한 패키지 버전을 비교하세요
  3. 종속성 분석
  4. 인기 있는 대안 찾기
  5. 빠른 패키지 요약을 받으세요

기술

  • 타입스크립트
  • 모델 컨텍스트 프로토콜 SDK
  • 노드 페치
  • 조드

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

AI 모델이 npm 패키지에 대한 자세한 정보를 가져오고 npm 생태계에서 인기 있는 패키지를 검색할 수 있도록 하는 모델 컨텍스트 프로토콜 서버입니다.

  1. Features
    1. Installation
      1. Installing via Smithery
      2. Installing Manually
    2. Build
      1. Running
        1. Usage
          1. 1. searchNpmPackage Tool
          2. 2. popular-packages Resource
        2. Integration with AI Models
          1. Technologies
            ID: v1z5scqiwi