Back to Home
aashari icon

boilerplate-mcp-server

Verified Safe

by 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

Run Command
npm run mcp:http

Environment 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

Stats

Interest Score44
Security Score9
Cost ClassLow
Avg Tokens150
Stars66
Forks22
Last Update2026-01-07

Tags

MCPTypeScriptAI IntegrationAPI GatewayBoilerplate