Every setting the server, the Cloudflare Workers and the CLI read.
#Self-hosted server (Node)
| Variable |
Default |
Purpose |
PORT |
3000 |
HTTP port. |
DATABASE_PATH |
./data/skills.db (/app/data/skills.db in Docker) |
SQLite database file. |
BUNDLES_PATH |
./data/bundles (/app/data/bundles in Docker) |
Folder for skill bundles. |
#Cloudflare Workers (hosted)
| Name |
Kind |
Worker |
Purpose |
DB |
D1 binding |
app, MCP |
Database. |
BUNDLES |
R2 binding |
app, MCP |
Skill bundles. |
ANALYTICS |
Analytics Engine binding |
app |
Optional. |
APP_URL |
var |
app, MCP |
Public URL of the app, such as https://app.skillsplayground.com. |
MCP_PUBLIC_URL |
var |
app, MCP |
Public URL of the MCP host, such as https://mcp.skillsplayground.com. |
GITHUB_CLIENT_ID |
secret |
app |
GitHub OAuth app. |
GITHUB_CLIENT_SECRET |
secret |
app |
GitHub OAuth app. |
EMAIL_PROVIDER_KEY |
secret |
app |
Email for magic links. Required in production. |
JWT_SECRET |
secret |
MCP |
Listed for the MCP worker. |
Set secrets with wrangler secret put. Never commit them.
#CLI
The CLI keeps its settings in a config file in your user config directory, under the skills-playground project name:
| Key |
Set by |
Purpose |
serverUrl |
skills login --server |
Server for every command. Default http://localhost:3000. |
token |
skills login |
API token sent as Authorization: Bearer. |
email |
skills login |
Your email. |
namespace |
skills login |
Namespace used by publish, fork and eval. |
#Ports in Docker Compose
| Service |
Host port |
Container port |
server |
3000 |
3000 |
web (nginx) |
5173 |
80 |