mcp-boilerplate
Verified Safeby StreamlineDevelopers
Overview
A FastMCP boilerplate server designed for building and exposing custom AI tools, exemplified by a simple greeting service.
Installation
uv run python src/main.pyEnvironment Variables
- INTROSPECTION_URL
- MCP_SERVER_CLIENT_ID
- MCP_SERVER_CLIENT_SECRET
- SERVER_HOST
- SERVER_PORT
Security Notes
The server relies on environment variables for sensitive authentication details (INTROSPECTION_URL, CLIENT_ID, CLIENT_SECRET), which is a good practice. There are no hardcoded secrets in the source code. No dangerous functions like 'eval' are used. The server binds to '0.0.0.0' by default, meaning it listens on all network interfaces; if exposed publicly (e.g., via ngrok as suggested), proper network security and firewall configuration are essential. Authentication is delegated to an external introspection server, making its security critical.
Similar Servers
mcp-server-starter-ts
A minimal TypeScript starter template for building Model Context Protocol (MCP) servers, enabling AI applications to connect with data sources and tools through a standardized interface.
mcp-boilerplate-node
This boilerplate provides common code for creating a Model Context Protocol (MCP) server in Node.js, focusing on integrating 'skills' (modular agent capabilities) as tools and resources for LLM agents.
mcp-servers
A foundational Python project providing basic components and utilities for building modular server-like applications.
mcp-streamable-http-server
A development template for creating StreamableHttp services with flexible authentication, dynamic service registration, customizable middleware, and YAML-based tool configuration.