Node.js MCP Server

Node.js MCP Server

A basic MCP server that provides arithmetic calculation tools and system information retrieval capabilities, including platform, CPU, and memory details.

Category
Visit Server

README

Node.js MCP Server

A specialized MCP server focused on 3 Core Jobs for agentic workflows.

The 3 Jobs

1. Context Management & Learning

The agent can manage the project's documentation and "learn" the entire context.

  • Tool: md
  • Actions:
    • read_all: Reads README.md from the specified path.
    • update_all: Overwrites/updates README.md with new content provided by the client.
    • Arguments:
      • path (string, optional) - Absolute path to project root.
      • content (string, required for update_all) - The new content for README.md.

2. Test Management

The agent can manage the project's tests in a unified workflow.

  • Tool: test
  • Action: test
  • Functionality:
    1. Writes the provided test code to test_path.
    2. Runs the project's test suite (npm test).
    3. Reports output and errors to test.md.
  • Arguments:
    • path (string, optional) - Absolute path to project root.
    • test_path (string, required) - Relative path to the test file (e.g., tests/api.test.js).
    • code (string, required) - Content of the test file.

3. Build & Run

  • Tool: deploy
  • Actions:
    • dev: Runs the project in development mode.
    • prod: Builds the project and runs it.
    • Arguments:
      • path (string, optional) - Absolute path to project root.

Installation & Usage

1. Build the Server

cd /home/mc/Desktop/mcpserver
npm install
npm run build

2. Configuration (Claude / Antigravity)

Add to your MCP configuration file:

Location: ~/.config/Claude/claude_desktop_config.json (Linux)

{
  "mcpServers": {
    "job-server": {
      "command": "node",
      "args": ["/home/mc/Desktop/mcpserver/dist/index.js"]
    }
  }
}
{
  "mcpServers": {
    "my-job-server": {
      "command": "node",
      "args": ["/home/mc/Desktop/mcpserver/dist/index.js"]
    }
  }
}

3. Usage Examples

Manage Tests

To create a test, update it, or simply run existing tests (by re-submitting the code), use the test tool.

{
  "name": "test",
  "arguments": {
    "action": "test",
    "path": "/home/mc/Desktop/ServiceApp",
    "test_path": "tests/login.test.js",
    "code": "describe('Login', () => { ... });"
  }
}

The server will:

  1. Save tests/login.test.js.
  2. Run npm test.
  3. Report full results to test.md.

Troubleshooting

  • Path Issues: Always provide the path argument.
  • npm test: The test action requires a valid test script in the project's package.json.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured