← Discover MCPs and Agents
m
AgentAI & MLGitHub

mcp-server-built-LLM

A tiny MCP server that can read and write in database interacting with LLM

Links

README

From the repo.

MCP Mongo Users Server (TypeScript + Zod)

A Model Context Protocol (MCP) server written in TypeScript that inserts users into a MongoDB database and can search data dynamically (conditional query) from any database collection with type-safe validation using Zod. Fully compatible with MCP Inspector for testing.


🚀 Features

  • MCP server using SDK v1.25.1
  • Strict input validation with Zod
  • Inserts users into MongoDB users collection
  • Search data dynamically from any MongoDB collection
  • STDIO transport ready for MCP Inspector
  • TypeScript ready for Node.js 18+
  • Easily extendable for update/delete tools or HTTP transport

🛠 Prerequisites

  • Node.js v18+
  • MongoDB running locally (mongodb://127.0.0.1:27017)
  • npm installed

⚡ Quick Start

Install dependencies, build, and run:

npm install       # Install dependencies
npm run build     # Compile TypeScript into dist/
npm start         # Start the MCP server

Collected info

  • 0 stars
  • Language: TypeScript
  • Source updated: 1/6/2026