About Nodejs
Nodejs is an MCP server in the Other category: streamable http MCP Server using Nodejs.
The repository has 1 stars and 0 forks.
Install
git clone https://github.com/ammarkhanone/mcp-server-nodejsThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (21)
addAdd two numbers
Parameters not published.
askMiamiFriendQuestionMiami Friend
Parameters not published.
askNYCFriendQuestionNYC Friend
Parameters not published.
cbrtCube root of a number
Parameters not published.
cosCosine of a number (radians)
Parameters not published.
createEmployeeRecordHR Employee
Parameters not published.
divideDivide two numbers
Parameters not published.
factorialFactorial of a non-negative integer
Parameters not published.
generateJavaCodeJava Code Generator
Parameters not published.
generatePythonCodePython Code Generator
Parameters not published.
Show all 21 tools
get_greetingGet a personalized greeting
Parameters not published.
greetA simple greeting tool
Parameters not published.
logLog of a number (base optional, default e)
Parameters not published.
multiplyMultiply two numbers
Parameters not published.
powerPower of two numbers
Parameters not published.
provisionUserIdentityIdentity Provisioning
Parameters not published.
remainderRemainder of two numbers division
Parameters not published.
sinSine of a number (radians)
Parameters not published.
sqrtSquare root of a number
Parameters not published.
subtractSubtract two numbers
Parameters not published.
tanTangent of a number (radians)
Parameters not published.
Ask AI
Ask AI about Nodejs
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
Alpic MCP Template
A TypeScript template for building MCP servers using Streamable HTTP transport.
Overview
This template provides a foundation for creating MCP servers that can communicate with AI assistants and other MCP clients. It includes a simple HTTP server implementation with example tools, resource & prompts to help you get started building your own MCP integrations.
Prerequisites
- Node.js 22+ (see
.nvmrcfor exact version)
Installation
- Clone the repository:
git clone <repository-url>
cd mcp-server-template
- Install dependencies:
npm install
- Create environment file:
cp .env.example .env
Usage
Development
Start the development server with hot-reload:
npm run dev
The server will start on http://localhost:3000 and automatically restart when you make changes to the source code.
Production Build
Build the project for production:
npm run build
The compiled JavaScript will be output to the dist/ directory.
Running the Inspector
Use the MCP inspector tool to test your server:
npm run inspector
API Endpoints
POST /mcp- Main MCP communication endpointGET /mcp- Returns "Method not allowed" (405)DELETE /mcp- Returns "Method not allowed" (405)
Development
Adding New Tools
To add a new tool, modify src/server.ts:
server.tool(
"tool-name",
"Tool description",
{
// Define your parameters using Zod schemas
param: z.string().describe("Parameter description"),
},
async ({ param }): Promise<CallToolResult> => {
// Your tool implementation
return {
content: [
{
type: "text",
text: `Result: ${param}`,
},
],
};
},
);
Adding New Prompts
To add a new prompt template, modify src/server.ts:
server.prompt(
"prompt-name",
"Prompt description",
{
// Define your parameters using Zod schemas
param: z.string().describe("Parameter description"),
},
async ({ param }): Promise<GetPromptResult> => {
return {
messages: [
{
role: "user",
content: {
type: "text",
text: `Your prompt content with ${param}`,
},
},
],
};
},
);
Resources
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.