New mcp-server/ exposes SharePoint Lists as MCP tools (test, list_lists, get_columns, list_items, get_item, create/update/delete_item) via the same graph.mjs core. Supports stdio (Claude Desktop/Code/Cowork) and Streamable HTTP (--http). SP_READONLY gates write tools. Adds project .mcp.json and ignores build artifacts. Verified end-to-end live over stdio and HTTP initialize. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
14 lines
541 B
Plaintext
14 lines
541 B
Plaintext
# 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
|
|
|
|
# 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
|
|
|
|
# Optional: HTTP port when running with --http (default 3838).
|
|
# PORT=3838
|