Skip to main content
Glama

MCP Server Template

by AmaanBilwar

MCP Server Template

A minimal FastMCP server template for Render deployment with streamable HTTP transport.

Deploy to Render

Local Development

Setup

Fork the repo, then run:

git clone <your-repo-url> cd mcp-server-template conda create -n mcp-server python=3.13 conda activate mcp-server pip install -r requirements.txt

Test

python src/server.py # then in another terminal run: npx @modelcontextprotocol/inspector

Open http://localhost:3000 and connect to http://localhost:8000/mcp using "Streamable HTTP" transport (NOTE THE /mcp!).

Deployment

Option 1: One-Click Deploy

Click the "Deploy to Render" button above.

Option 2: Manual Deployment

  1. Fork this repository

  2. Connect your GitHub account to Render

  3. Create a new Web Service on Render

  4. Connect your forked repository

  5. Render will automatically detect the render.yaml configuration

Your server will be available at https://your-service-name.onrender.com/mcp (NOTE THE /mcp!)

Poke Setup

You can connect your MCP server to Poke at (poke.com/settings/connections)[poke.com/settings/connections]. To test the connection explitly, ask poke somethink like Tell the subagent to use the "{connection name}" integration's "{tool name}" tool. If you run into persistent issues of poke not calling the right MCP (e.g. after you've renamed the connection) you may send clearhistory to poke to delete all message history and start fresh. We're working hard on improving the integration use of Poke :)

Customization

Add more tools by decorating functions with @mcp.tool:

@mcp.tool def calculate(x: float, y: float, operation: str) -> float: """Perform basic arithmetic operations.""" if operation == "add": return x + y elif operation == "multiply": return x * y # ...
-
security - not tested
F
license - not found
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

A 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.

  1. Local Development
    1. Setup
    2. Test
  2. Deployment
    1. Option 1: One-Click Deploy
    2. Option 2: Manual Deployment
  3. Poke Setup
    1. Customization

      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/AmaanBilwar/WING-MCP'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server