# Config generator

> Per-host settings for connecting to the Stensul MCP server, as text. The interactive version is the config generator page.

Source: https://stensul.com/developers/config/ · Last reviewed 2026-10-07

Interactive version: [config generator](https://stensul.com/developers/config/).

Replace <your-instance> with the first part of your Stensul address (northwind.stensul.com → northwind).

| Host | Stensul connection (Admin > Settings > API connections) | Host setting |
| --- | --- | --- |
| Claude | Authorization Code, PKCE on, redirect https://mcp.stensul.com/<your-instance>/oauth/callback | Org Connectors > add custom connector from the web: URL https://mcp.stensul.com/<your-instance>/mcp; Authentication: Sign in now; OAuth Client: Use your own OAuth client, with the Client ID |
| Claude Code | Authorization Code, PKCE on (or none: self-registration) | claude mcp add --transport http --client-id <client-id> --callback-port 3334 mcp-stensul https://mcp.stensul.com/<your-instance>/mcp |
| Copilot Studio | Authorization Code, PKCE off, copy secret | Tools > New tool > MCP, OAuth 2.0 Manual; auth URL /oauth/authorize, token and refresh URL /oauth/token |
| Writer | Authorization Code, PKCE off, redirects https://app.writer.com/mcp/oauth/callback and https://mcp.stensul.com/<your-instance>/oauth/callback | Custom connector (Beta) > MCP server, OAuth, DCR No, Client ID + secret |
| ChatGPT | Authorization Code, PKCE on | Workspace admin turns on Developer Mode; Workspace settings > Apps > Create; OAuth; Advanced OAuth Settings: Registration method User-Defined OAuth Client, Client ID, clear Authorization server base and Registration URL, keep the pre-filled Auth URL, Token URL and Resource |
| Gemini Enterprise | Authorization Code, PKCE on | Gemini Enterprise app > Connected data stores > Add MCP server: OAuth 2.0, MCP Server URL, Authorization URL /oauth/authorize, Access Token URL /oauth/token, Client ID, Enable PKCE Support |
| Cursor | Authorization Code, PKCE on | mcp.json with url and auth.CLIENT_ID |
| stdio bridge | Authorization Code, PKCE on | npx -y mcp-remote https://mcp.stensul.com/<your-instance>/mcp 3334 --static-oauth-client-info '{"client_id":"<client-id>"}' |

Scopes: libraries:read, emails:read, emails:write and images:write for drafting; dam:read for the image gallery; dynamic-content:read and dynamic-content:write for Segment Sets. A tool whose scope is missing returns a 403.
