simple-mcp-server

nemathahmed/simple-mcp-server

3.2

If you are the rightful owner of simple-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A simple Model Context Protocol (MCP) server built for Smithery deployment.

Tools
2
Resources
0
Prompts
0

Simple MCP Server

A simple Model Context Protocol (MCP) server built for Smithery deployment.

Features

This MCP server provides two simple tools:

  • hello: Greets a person by name
  • add: Adds two numbers together

Development

Prerequisites

  • Node.js >18
  • A Smithery API key for development features

Setup

npm install

Local Development

npm run dev

This will port-forward your local server to the Smithery Playground via ngrok.

Build

npm run build

Tools

hello

Greets someone by name.

Parameters:

  • name (string, required): Name to greet

add

Adds two numbers together.

Parameters:

  • a (number, required): First number
  • b (number, required): Second number

Deployment

This server is designed to be deployed to Smithery. The TypeScript code in src/index.ts exports the required createServer function and optional configSchema.

Requirements

  • Node.js 18.0.0 or higher
  • TypeScript 5.0.0 or higher
  • @modelcontextprotocol/sdk ^1.0.0
  • zod ^3.23.8

License

MIT