LM

lirantal/mcp-server-nodejs-api-docs

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

11 stars 6 forks 质量 81 趋势 38Apache-2.0

MCP Server for Node.js API documentation

概览

An MCP Server for Node.js API documentation You can debug calls for the MCP Server by inspecting the file mcp-server-nodejs-docs.log in your system's temporary directory (e.g., /tmp on Unix-like systems or %TEMP% on Windows) which this MCP Server writes to. You can run this MCP Server as a Docker container by using the following command: You can also use the Docker image directly in your MCP Server configuration for various applications, see examples below. Edit your Claude Desktop MCP Servers configuration file (located on macOS here: ~/Library/Application Support/Claude/claude_desktop_config.json) and add the following: Edit your Cursor AI MCP file (located at ~/.cursor/mcp.json) and add the following: To build the project with Docker locally run: Then run the container as follows for your MCP Server configuration:

README

以下为原文 README 节选,完整内容请查看原文。

mcp-server-nodejs-api-docs

An MCP Server for Node.js API documentation

Usage: Generic CLI

npx mcp-server-nodejs-api-docs

You can debug calls for the MCP Server by inspecting the file mcp-server-nodejs-docs.log in your system’s temporary directory (e.g., /tmp on Unix-like systems or %TEMP% on Windows) which this MCP Server writes to.

Usage: as a Docker container

You can run this MCP Server as a Docker container by using the following command:

docker pull ghcr.io/lirantal/mcp-server-nodejs-api-docs:latest

You can also use the Docker image directly in your MCP Server configuration for various applications, see examples below.

Usage for Claude Desktop:

Edit your Claude Desktop MCP Servers configuration file (located on macOS here: ~/Library/Application Support/Claude/claude_desktop_config.json) and add the following:

on macOS or Linux:

{
  "mcpServers": {
    "nodejs-api-docs": {
      "command": "npx",
      "args": ["-y", "mcp-server-nodejs-api-docs"]
    }
  }
}

for Windows users:

{
  "mcpServers": {
    "nodejs-api-docs": {
      "command": "cmd",
      "args": ["/c", "npx", "-y", "mcp-server-nodejs-api-docs"]
    }
  }
}

or with the Docker image:

{
  "mcpServers": {
    "nodejs-api-docs": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "--init", "-e", "DOCKER_CONTAINER=true", "ghcr.io/lirantal/mcp-server-nodejs-api-docs:latest"]
    }
  }
}

Usage for Cursor AI:

Edit your Cursor AI MCP file (located at ~/.cursor/mcp.json) and add the following:

{
  "mcpServers": {
    "nodejs-api-docs": {
      "command": "npx",
      "args": ["-y", "mcp-server-nodejs-api-docs"]
    }
  }
}

Development

To build the project with Docker locally run:

docker build -t mcp-server-nodejs-api-docs .
在 GitHub 查看完整 README

安装

npx -y mcp-server-nodejs-api-docs
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "nodejs-api-docs": { "command": "npx", "args": ["-y", "mcp-server-nodejs-api-docs"] } } }