Yorrick Jansen Claude commited on
Commit
e09f7d5
·
1 Parent(s): b9ca428

Update README with Claude Desktop configuration instructions

Browse files

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

Files changed (1) hide show
  1. README.md +31 -1
README.md CHANGED
@@ -108,9 +108,39 @@ mcp dev main.py
108
  To install the server in Claude Desktop:
109
 
110
  ```bash
111
- mcp install main.py
112
  ```
113
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
114
  ## Tools
115
 
116
  ### Get User Activities
 
108
  To install the server in Claude Desktop:
109
 
110
  ```bash
111
+ mcp install --env-file ~/.ssh/env-strava.sh main.py
112
  ```
113
 
114
+ Where `~/.ssh/strava.sh` contains your Strava credentials:
115
+
116
+ ```bash
117
+ export STRAVA_CLIENT_ID=your_client_id
118
+ export STRAVA_CLIENT_SECRET=your_client_secret
119
+ ```
120
+
121
+ Note that this will actually copy your credentials to your Claude Desktop configuration (`/Users/<username>/Library/Application Support/Claude/claude_desktop_config.json`).
122
+
123
+ Alternatively, you can add the following to your Claude Desktop configuration:
124
+
125
+ ```json
126
+ "strava": {
127
+ "command": "bash",
128
+ "args": [
129
+ "-c",
130
+ "source ~/.ssh/strava.sh && uv --directory /Users/yorrickjansen/work/mcp/strava run main.py"
131
+ ]
132
+ }
133
+ ```
134
+
135
+ Where `~/.ssh/strava.sh` contains your Strava credentials:
136
+
137
+ ```bash
138
+ export STRAVA_CLIENT_ID=your_client_id
139
+ export STRAVA_CLIENT_SECRET=your_client_secret
140
+ ```
141
+
142
+ This option is more secure as it doesn't expose your credentials in your configuration file.
143
+
144
  ## Tools
145
 
146
  ### Get User Activities