2026-06-16 14:02:11 -06:00
|
|
|
# Copy to ".env" in this folder and fill in. Git-ignored — never commit real values.
|
|
|
|
|
SP_TENANT_ID=00000000-0000-0000-0000-000000000000
|
|
|
|
|
SP_CLIENT_ID=00000000-0000-0000-0000-000000000000
|
|
|
|
|
SP_CLIENT_SECRET=your-client-secret-value-here
|
|
|
|
|
|
2026-07-08 15:13:48 -06:00
|
|
|
# When the client secret expires (shown in Entra > Certificates & secrets).
|
|
|
|
|
# Optional but recommended: the server warns at startup, in /health, and in the
|
|
|
|
|
# sharepoint_test tool when <30 days remain — instead of a surprise 401 later.
|
|
|
|
|
# SP_SECRET_EXPIRES=2027-01-01
|
|
|
|
|
|
2026-06-16 14:02:11 -06:00
|
|
|
# Optional: default site so tools can omit the `site` argument.
|
|
|
|
|
# SP_SITE_URL=https://contoso.sharepoint.com/sites/Marketing
|
|
|
|
|
|
|
|
|
|
# Optional safety: set to true to expose ONLY read tools (no create/update/delete).
|
|
|
|
|
# SP_READONLY=false
|
2026-06-16 14:19:51 -06:00
|
|
|
|
|
|
|
|
# --- HTTP transport (only when running with --http, e.g. in Docker) ---
|
|
|
|
|
# Shared bearer token required on the /mcp endpoint. Generate a strong random
|
|
|
|
|
# value, e.g. openssl rand -hex 32
|
|
|
|
|
# If left empty, the HTTP endpoint is UNAUTHENTICATED — don't do that off-LAN.
|
|
|
|
|
# MCP_AUTH_TOKEN=
|
|
|
|
|
# Port the HTTP server listens on (default 3838).
|
|
|
|
|
# PORT=3838
|