About Fastmcp Tunnel Template
Fastmcp Tunnel Template is an MCP server in the Cloud category: gitHub template for FastMCP-based MCP servers with Cloudflare Tunnel + Docker + Terraform.
Install
git clone https://github.com/DigiBugCat/fastmcp-tunnel-templateThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (1)
helloExample tool (replace me)
Parameters not published.
Ask AI
Ask AI about Fastmcp Tunnel Template
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
MY_MCP_PROJECT
MY_MCP_DESCRIPTION
Architecture
User (Claude, etc.)
│
│ MCP (via fastmcp.cloud OAuth proxy)
▼
┌─────────────────────────────────────────┐
│ mcp_server/server.py │
│ FastMCP proxy frontend │
│ (deployed to fastmcp.cloud) │
│ Adds CF Access headers, forwards calls │
└─────────────────┬───────────────────────┘
│ HTTPS + CF Access service token
▼
┌─────────────────────────────────────────┐
│ Cloudflare Tunnel │
│ MY_MCP_SUBDOMAIN.pantainos.net → app:3000 │
└─────────────────┬───────────────────────┘
│
▼
┌─────────────────────────────────────────┐
│ backend/ (Docker) │
│ FastMCP server + business logic │
│ ┌─────────────────────────────────┐ │
│ │ mcp_tools.py → services/ │ │
│ └─────────────────────────────────┘ │
└─────────────────────────────────────────┘
Quick Start
# 1. Initialize from template (if not done)
./init.sh
# 2. Configure
cp backend/.env.example .env
# Edit .env with your secrets
# 3. Build + run locally
make build
make up
make health
# 4. Deploy with Cloudflare Tunnel
make deploy
Tools
| Tool | Description |
|---|---|
hello |
Example tool (replace me) |
Project Structure
├── Makefile # Unified command interface
├── CLAUDE.md # AI assistant operational notes
├── mcp_server/
│ ├── server.py # FastMCP proxy frontend
│ └── pyproject.toml
├── backend/
│ ├── Dockerfile
│ ├── docker-compose.yml
│ ├── pyproject.toml
│ ├── .env.example
│ ├── scripts/
│ │ ├── deploy.sh # Terraform apply + docker up
│ │ ├── destroy.sh # Docker down + terraform destroy
│ │ └── terraformw.sh # Auto-downloading terraform wrapper
│ └── src/MY_MCP_PACKAGE/
│ ├── main.py # AppRuntime + FastMCP entry point
│ ├── config.py # Settings from environment
│ ├── mcp_tools.py # Tool definitions
│ └── services/ # Business logic
└── terraform/
├── main.tf # CF Tunnel + DNS + Access
├── variables.tf
├── outputs.tf
└── versions.tf
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.