Footics MCP
Enables AI assistants to interact with the Footics World Cup 2026 prediction game, reading matches, standings, predictions, and optionally submitting predictions.
README
Footics MCP
A remote MCP server for Footics,
a World Cup 2026 prediction game. A user connects their AI assistant (Claude,
ChatGPT, Cursor…) to https://mcp.footics.app/mcp, signs in with their Footics
account, and the assistant can read their matches, standings and predictions —
and, optionally, submit them. Inference runs on the user's side; Footics only
pays for hosting.
Separate Vercel project from the main site, same Supabase database. Built with
Next.js 16 (App Router) and mcp-handler.
Architecture
AI assistant (Claude / ChatGPT) ──MCP/HTTP──► app/[transport]/route.ts (/mcp)
│ withMcpAuth → lib/auth (verify Supabase JWT)
│ lib/tools → lib/queries (reads)
│ → lib/predictions (writes, gated)
▼
Supabase Postgres (shared with the site)
lib/queries.ts— lean reads that return raw JSON for the model, not the UI view-models.lib/predictions.ts— writes with the same guardrails as the main app. Off by default (MCP_ENABLE_WRITES=false).db/schema.ts,db/index.ts,lib/jokers.ts— mirror the main app's schema and rules so column contracts never drift.
Tools
whoami · list_matches · get_match · get_my_standing · get_my_predictions ·
get_leaderboard · list_my_groups · get_joker_status · search ·
submit_prediction (gated)
Configuration
| Variable | Default | Effect |
|---|---|---|
MCP_ENABLED |
true |
false → /mcp returns 503 with no Supabase/DB call (kill switch) |
MCP_REQUIRE_AUTH |
true |
require a valid bearer token (401 otherwise) |
MCP_ENABLE_WRITES |
false |
allow submit_prediction |
MCP_TOKEN_VERIFY |
getuser |
getuser (robust) or jwks (local, asymmetric) |
MCP_RATE_LIMIT_PER_MIN |
30 |
tool calls per minute per user (0 = off) |
See .env.example for the full list, including the Supabase
connection variables.
Development
pnpm install
cp .env.example .env.local # fill in — point at a staging project, not production
pnpm dev # http://localhost:3000/mcp
pnpm token # mint a test access token + ready-to-paste MCP Inspector commands
pnpm token prints an MCP Inspector command: run tools/list, then whoami,
then any tool. Without an Authorization header the endpoint returns 401.
Security
Auth is required and writes are off by default. See SECURITY.md for the model and how to report a vulnerability.
License
MIT © 2026 Tom Cardoen
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.