MCP-Mirror

MCP Server Nekzus

Community MCP-Mirror
Updated

Personal MCP Server implementation providing extensible utility functions and tools for development and testing purposes

MCP Server Nekzus

Github Workflownpm-versionnpm-monthnpm-totalDonate

A Model Context Protocol (MCP) server that provides utility tools fordevelopment and testing This implementation is built on top of theofficial MCP SDK and offers an extensible architecture for adding new tools

๐ŸŒŸ Features

  • ๐Ÿ”„ MCP Protocol Implementation
  • ๐Ÿ› ๏ธ Integrated Utility Tools
  • ๐Ÿ“ Schema Validation with Zod
  • ๐Ÿš€ ESM Support
  • ๐Ÿ”’ Strict TypeScript Types
  • ๐Ÿงฉ Extensible Architecture for New Tools

๐Ÿ› ๏ธ Available Tools

1. greeting

Generates a personalized greeting message.

Parameters:

  • name (string): Recipient's name

Example:

// Result: ๐Ÿ‘‹ Hello John! Welcome to the MCP server!
{
  name: "John";
}

2. card

Gets a random card from a standard poker deck.

Parameters:

  • No parameters required

Example:

// Result: ๐ŸŽด You drew: Ace of โ™ ๏ธ Spades
{}

3. datetime

Gets the current date and time for a specific timezone.

Parameters:

  • timeZone (string, optional): Timezone identifier (e.g., "America/New_York")
  • locale (string, optional): Locale identifier (e.g., "en-US")

Example:

// Result: 
// ๐Ÿ—“๏ธ Date: March 20, 2024
// โฐ Time: 7:25:25 PM
// ๐ŸŒ Timezone: America/New_York
{
  timeZone: "America/New_York",
  locale: "en-US"
}

4. calculator

Performs mathematical calculations with support for basic and advanced operations.

Parameters:

  • expression (string): Mathematical expression (e.g., "2 + 2 * 3")
  • precision (number, optional): Decimal places in the result (default: 2)

Example:

// Result: 8
{
  expression: "2 + 2 * 3"
}

5. passwordGen

Generates secure passwords with customizable options.

Parameters:

  • length (number, optional): Password length (default: 16)
  • includeNumbers (boolean, optional): Include numbers (default: true)
  • includeSymbols (boolean, optional): Include special characters (default: true)
  • includeUppercase (boolean, optional): Include uppercase letters (default: true)

Example:

// Result: 4v7&9G8$
{
  length: 16,
  includeNumbers: true,
  includeSymbols: true,
  includeUppercase: true
}

6. qrGen

Generates QR codes for text or URLs.

Parameters:

  • text (string): Text or URL to encode
  • size (number, optional): Size in pixels (default: 200)
  • dark (string, optional): Dark module color (default: "#000000")
  • light (string, optional): Light module color (default: "#ffffff")

Example:

// Result: QR code for "https://example.com"
{
  text: "https://example.com"
}

7. kitchenConvert

Converts between common kitchen measurements and weights, including volume-to-weight conversions based on specific ingredients.

Parameters:

  • value (number): Value to convert
  • from (string): Source unit (e.g., "cup", "tbsp", "g", "oz", "ml")
  • to (string): Target unit (e.g., "cup", "tbsp", "g", "oz", "ml")
  • ingredient (string, optional): Ingredient for accurate volume-to-weight conversions

Supported Units:

Volume:

  • ml (milliliters)
  • l (liters)
  • cup (US cup)
  • tbsp (tablespoon)
  • tsp (teaspoon)
  • floz (fluid ounce)

Weight:

  • g (grams)
  • kg (kilograms)
  • oz (ounces)
  • lb (pounds)

Supported Ingredients:

  • water
  • milk
  • flour
  • sugar
  • brown sugar
  • salt
  • butter
  • oil
  • honey
  • maple syrup

Examples:

// Simple volume conversion
// Result: ๐Ÿ”„ Conversion Result:
// โ€ข 1 cup = 236.59 ml
{
  value: 1,
  from: "cup",
  to: "ml"
}

// Volume to weight conversion with ingredient
// Result: ๐Ÿ”„ Conversion Result:
// โ€ข 1 cup of flour = 140.25 g
{
  value: 1,
  from: "cup",
  to: "g",
  ingredient: "flour"
}

๐Ÿš€ Usage

As MCP Server

  1. Global Installation:
npm install -g @nekzus/mcp-server
  1. Execution:
npx @nekzus/mcp-server

As a Dependency

import { McpUtilityServer } from "@nekzus/mcp-server";

const server = new McpUtilityServer();
server.start();

๐Ÿ”ง Development

# Clone repository
git clone https://github.com/nekzus/mcp-server.git

# Install dependencies
npm install

# Development mode
npm run dev

# Build
npm run build

# Run
npm start

๐Ÿ“ Project Structure

src/
โ”œโ”€โ”€ types/          # Type definitions
โ”‚   โ””โ”€โ”€ index.ts    # Shared types
โ”œโ”€โ”€ utils/          # Utilities
โ”‚   โ”œโ”€โ”€ cards.ts    # Card functions
โ”‚   โ”œโ”€โ”€ datetime.ts # Date/time functions
โ”‚   โ””โ”€โ”€ schema.ts   # Schema conversion
โ”œโ”€โ”€ tools/          # Tool implementations
โ”‚   โ””โ”€โ”€ index.ts    # Tools registry
โ””โ”€โ”€ index.ts        # Main entry point

๐Ÿ” Technical Details

  • Transport: Uses StdioServerTransport for communication
  • Validation: Converts JSON schemas to Zod for input validation
  • Types: Fully typed implementation with TypeScript
  • Error Handling: Robust error handling and resource cleanup
  • Signals: Handles SIGTERM and SIGINT signals for graceful shutdown

๐Ÿ“„ License

This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.

๐Ÿ‘ค Author

Nekzus

๐ŸŒŸ Support

Give a โญ๏ธ if this project helped you!

MCP Server ยท Populars

MCP Server ยท New

    SylphxAI

    Citra

    Give your AI agent eyes for PDFs โ€” structured text, tables, OCR, visual evidence, and page-level citations via MCP. Native Rust, local-first.

    Community SylphxAI
    fastcrw

    fastCRW

    Fast, lightweight Firecrawl/Tavily alternative in Rust. Web scraper, crawler & search API with MCP server for AI agents. Drop-in Firecrawl-compatible API (/scrape, /crawl, /search). 2.3x faster than Tavily, 1.5x faster than Firecrawl in 1K-URL benchmarks. 6 MB RAM, single binary. Self-host or use managed cloud.

    Community fastcrw
    feder-cr

    aihawk_mcp_server

    Anti-detect agentic browser: undetected browsing, browser automation, MCP server, AI web browsing agent, computer use, scraping, lead generation. No captchas.

    Community feder-cr
    Hyperiux-Immersion-Labs

    hyperiux-mcp-server

    Animation effects and interactive UI components for Next.js - CLI-installable, 50+ free MIT effects and 100+ Pro

    dx-corp

    Deep Code Reasoning MCP Server

    A Model Context Protocol (MCP) server that provides advanced code analysis and reasoning capabilities powered by Google's Gemini AI

    Community dx-corp