Skip to main content
Glama
mustafa-can
by mustafa-can

Node.js MCP Server

A professional Model Context Protocol (MCP) server built with Node.js, TypeScript, and the official @modelcontextprotocol/sdk.

Features

  • Tools:

    • calculate: Perform basic arithmetic operations (add, subtract, multiply, divide).

    • get_system_info: Retrieve system information (Platform, CPU, Memory).

  • Resources:

    • system://info: A text resource containing basic system details.

Installation

  1. Install dependencies:

    npm install
  2. Build the project:

    npm run build

Usage

Running the Server

This server communicates via stdio. You can run it directly:

node dist/index.js

Integration with Claude Desktop (or other MCP Clients)

To use this server with Claude Desktop, add the following configuration to your claude_desktop_config.json:

{ "mcpServers": { "my-node-server": { "command": "node", "args": ["/absolute/path/to/mcpserver/dist/index.js"] } } }

Note: Replace

Development

  • Run in development mode (restarts on change):

    npm run build -- --watch # In another terminal: node dist/index.js
  • Run Tests:

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mustafa-can/mcpserver'

If you have feedback or need assistance with the MCP directory API, please join our Discord server