fishing-mcp-server
MCP server for a text-based fishing game that allows Claude to play remotely via the Model Context Protocol, with features like casting, buying bait, selling fish, and exploring different locations.
README
🎣 钓鱼游戏 MCP 服务器
基于 tutusagi/ai-fishing-game 的 MCP(Model Context Protocol)服务器实现。
项目说明
这是一个文字钓鱼游戏的 MCP 服务器,可以让 Claude 通过 MCP 协议远程玩钓鱼游戏。
功能特性
- ✅ 完整的钓鱼游戏引擎
- ✅ MCP 协议支持
- ✅ HTTP 接口(适合 Render 等平台部署)
- ✅ 持久化存档
- ✅ 确定性随机(相同种子产生相同结果)
本地测试
# 安装依赖
pip install -r requirements.txt
# 启动 HTTP 服务器
python app.py
# 测试健康检查
curl http://localhost:10000/health
部署到 Render
步骤 1: 准备 Git 仓库
# 在项目目录下初始化 Git
git init
git add .
git commit -m "Initial commit"
# 推送到 GitHub(需要先在 GitHub 创建仓库)
git remote add origin https://github.com/你的用户名/fishing-mcp-server.git
git push -u origin main
步骤 2: 在 Render 上部署
- 访问 Render.com
- 注册/登录账号
- 点击 "New +" → "Web Service"
- 连接你的 GitHub 仓库
- 配置如下:
- Name:
fishing-mcp-server - Runtime:
Python 3 - Build Command:
pip install -r requirements.txt - Start Command:
python app.py - Plan: 选择 Free(免费套餐)
- Name:
- 点击 "Create Web Service"
步骤 3: 获取服务器地址
部署完成后,Render 会给你一个地址,例如:
https://fishing-mcp-server-xxxx.onrender.com
连接到 Claude Code
在 Claude Code 中添加 MCP 服务器配置:
-
打开
~/.claude/settings.json(或使用/config命令) -
添加 MCP 服务器配置:
{
"mcpServers": {
"fishing-game": {
"url": "https://你的render地址.onrender.com/mcp",
"transport": "http"
}
}
}
- 重启 Claude Code
可用工具
fishing_command
执行游戏指令,支持:
help- 查看帮助status- 查看状态shop- 查看商店buy <饵> <数量>- 购买鱼饵cast [次数]- 抛竿钓鱼goto [地点]- 前往地点inventory- 查看背包sell all- 卖掉所有鱼encyclopedia- 查看图鉴
fishing_new_game
重新开始新游戏,可选指定随机种子
游戏说明
- 初始:200 点,5 个普通蚯蚓
- 买饵 → 抛竿 → 钓鱼 → 卖鱼 → 赚点数 → 解锁新地点
- 集齐图鉴,探索不同稀有度的鱼
- 季节会随回合推进而变化
License
MIT
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.