Get the FREE Ultimate OpenClaw Setup Guide →

mcp -simple

Build mcp server with nodejs test fast

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio aztharion-mcp-server-simple node path/to/server.js

How to use

This MCP server is a Node.js-based implementation of the Model Context Protocol that provides simple interactions and weather information through a lightweight API. It exposes a small set of tools that clients can invoke to generate natural language responses or perform actions: hello (greets the user), goodbye (says farewell), and saybye (alternative farewell). When a user input is received, the server analyzes the request, selects the appropriate tool, extracts any necessary parameters (for example, a user name), invokes the tool, and returns the generated response to the client. The available tools are designed to be easy to use and to demonstrate basic tool invocation within the MCP framework. Example usage includes greeting a user by name or saying farewell with a customized message.

How to install

Prerequisites:

  • Node.js (LTS version) installed on your machine
  • Git (optional, for cloning the repository)

Installation steps:

  1. Clone or download the MCP server repository git clone https://github.com/your-org/aztharion-mcp-server-simple.git cd aztharion-mcp-server-simple

  2. Install dependencies npm install

  3. Run the server node path/to/server.js

  4. Optional: run via a process manager (recommended for production)

    • pm2 start path/to/server.js --name aztharion-mcp-server-simple
  5. Verify it's running

    • Make a test request to the MCP API endpoint provided by the server (documentation or README within the repo should specify the exact endpoint).

Notes:

  • Ensure you have network access to any dependencies or APIs the server might rely on.
  • If the server expects environment configuration, set the required environment variables before starting.

Additional notes

Tips:

  • The server exposes three tools: hello, goodbye, and saybye. Use the tool name in your MCP request to trigger the corresponding response.
  • If you need to customize responses, look for the tool implementations under the server codebase and modify as needed.
  • Common issues may include missing dependencies or port conflicts. Ensure npm install completes successfully and that the port used by the server is not in use by another process.
  • If you plan to run in production, consider using a process manager (e.g., pm2) and configuring environment variables for deployment (e.g., NODE_ENV, PORT).
  • Check logs for debugging information when requests do not return expected results.

Related MCP Servers

Sponsor this space

Reach thousands of developers