@zuupee/mcp-server

@zuupee/mcp-server

General-purpose MCP server with built-in tools for HTTP, JSON, and datetime operations, supporting pluggable modules and security defaults.

Category
Visit Server

README

@zuupee/mcp-server

General-purpose Model Context Protocol (MCP) server — a reusable foundation that exposes tools, resources, and prompts to AI clients (Cursor, Claude Desktop, MCP Inspector, etc.), with clear extension points for plugging in any backend or domain logic later.

Features

  • stdio transport for local development (Cursor, Claude Desktop)
  • Pluggable modules — add tools without touching core transport code
  • Schema-first validation with Zod
  • Built-in generic tools — HTTP fetch, JSON utilities, datetime helpers, server info
  • Security defaults — deny-all HTTP host allowlist, read-only mode, secret redaction
  • Structured logging to stderr (stdio-safe)

Quick start

Prerequisites

  • Node.js 22+
  • pnpm 9+

Setup

pnpm install
cp .env.example .env.local
pnpm dev

Cursor configuration

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "mcp-server": {
      "command": "pnpm",
      "args": ["--dir", "/path/to/mcp-server", "dev"],
      "env": {
        "MCP_MODULES": "meta,http,json,datetime",
        "READ_ONLY": "true",
        "HTTP_TOOL_ALLOWED_HOSTS": "api.github.com,httpbin.org"
      }
    }
  }
}

Built-in tools

Tool Module Description
server_info meta Server name, version, enabled modules, config summary
http_fetch http GET/POST/PUT/PATCH/DELETE (host allowlist required)
json_parse json Parse JSON string
json_stringify json Serialize value to JSON
json_pick json Extract paths from JSON
datetime_now datetime Current time (ISO 8601)
datetime_format datetime Format/parse ISO date strings

Configuration

Environment variables (see .env.example):

Variable Default Description
MCP_MODULES meta,http,json,datetime Comma-separated module ids, or * for all
READ_ONLY false Skip mutating modules (e.g. http)
HTTP_TOOL_ALLOWED_HOSTS (empty) Comma-separated allowed hostnames (deny-all if empty)
HTTP_TOOL_MAX_RESPONSE_BYTES 1048576 Max response size
HTTP_TOOL_TIMEOUT_MS 10000 Request timeout
LOG_LEVEL info Log level (stderr only)

CLI flags override env:

mcp-server --transport stdio --modules meta,http --read-only

Adding a custom module

  1. Create plugins/my-service/index.ts implementing McpModule
  2. Register tools that call your backend via ctx.http or ctx.secrets
  3. Wire the module into MCP_MODULES (Phase 4 adds dynamic plugin loading)

See plugins/example/index.ts and docs/build-plan.md for the full extension guide.

Scripts

pnpm dev        # stdio server (tsx)
pnpm build      # compile to dist/
pnpm start      # run built bin
pnpm test       # unit + integration tests
pnpm inspect    # MCP Inspector against stdio
pnpm lint       # ESLint (no console.log in src/)

Architecture

src/
├── index.ts          # CLI entry
├── server.ts         # McpServer factory + instructions
├── config.ts         # env + CLI parsing
├── context.ts        # per-request context
├── registry/         # module registration
├── transport/        # stdio (http in Phase 3)
├── middleware/       # auth, read-only, audit logging
├── modules/          # built-in: meta, http, json, datetime
└── lib/              # errors, format, schema, result helpers

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured