Back to Home
milxxyzxc icon

mcp-boilerplate

by milxxyzxc

Overview

Provides a Model Context Protocol (MCP) server boilerplate to seamlessly connect AI models to data sources with robust SSE transport and built-in tools.

Installation

Run Command
npm start

Environment Variables

  • PORT
  • HOST
  • API_KEY

Security Notes

The server uses API Key-based authentication via a query parameter, which is less secure than an Authorization header. Critically, it has a hardcoded default API key 'dev_key' in `src/config.ts`. If not overridden by an environment variable, this key could be used by anyone to access the server's functionality, making it highly insecure for production environments. Logging of tool parameters and results is enabled by default, which could expose sensitive data in logs.

Similar Servers

Stats

Interest Score32
Security Score4
Cost ClassLow
Avg Tokens75
Stars2
Forks0
Last Update2025-12-11

Tags

MCPAIServerSSETools