feat: add server_info tool for diagnostics and implement interactive CLI onboarding wizard for easier authentication
This commit is contained in:
@@ -65,9 +65,33 @@ docker build -t strava-mcp-server:latest .
|
||||
docker run --rm -p 8000:8000 --env-file .env strava-mcp-server:latest
|
||||
```
|
||||
|
||||
### Local Python (uv)
|
||||
### Local Python (PyPI)
|
||||
|
||||
We use `uv` for lightning-fast dependency management and task execution.
|
||||
The easiest way to get started is using our **interactive onboarding wizard**. You don't even need to clone the repository:
|
||||
|
||||
```bash
|
||||
# 1. Start the interactive setup wizard
|
||||
uvx --from strava-mcp-server-hnrx auth
|
||||
|
||||
# 2. Run the MCP server
|
||||
uvx --from strava-mcp-server-hnrx server
|
||||
```
|
||||
|
||||
The wizard will guide you through creating a Strava API application and automatically save your credentials to a `.env` file.
|
||||
|
||||
### Installation
|
||||
|
||||
If you prefer a traditional installation:
|
||||
|
||||
```bash
|
||||
pip install strava-mcp-server-hnrx
|
||||
# or
|
||||
uv add strava-mcp-server-hnrx
|
||||
```
|
||||
|
||||
### Running from source
|
||||
|
||||
If you want to contribute or run the latest dev version:
|
||||
|
||||
```bash
|
||||
git clone https://git.hnrx.net/hnrx/strava-mcp-server.git
|
||||
@@ -80,17 +104,6 @@ uv run server
|
||||
uv run auth
|
||||
```
|
||||
|
||||
### Run on the fly with `uvx` (No git clone required)
|
||||
|
||||
You can run the server directly from the repository without cloning it manually by using `uvx`:
|
||||
|
||||
```bash
|
||||
# Set up your .env file in the current directory first!
|
||||
uvx --from git+https://git.hnrx.net/hnrx/strava-mcp-server.git server
|
||||
```
|
||||
|
||||
*(If you are already inside the cloned directory, you can also just run `uvx --from . server`)*
|
||||
|
||||
---
|
||||
|
||||
## Strava API Setup
|
||||
|
||||
Reference in New Issue
Block a user