mcp-production-kit
Enables read-only schema introspection and parameterized SQL query execution against PostgreSQL databases, with mutation defenses.
Enables read-only schema introspection and parameterized SQL query execution against Supabase databases, with mutation defenses.
MCP Production Kit π
The enterprise-ready, type-safe TypeScript starter kit for building Model Context Protocol (MCP) servers.
Designed for Claude Desktop, Cursor, Antigravity, and autonomous AI agent architectures.
β‘ Why MCP Production Kit?
Most open-source MCP examples are toys: they demonstrate a simple add(a, b) function over local stdio, but fail when deployed to production.
MCP Production Kit solves the core engineering hurdles out of the box:
Dual Transport Architecture: Run locally on
stdio(for Claude Desktop / Cursor) OR remotely overHTTP / Server-Sent Events (SSE)using a single codebase.Zero-Leak Logging: In
stdiomode,stdoutis strictly reserved for JSON-RPC message framing. Our structured logger routes all diagnostics tostderrwith automated secret redacting to prevent pipe corruption.Hardened Security & SSRF Defense: The built-in HTTP fetch tool blocks loopback, private IPv4/IPv6 ranges, and cloud metadata endpoints (
169.254.169.254).In-Memory Agent Persistence: Includes an isolated, namespaced key-value state store with configurable TTL for multi-step agent reasoning.
Production Observability: Built-in OS telemetry, memory metrics, and
/healthmonitoring.
Related MCP server: Antigravity MCP Bridge
ποΈ Architecture
ββββββββββββββββββββββββββββββββββββββββββββββββ
β AI Agent (Claude / Cursor) β
ββββββββββββββββββββββββ¬ββββββββββββββββββββββββ
β
JSON-RPC 2.0 / MCP Protocol
β
βββββββββββββββββββββββββ΄ββββββββββββββββββββββββ
β Transport Layer β
β βββββββββββββββββββββ βββββββββββββββββ β
β β stdio (Desktop) β β HTTP / SSE β β
β βββββββββββββββββββββ βββββββββββββββββ β
βββββββββββββββββββββββββ¬ββββββββββββββββββββββββ
β
βββββββββββββββββββββββββ΄ββββββββββββββββββββββββ
β MCP Production Server β
β βββββββββββββββββ βββββββββββββββββββββ β
β β Zod Validator β β Safe Stderr Loggerβ β
β βββββββββββββββββ βββββββββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββ€
β Built-in Tools β
β β’ get_system_metrics β
β β’ secure_http_fetch (SSRF Guard) β
β β’ agent_memory_store (Namespaced KV + TTL) β
βββββββββββββββββββββββββββββββββββββββββββββββββπ Quickstart
1. Installation
git clone https://github.com/your-username/mcp-production-kit.git
cd mcp-production-kit
npm install
npm run build2. Run Tests
npm test3. Connect to Claude Desktop
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"production-kit": {
"command": "node",
"args": [
"/absolute/path/to/mcp-production-kit/dist/index.js",
"--transport=stdio"
]
}
}
}4. Run as Remote HTTP/SSE Server
npm run start:sse
# Listening on http://localhost:3000
# Healthcheck: http://localhost:3000/health
# SSE Stream: http://localhost:3000/sseπ οΈ Built-in Tools
Tool Name | Description | Security Controls |
| Real-time OS, CPU load, and heap memory breakdown. | Read-only introspection. |
| Safe web scraping and API interaction. | Blocks private IPs, AWS metadata, caps payload at 512 KB, 10s timeout. |
| Multi-turn state management ( | Isolated namespaces and automatic TTL expiration. |
π¦ Pro Pack Upgrade ($19 One-Time)
For production cloud deployments and enterprise teams, the Pro Pack provides ready-to-deploy extensions:
Cloudflare Workers Serverless Template: Deploy directly to Cloudflare's edge network with Bearer Token authentication and native streaming.
PostgreSQL / Supabase Connector: Read-only schema introspection and parameterized SQL queries with mutation defenses.
Production Dockerfile & Compose: Multi-stage distroless container with non-root security and healthcheck polling.
π Get the Pro Pack on Whop / Gumroad
π License
MIT Β© 2026 Antigravity Autonomous Lab
This server cannot be deployed
Maintenance
Related MCP Connectors
A simple Typescript MCP server built using the official MCP Typescript SDK and smithery/cli. Thisβ¦
A TypeScript MCP server for Home Assistant, enabling programmatic management of entities, automatiβ¦
Nifty's MCP server β exposes tasks, projects, messages, and files as tools for AI agents.
MCP server for Superserve sandboxes: create, exec, and manage Firecracker microVMs
Related MCP Servers
- AlicenseBqualityDmaintenanceA TypeScript starter template for building MCP servers with example tools (echo, math operations, time, flight status) and resources (server info, greetings). Provides a modular architecture for easily extending with custom tools and resources.42 npmISC
- AlicenseAqualityBmaintenanceA TypeScript-based MCP server template for the Antigravity agentic environment, providing system status and SQLite database tools via stdio transport.163 npmMIT
- AlicenseNot gradedqualityBmaintenanceA feature-complete MCP server template in TypeScript demonstrating tools, resources, prompts, and both stdio and HTTP transports.8MIT
- AlicenseAqualityFmaintenanceA production-shaped starter for building MCP servers in TypeScript, featuring stdio and streamable HTTP transport, bearer auth, and example tools including ping and http_get_json with SSRF guards.2MIT