MCP.so
登录

MCP Server for Node.js API Documentation

@snyk-labs

关于 MCP Server for Node.js API Documentation

MCP Server for the Node.js API documentation

基本信息

分类

记忆与知识

许可证

View license

运行时

node

传输方式

stdio

发布者

snyk-labs

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-server-nodejs-api-docs": {
      "command": "node",
      "args": [
        "index.js",
        "--debug"
      ]
    }
  }
}

工具

未检测到工具

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

概览

What is MCP Server for Node.js API Documentation?

This MCP server provides access to the official Node.js API documentation. It fetches the documentation from nodejs.org and exposes it through MCP tools, allowing AI clients to query modules, classes, or methods.

How to use MCP Server for Node.js API Documentation?

Install dependencies with npm install, then start the server with npm run start. The server communicates over standard input/output (stdio) and can be configured in MCP clients (e.g., Cursor) by adding a custom server with the full command to node index.js. Use --debug for verbose logging.

Key features of MCP Server for Node.js API Documentation

  • Fetches the latest Node.js API documentation automatically.
  • Provides node-search tool to search modules or list all available methods.
  • Provides node-list tool for a summary of all available modules.
  • Logs activity and errors to /tmp/mcp-server-nodejs-docs.log.
  • Debug mode via the --debug flag.

Use cases of MCP Server for Node.js API Documentation

  • Querying the Node.js API documentation directly within an AI coding assistant.
  • Listing all available Node.js modules to discover new functionality.
  • Searching for specific modules, classes, or methods to get usage details.
  • Debugging tool executions by monitoring the log file.

FAQ from MCP Server for Node.js API Documentation

What MCP tools does this server expose?

It provides two tools: node-search to find or search modules and list their methods, and node-list to get a summary of all available modules.

How do I connect this server to an MCP client like Cursor?

Configure the client to launch a stdio-based MCP server. Provide a name (e.g., "NodeJS API Documentation") and the full command to node index.js (use absolute paths). In Cursor, add this under Settings > Cursor Settings > MCP Servers.

What are the runtime dependencies?

The server requires Node.js and npm. All other dependencies are installed via npm install.

How can I debug the server?

Start with node index.js --debug to enable verbose logging. Monitor /tmp/mcp-server-nodejs-docs.log with tail -f. You can also test with MCP Inspector by running npm run debug.

Where are logs stored?

Logs are written to /tmp/mcp-server-nodejs-docs.log using the pino logging library.

评论

记忆与知识 分类下的更多 MCP 服务器