-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathwrangler.example.jsonc
More file actions
41 lines (41 loc) · 1.42 KB
/
Copy pathwrangler.example.jsonc
File metadata and controls
41 lines (41 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"$schema": "./node_modules/wrangler/config-schema.json",
"name": "spotify-mcp",
"main": "src/worker.ts",
"compatibility_date": "2026-07-27",
"compatibility_flags": ["nodejs_compat"],
"workers_dev": true,
"vars": {
"MCP_NAME": "mcp-spotify",
"MCP_TITLE": "Spotify Music",
"MCP_VERSION": "1.0.0",
"MCP_LEGACY_MODE": "stateless",
"MCP_MAX_REQUEST_BYTES": "1048576",
"AUTH_ENABLED": "true",
"SPOTIFY_ACCOUNTS_URL": "https://accounts.spotify.com",
"SPOTIFY_API_URL": "https://api.spotify.com/v1",
"OAUTH_SCOPES": "playlist-read-private playlist-read-collaborative playlist-modify-public playlist-modify-private user-read-playback-state user-modify-playback-state user-read-currently-playing user-library-read user-library-modify",
"OAUTH_REDIRECT_ALLOW_ALL": "false",
"OAUTH_REDIRECT_ALLOWLIST": "alice://oauth/callback,https://claude.ai/api/mcp/auth_callback,https://claude.com/api/mcp/auth_callback,https://example.com/mcp/oauth/spotify/callback",
"OAUTH_REDIRECT_URI": "https://your-worker.your-subdomain.workers.dev/oauth/callback",
"NODE_ENV": "production",
"LOG_LEVEL": "info"
},
"kv_namespaces": [
{
"binding": "TOKENS",
"id": "YOUR_KV_NAMESPACE_ID"
}
],
"observability": {
"enabled": true,
"logs": {
"enabled": true,
"head_sampling_rate": 1
},
"traces": {
"enabled": true,
"head_sampling_rate": 0.1
}
}
}