boilerplate-mcp-server
Verified Safeby aashari
Overview
Provides a production-ready foundation for developing custom Model Context Protocol (MCP) servers in TypeScript to connect AI assistants with external APIs and data sources, exemplified by an IP geolocation tool.
Installation
npm run mcp:httpEnvironment Variables
- TRANSPORT_MODE
- PORT
- DEBUG
- NODE_ENV
- IPAPI_API_TOKEN
Security Notes
The server uses standard Node.js and TypeScript practices, with no 'eval' or obvious malicious patterns detected. API keys (IPAPI_API_TOKEN) are loaded from environment variables or a global config file, preventing hardcoding. External API calls are made via standard `fetch`. Large API responses are logged to `/tmp/mcp/<project-name>/` with truncation, a designed feature, but users should be aware of local file storage of potentially sensitive data.
Similar Servers
leanmcp-sdk
Building production-ready Model Context Protocol (MCP) servers with TypeScript, supporting features like authentication, elicitation, and UI integration for AI agents.
mcp-typescript-starter
A feature-complete Model Context Protocol (MCP) server template in TypeScript demonstrating all major MCP features for AI assistant interaction.
mcp-agent-kit
Simplifies the creation and management of AI agents, chatbots, and Model Context Protocol (MCP) servers with various LLM providers.
mcp-typescript-simple
Production-ready MCP (Model Context Protocol) server with dual-mode operation (STDIO & HTTP), multi-LLM integration, and OAuth authentication, designed for horizontal scalability and comprehensive observability.