Flappy Bird 游戏应用

Flappy Bird 游戏应用是一款通过 MCP 协议在 AI 聊天客户端内嵌运行的休闲游戏服务,支持启动游戏、提交分数和获取最高分,适用于在聊天界面中直接进行娱乐互动。

  • by sin4ch
  • TypeScript
  • 本地部署
  • 2 星标
  • 更新于
在 GitHub 查看 sin4ch/flappy-bird-mcp

使用说明

Flappy Bird MCP App

A fully playable Flappy Bird game that runs inline in AI chat clients via MCP Apps.

Setup

bun install
bun run build

Run

bun run serve

Server starts at http://localhost:3001/mcp.

Expose via tunnel (for remote hosts like ChatGPT, Claude.ai)

cloudflared tunnel --url http://localhost:3001

Use the generated https://*.trycloudflare.com/mcp URL as your MCP server endpoint.

Configure

VS Code (1.109+)

See the VS Code MCP docs to add an HTTP server with URL http://localhost:3001/mcp.

ChatGPT

  1. Start the tunnel (see above)
  2. Go to chatgpt.com → Settings → Apps → Advanced Settings → enable Developer Mode
  3. Go back to Apps → click Create App
  4. Fill in the details and paste the tunnel URL: https://<your-tunnel>.trycloudflare.com/mcp
  5. Change Authentication to No Auth, then check "I understand and want to continue"
  6. Click Create

Claude.ai

  1. Start the tunnel (see above)
  2. Go to claude.ai → Settings → Connectors → click Add custom connector
  3. Paste the tunnel URL: https://<your-tunnel>.trycloudflare.com/mcp
  4. Click Add

Tools

Tool Description
play-flappy-bird Launches the game (renders inline)
submit-score Submits a score from the game UI
get-high-score Returns the session high score