samr037/mcp-server-node-stdio
3.2
If you are the rightful owner of mcp-server-node-stdio and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
This document provides a structured overview of a basic Model Context Protocol (MCP) server implemented in Node.js.
Tools
1
Resources
0
Prompts
0
Node Basic MCP Server
A basic Model Context Protocol (MCP) server implementation in Node.js.
Installation
Install dependencies:
npm install
Running the Server
List Available Tools
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' | node .\server.js
Call a Tool
Example: Add two integers using the add-integers tool:
echo '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"add-integers","arguments":{"a":5,"b":3}}}' | node .\server.js
Usage
Send JSON-RPC 2.0 formatted requests to the server to interact with available tools.
Testing with Postman

Using the Inspector
You can also use the inspector to interact with the server:
npx @modelcontextprotocol/inspector node server.js