📋 概述
此MCP服务器连接到 冲击岩石 RSS提要,并为AI助手提供访问马刺队最新比赛结果和博客文章的权限。
🛠️ 安装指南
先决条件
- 🐍 您的计算机上安装了Python 3.13或更高版本
- 💻 基本熟悉命令行操作
分步安装
1️⃣ Get the code
# Clone with Git
git clone https://github.com/yourusername/spurs-blog-mcp-server.git
cd spurs-blog-mcp-server
# Or download the ZIP and extract it2️⃣ Install dependencies
# Install all required packages
pip install -r requirements.txt3️⃣ Launch the server
# Start the MCP server
python pounding_the_rock.py💡 当没有错误输出时,服务器正在成功运行。与Claude一起使用服务器时,请保持此终端窗口打开。
🔄 连接到Claude for Desktop
设置Claude桌面
1️⃣ Install Claude for Desktop
- 下载自 claude.ai/下载
- 按照操作系统的安装说明进行操作
2️⃣ Open the configuration file
mac用户:
- 点击屏幕顶部的Claude菜单
- 选择“设置…”
- 点击左侧边栏中的“开发人员”
- 点击“编辑配置”
windows用户:
- 打开文件资源管理器
- 引导到
%APPDATA%\Claude\ - 创建或编辑文件
claude_desktop_config.json
3️⃣ Add the server configuration
将以下JSON复制并粘贴到配置文件中:
{
"mcpServers": {
"spurs-blog": {
"command": "uv",
"args": [
"--directory",
"/REPLACE/WITH/FULL/PATH/TO/spurs-blog-mcp-server/",
"run",
"pounding_the_rock.py"
]
}
}
}⚠️ 重要:替换 /REPLACE/WITH/FULL/PATH/TO/spurs-blog-mcp-server/ 使用计算机上服务器文件的实际完整路径。4️⃣ Finalize setup
- 保存配置文件
- 重新启动桌面版的Claude
- 验证连接:寻找🔨 聊天界面右下角的锤子图标,表示可用工具
🧰 可用工具
Tool Description
get_player_info(player_name) Get latest stats for a specific Spurs player.
get_recent_results Get latest scores and results.
search_articles Search for keywords in the latest posts.
💬 查询示例
Basic Queries
- “告诉我马刺队在昨晚的比赛中表现如何”
- “你能告诉我斯蒂芬·卡塞尔在这几场比赛中的表现吗?”
- “马刺队在即将到来的休赛期有哪些关键的关注点?”
👥 贡献
欢迎投稿!如果您有改进建议,请随时提交拉取请求或未决问题。
开发人员资源
Building MCP with LLMs
MCP Documentation
📄 许可证
该项目根据 MIT许可证.

