
mcp_server_playground
一个基于 Python 的简单聊天机器人,连接到本地 MCP 服务器,提供数据驱动的骑行活动反馈。
Repository Info
About This Server
一个基于 Python 的简单聊天机器人,连接到本地 MCP 服务器,提供数据驱动的骑行活动反馈。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Strava MCP Chatbot
This is a simple Python chatbot that connects to a locally hosted MCP (Model Context Protocol) server. The chatbot acts as an elite cycling coach, analyzing Strava activities and providing interactive, data-driven feedback.
Features
- Connects to a local MCP server via stdio.
- Uses OpenAI GPT-4o for generating responses.
Setup
-
Strava MCP Server
- Setup Strava MCP server in accordance with instructions in this repository
-
Install Python dependencies:
pip install -r requirements.txt -
Set up your environment variables:
- Create a
.envfile in thesrcdirectory. - Add the following params into your
.env:OPENAI_API_KEY MCP_SERVER_PATH=/path/to/your/mcp-server.js
- Create a
-
Run the chatbot:
python src/chatbot_agent.py
Usage
- When prompted, enter your message or Strava activity details.
- Type
exitorquitto stop the chatbot.
License
MIT License
This project is for demonstration purposes and is not affiliated with Strava or Mathieu van der Poel.
Quick Start
Clone the repository
git clone https://github.com/marekratho/mcp_server_playgroundInstall dependencies
cd mcp_server_playground
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.