FastMCP Render Boilerplate
БесплатноНе проверенA boilerplate MCP server built with Python and FastMCP, ready for deployment on Render, with example tools and logging.
Описание
A boilerplate MCP server built with Python and FastMCP, ready for deployment on Render, with example tools and logging.
README
A Model Context Protocol (MCP) server built with Python, FastMCP, designed to be deployed on Render.
Features
- FastMCP-based MCP server implementation
- Ready for deployment on Render
- Python-based with modern async support
- Comprehensive tool integration
- Easy configuration and setup
Quick Start
Prerequisites
- Python 3.11.12+
- pip
- Git
Local Development
- Clone the repository:
git clone <your-repo-url>
cd mcp-server-using-py-fastmcp-render-boilerplate
- Create and activate a virtual environment:
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Run the server locally:
python main.py
Environment Variables
Create a .env file in the root directory:
# Server Configuration
HOST=0.0.0.0
PORT=10000
DEBUG=false
# MCP Configuration
MCP_SERVER_NAME=my-mcp-server
# Add your custom environment variables here
Project Structure
mcp-server-using-py-fastmcp-render-boilerplate/
├── main.py # Main server entry point with logging
├── requirements.txt # Python dependencies (minimal FastMCP setup)
├── env.example # Example environment variables
├── .gitignore # Git ignore rules
├── README.md # This file
├── LICENSE # MIT License
├── mcp_server.log # Server log file (generated at runtime)
└── src/ # Source code
├── __init__.py
└── tools/ # Custom MCP tools
├── __init__.py
└── example_tools.py # Echo and calculator tools with logging
Testing
Make use of the MCP Inspector Tool to test your server: https://github.com/modelcontextprotocol/inspector
Deployment on Render
This project can be deployed on Render:
- Connect your GitHub repository to Render
- Create a new Web Service
- Use the following settings:
- Build Command:
pip install -r requirements.txt - Start Command:
python main.py - Environment: Python 3
- MCP_SERVER_NAME:
my-mcp-server(as configured in env.example) - HOST:
0.0.0.0 - PORT: 10000
- DEBUG: false
- Build Command:
Development
Adding New Tools
- Add a new tool to
src/tools/example_tools.py - Implement your tool following the FastMCP pattern
- Register the tool in
main.py
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
License
MIT License - see LICENSE file for details.
Support
For issues and questions, please open an issue on GitHub.
from github.com/nzwi263/mcp-server-using-py-fastmcp-render-boilerplate
Установка FastMCP Render Boilerplate
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/nzwi263/mcp-server-using-py-fastmcp-render-boilerplateFAQ
FastMCP Render Boilerplate MCP бесплатный?
Да, FastMCP Render Boilerplate MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для FastMCP Render Boilerplate?
Нет, FastMCP Render Boilerplate работает без API-ключей и переменных окружения.
FastMCP Render Boilerplate — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить FastMCP Render Boilerplate в Claude Desktop, Claude Code или Cursor?
Открой FastMCP Render Boilerplate на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectCompare FastMCP Render Boilerplate with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
