tft-meta-coach
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., "@tft-meta-coachshow me the top meta decks for this patch"
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.
TFT Meta Coach MCP Server
A stateless, Streamable-HTTP MCP server providing Teamfight Tactics (TFT, 전략적 팀 전투) meta statistics and personal match analysis, built for submission to PlayMCP.
See abstrack.txt for the project pitch, mcp_guide.md for
the PlayMCP requirements this server follows, and skills.md for the full tool spec.
Architecture
app/
api/ # (reserved for future non-MCP HTTP endpoints)
tools/ # MCP tool implementations + FastMCP registry
riot/ # Riot API wrapper (account/summoner/league/match/ddragon/patch notes)
cache/ # Redis client + key schema
analysis/ # Deck classifier, meta stat aggregation, history/weakness analysis
models/ # Pydantic domain models
scheduler/ # Batch jobs (Cloud Run Job entrypoint)
utils/ # Config, logging, errors
main.py # FastAPI app; mounts the MCP Streamable HTTP transportRealtime MCP tool calls only ever read Redis or make lightweight, per-player Riot API calls (profile lookup, match history). Meta statistics (deck tier list, augment stats, item builds, Challenger baseline) are never computed on request — they're produced by the scheduled batch job below and served from Redis.
Related MCP server: MCP Riot Server
Batch pipeline
Cloud Scheduler -> Cloud Run Job (python -m app.scheduler.run_batch)
-> tft-league-v1 (Challenger players)
-> tft-match-v1 (recent matches, deduped across shared lobbies)
-> deck classification + pandas aggregation
-> Redis (meta:decks, meta:augments, meta:items, meta:baseline, meta:lastUpdated)Each key is stored both as the "latest" value and patch-scoped (e.g. meta:decks:14.24),
so tools can serve either the current snapshot or a specific past patch.
Deck classification
Riot's match API never returns a deck name — app/analysis/deck_rules.py is a small,
declarative rule table (trait-threshold rules + carry-item rules) that deck_classifier.py
matches against. To update for a new TFT set, edit deck_rules.py only; the classifier
itself has no set-specific logic.
Running locally
cp .env.example .env # fill in RIOT_API_KEY at minimum
pip install -r requirements.txt
redis-server & # or point REDIS_URL at an existing instance
# one-off: populate the meta caches
python -m app.scheduler.run_batch
# start the MCP server
uvicorn main:app --reload --port 8080The Streamable HTTP endpoint is served at http://localhost:8080/mcp (stateless mode —
no session negotiation required). GET /healthz is a plain liveness check.
Tests
pytestUnit tests cover deck classification, meta stat aggregation, history/weakness analysis,
and hidden-OP deck recommendation. Integration tests mock the Riot API with respx and
Redis with fakeredis, and drive the MCP tool functions end-to-end.
Docker / Cloud Run
docker build -t tft-mcp-server .
docker run -p 8080:8080 --env-file .env tft-mcp-serverThe same image serves both roles on Cloud Run:
Service (the MCP server): default
CMDfrom the Dockerfile.Job (the batch scheduler): override the container command to
python -m app.scheduler.run_batch, triggered on a schedule by Cloud Scheduler.
Known limitations
tft_summarize_patchscrapes Riot's public patch notes page with a heuristic buff/nerf classifier (keyword-based<li>parsing) — if Riot changes that page's markup, only this tool's parsing degrades (it returns an empty buff/nerf list with an explanatorymeta_impact, rather than failing the whole server).rankFiltercurrently only supports"challenger", matching what the batch job actually collects (tft-league-v1Challenger league).
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.
Latest Blog Posts
- 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/JoonHyun814/mcp-tft-meta-coach'
If you have feedback or need assistance with the MCP directory API, please join our Discord server