MCP BMI Server Template
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP BMI Server Templatecalculate my BMI for 70kg and 175cm"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP BMI Server Template (FastAPI + SSE)
A minimal Model Context Protocol (MCP) server exposing a single tool: bmiCalculator.
Discovery endpoint (SSE):
GET /mcpInvocation endpoint:
POST /invokeHealth check:
GET /healthz
Quick Start (local)
pip install -r requirements.txt
export API_KEY=changeme # optional
uvicorn main:app --host 0.0.0.0 --port 10000Test:
# Discover tools (SSE)
curl -N -H "Accept: text/event-stream" -H "x-api-key: changeme" http://localhost:10000/mcp
# Invoke tool
curl -X POST http://localhost:10000/invoke \
-H "Content-Type: application/json" \
-H "x-api-key: changeme" \
-d '{"tool":"bmiCalculator","params":{"weight":70,"height":175,"unit":"cm"}}'Related MCP server: MCP Server Template
Docker
docker build -t mcp-bmi .
docker run -p 10000:10000 -e API_KEY=changeme mcp-bmiDeploy to Render (example)
Create a new Web Service from this repo
Set environment variable
API_KEY(optional but recommended)The service will start with the Dockerfile
Your base URL will look like:
https://<your-service>.onrender.comUse the MCP SSE endpoint:
https://<your-service>.onrender.com/mcpMCP Host config example
{
"mcpServers": {
"bmiAgent": {
"url": "https://<your-service>.onrender.com/mcp",
"headers": {
"x-api-key": "changeme"
}
}
}
}Project structure
.
├── main.py
├── requirements.txt
├── Dockerfile
├── .gitignore
└── README.mdNotes
SSE (
text/event-stream) is used for discovery. If your host requires WebSocket, add a/wsendpoint.Extend by adding more tools in
MCPHello.toolsand dispatching in/invoke.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceA minimal Model Context Protocol server built with FastAPI that provides a basic "Hello World" resource and tool. Serves as a starting point for building and validating MCP client integrations with richer resources and tools.
- Flicense-quality-maintenanceA minimal FastMCP server template for quick deployment to Render with streamable HTTP transport. Provides a foundation for building custom MCP servers with easy local development and one-click deployment capabilities.
- Flicense-qualityDmaintenanceA minimal MCP server template that provides a basic endpoint for testing ChatGPT integration. Designed to be deployed on Render's free plan as a starting point for building custom MCP servers with external API integrations.
- Alicense-qualityCmaintenanceA FastMCP server template with full MCP authentication via Descope, designed for easy deployment on Render. It provides a foundation for building secure, authenticated MCP servers with scope-based access control.3MIT
Related MCP Connectors
MCP server for Withings health data — sleep, activity, heart, and body metrics.
Hosted MCP server for LLM cost estimation, model comparison, and budget-aware routing.
MCP server for verifying EUDI/Talao wallet data via OIDC4VP (pull) for AI agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Lufeezhang/bmi-MCP-fastapi'
If you have feedback or need assistance with the MCP directory API, please join our Discord server