Fastmcp Caddy Proxy
БесплатноНе проверенFastMCP Implementation with a Caddy proxy in front of it
Описание
FastMCP Implementation with a Caddy proxy in front of it
README
A two-container runtime: a FastMCP application server, and a reverse proxy sitting in front of it that enforces bearer-token auth before traffic reaches the MCP server.
Layout
mcp-app/ FastMCP server (Streamable HTTP transport, port 8000, internal-only)
proxy/ Caddy reverse proxy (bearer-token auth, port 8080, exposed)
docker-compose.yml
- mcp-app — a single-file
server.pyusing PEP 723 inline script metadata, run withuv run server.py. It's not published to the host network; onlyproxycan reach it, over themcp-netcompose network. - proxy — Caddy checks the
Authorization: Bearer <token>header againstMCP_PROXY_TOKENand rejects anything else with 401 before reverse-proxying tomcp-app:8000.
Running it
cp .env.example .env
# edit .env and set MCP_PROXY_TOKEN to a real value, e.g.:
# openssl rand -hex 32
docker compose up --build
The MCP endpoint is then available at http://localhost:8080/mcp, and requires:
Authorization: Bearer <MCP_PROXY_TOKEN>
Any request without a matching header gets a 401 from the proxy without ever reaching the FastMCP app.
Local dev without Docker
cd mcp-app
uv run server.py
This runs the FastMCP server directly (no proxy/auth) on http://localhost:8000/mcp.
Notes
- The two example tools (
ping,echo) are placeholders — replace them with real tools inmcp-app/server.py. MCP_PROXY_TOKENis a shared secret for this local/dev setup. For anything beyond local dev, manage it with fnox and swap the Caddy static-token check for something stronger (OAuth, per-client tokens, etc.) before exposing it outside a trusted network.- Lint with
ruff check .from the repo root (config inpyproject.toml).
Установка Fastmcp Caddy Proxy
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/Aiven-Labs/fastmcp-caddy-proxyFAQ
Fastmcp Caddy Proxy MCP бесплатный?
Да, Fastmcp Caddy Proxy MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Fastmcp Caddy Proxy?
Нет, Fastmcp Caddy Proxy работает без API-ключей и переменных окружения.
Fastmcp Caddy Proxy — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Fastmcp Caddy Proxy в Claude Desktop, Claude Code или Cursor?
Открой Fastmcp Caddy Proxy на 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
автор: mcpdotdirectAmap Maps Mcp Server
MCP server for using the AMap Maps API
автор: duxiaohuiSupabase
Database, auth and storage
автор: SupabaseEverything
Reference / test server with prompts, resources, and tools.
Git
Tools to read, search, and manipulate Git repositories.
Sequential Thinking
Dynamic and reflective problem-solving through thought sequences.
Time
Time and timezone conversion capabilities.
Compare Fastmcp Caddy Proxy with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
