Connect and authenticate
Connect an MCP client with user sign-in, Claude auto-connect or organization credentials
The Grunt MCP Server uses Streamable HTTP and OAuth authentication. Connect with user sign-in for personal assets, configure Claude auto-connect for your team, or use organization credentials for a machine-to-machine (M2M) integration.
#Network requirements
For Grunt Cloud, the MCP client needs outbound HTTPS on port 443 to mcp.grunt.io. The user's browser needs access to auth.grunt.io and the sign-in provider used during authorization. For a cloud-hosted assistant, MCP requests originate from the assistant provider's infrastructure; allowing the endpoint on the user's computer alone does not establish that connection.
Opening returned editor links also requires browser access to Grunt Web Studio. For customer-hosted endpoints, see Hosting and access. The PowerPoint add-in has separate network requirements; live desktop access also uses the Grunt Remote connection.
#Add the server to your client
For ChatGPT, follow the ChatGPT setup guide.
Open your client's MCP settings
Add a remote MCP server. The exact name of this setting depends on your client.
Enter the Grunt MCP URL
https://mcp.grunt.io/mcp
Sign in to Grunt
Connect the server. Your client opens the authorization flow and prompts you to sign in.
Approve access
Complete the authorization flow. Your client can then discover and call the available tools.
#Complete your first user sign-in
Use the email address associated with your Grunt account so you can retain access to your existing assets and licenses. Unless your administrator has configured Claude auto-connect, use your client's connection prompt and approve access. Installing a plugin alone does not authorize MCP access.
Follow the methods offered by your deployment. The updated Grunt sign-in page offers Continue with Microsoft, Continue with Google, Email me a sign-in link for an existing account, and Create an account with email when you’re new. Rollout can differ by environment; contact Grunt support if the method you need is unavailable.
Email sign-in uses a magic link. Open it and choose Verify email, then return to the tab where you started and choose Continue. Microsoft work or school, personal Microsoft and Google sign-in count your provider email as verified. They continue to access approval without an additional Grunt verification email.
For Microsoft work or school accounts, if your email domain is registered on a Grunt organization, your administrator must enable SSO in Console. If SSO is disabled for that domain, Grunt denies that Microsoft login. An unregistered domain can use Microsoft work or school sign-in. Personal Microsoft and Google accounts remain general sign-in choices.
Signing in or creating an account does not grant a paid license or organization membership. If your assets are missing, confirm which email you used before creating another account.
#Managed Claude authentication
Claude auto-connect lets members of your organization access Grunt through Claude without completing an individual Grunt authorization prompt. A customer administrator configures it once in Claude and the Grunt Client Portal. Access belongs to the individual user, including any assets they create.
#Before you begin
You need:
- An organization owner who can configure managed authorization in Claude. See Claude's auto-connect administrator guide for availability and access requirements.
- Permission to manage your Grunt organization's settings and the Integrations product feature enabled for that organization. If the page or Claude auto-connect section is missing, ask your administrator or Grunt support to check both.
- Existing Grunt users with confirmed email addresses, current membership in the selected organization and the required product access. For first-time email linking, each user's Claude email must match their confirmed primary Grunt email.
#Set up auto-connect
Add the connector in Claude
In Claude's organization Connectors settings, add Grunt or create a custom connector using https://mcp.grunt.io/mcp. In its OAuth client settings, choose Use Claude's published identity.
Copy the Claude issuer
Open the connector's Managed authorization setup, choose Claude-issued and copy the complete Issuer URL. Create the connector first if these settings are not yet available.
Use the exact URL Claude shows, beginning with https://identity.anthropic.com/issuers/. Each customer's Claude organization has its own issuer; do not copy another organization's issuer or construct it from a tenant ID.
Save the issuer in Grunt
In the Grunt Client Portal, select the intended organization and open Integrations → Claude auto-connect. Paste the URL into Claude issuer URL.
Select the option allowing Claude to link existing, confirmed organization members by matching their Grunt email on first connection. Select Enable auto-connect for this organization, then Save auto-connect settings. This authorizes the initial email match; it does not create accounts, confirm email addresses or grant membership or licenses.
Leave Advanced issuer settings → Signed issuer tenant empty for the usual setup. This is a separate field from Claude's Tenant ID.
Select the Grunt workspace in Claude
You can copy the Workspace ID displayed by Grunt into Claude's Tenant ID (optional) field. It selects the Grunt organization; you do not need to look up an internal organization ID yourself.
You can leave Tenant ID empty when exactly one enabled Grunt organization trusts that issuer. If several Grunt organizations trust the same issuer, enter the intended organization's Workspace ID so Grunt can select it unambiguously.
Keep Use Claude's published identity selected. You do not need the portal's Optional dedicated OAuth credentials for this setup.
Test and enable the connection
Run Claude's connection test as a user who meets the account and membership requirements above. Confirm that eligibility, authorization-server discovery, identity-grant creation, token exchange and the connector probe all pass. Continue through Claude's remaining access and role settings to enable auto-connect for the intended users.
Discover the Grunt tools, create a chart with sample data and check that it belongs to the expected user. Test live PowerPoint access separately if your workflow uses it.
Configure each environment separately. Saving an issuer in staging does not configure production; use the MCP URL and Client Portal for the environment you intend to test.
#Disable access or change email linking
To stop auto-connect, clear Enable auto-connect for this organization and save. Disabling the connection, removing a user's Grunt organization membership or disabling Integrations blocks new token exchanges. Already-issued access tokens remain valid until they expire, within five minutes.
Turning off email linking stops new email-based identity links. Existing links continue to work while auto-connect remains enabled and the user remains an eligible member. Disable auto-connect to stop new tokens for everyone.
Domain-based Claude auto-connect
People in your registered organization domain will be able to connect without an existing Grunt account.
#OAuth metadata
Clients can discover the server's protected resource metadata at:
https://mcp.grunt.io/.well-known/oauth-protected-resource
The response includes:
resourceauthorization_serversscopes_supported
Production advertises the mcp.access scope. Read the metadata from the endpoint you use, then retrieve the authorization server's /.well-known/openid-configuration for its authorization and token endpoints. Production uses https://auth.grunt.io/.
Use the exact advertised resource value when requesting a token. For production, it is https://mcp.grunt.io/mcp. Staging or another environment can use a different resource. Identity scopes such as openid and email do not replace mcp.access.
#Connect with organization credentials
Use the OAuth client_credentials grant when your integration runs without a signed-in user.
Create an MCP client
In the Grunt client portal, open your organization's Integrations page and select Create client. Choose MCP server under Access. You need permission to manage organization clients.
If Integrations is unavailable, contact your organization administrator or Grunt support to check whether it is enabled for your organization.
Save the connection details
Copy the client ID and the one-time client secret. Under MCP connection details, copy the MCP server URL, Token endpoint, Resource, and Scope. Keep the secret in your backend's secret store.
Request an access token
Set GRUNT_CLIENT_ID and GRUNT_CLIENT_SECRET from your secret store. Set GRUNT_TOKEN_ENDPOINT, GRUNT_MCP_RESOURCE, and GRUNT_MCP_URL to the connection details for your environment. Then request a token:
curl --fail-with-body --request POST "$GRUNT_TOKEN_ENDPOINT" \
--data-urlencode "grant_type=client_credentials" \
--data-urlencode "client_id=$GRUNT_CLIENT_ID" \
--data-urlencode "client_secret=$GRUNT_CLIENT_SECRET" \
--data-urlencode "scope=mcp.access" \
--data-urlencode "resource=$GRUNT_MCP_RESOURCE"
Read access_token from the JSON response. Send it as Authorization: Bearer <access-token> when calling the MCP server.
Access tokens currently last five minutes. Use the returned expires_in to schedule renewal. This grant does not issue a refresh token; request another access token with the client credentials when needed.
mcp.access covers the available chart and table creation, update, and read tools. There is no separate chart-write or asset-create scope. Public API access uses a different resource and token; do not combine Public API scopes with MCP access in one token.
Assets created with organization credentials belong to that organization and can be accessed by its other MCP clients. They do not automatically appear among a user's personal assets. Use an asset ID owned by the same organization when reading or updating it.
#Test an authenticated connection
Use an MCP SDK for normal connections so it handles initialization and protocol negotiation. With a valid access token, you can also inspect the current tool list directly. Set GRUNT_MCP_URL to your server URL and GRUNT_ACCESS_TOKEN to the returned access token:
curl --fail-with-body --request POST "$GRUNT_MCP_URL" \
-H "Authorization: Bearer $GRUNT_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{
"jsonrpc": "2.0",
"id": "1",
"method": "tools/list"
}'
Use the exact tool name and inputSchema returned by this endpoint. For example, the bar-chart tool is create_or_update_bar_chart. See the tool reference for a complete tools/call request body. Send it to the same URL with the same headers.
#Troubleshooting
- Claude auto-connect settings are missing: check your permission to manage organization settings and whether the Integrations product feature is enabled. In Claude, check managed-authorization availability using its administrator guide above.
- Claude's managed-authorization test fails: confirm that auto-connect is enabled in the intended environment, the complete issuer matches Claude's Issuer URL, and Use Claude's published identity is selected. If several Grunt organizations trust that issuer, enter the intended Workspace ID as Claude's Tenant ID. Leave Grunt's Signed issuer tenant empty unless Claude explicitly supplies one.
- Auto-connect works for one member but fails for another: check the user's current Grunt organization membership, confirmed primary email and product access. On first connection, email linking must be enabled and the Claude email must match. Auto-connect does not provision missing users or memberships.
- Token request fails: confirm that the client and its secret are enabled and unexpired, that the client has MCP server access, and that
scopeismcp.access. Use the exact resource and token endpoint for the target environment. - MCP returns
401 Unauthorized: obtain a fresh access token and check its target resource. For user sign-in, reconnect and complete authorization. - Sign-in cannot find your email: check the address and use Create an account with email if you are new. Use your existing Grunt email to keep access to your assets.
- No sign-in email arrives or Microsoft/Google sign-in is unavailable: check spam and the email address, then use another method offered on the page or contact Grunt support. Provide the approximate UTC time and any error/correlation reference shown. Do not send sign-in links or tokens.
- Reads work but chart or table creation reports an unknown tool or internal error: refresh
tools/listand compare the exact tool name in your outgoingtools/call. Older names such asbar_chartandtableare not aliases. Usecreate_or_update_bar_chartandcreate_or_update_table. This naming mismatch does not require an additional write scope. - An asset cannot be read or updated: confirm that the asset belongs to the authenticated user or organization. Personal assets and organization assets have separate ownership.
- The tool reports invalid arguments: check the current
inputSchema, including required properties and supported values. - The server does not appear in your client: confirm that the client supports remote MCP servers over Streamable HTTP and your chosen authentication flow.
- A correctly named call still fails: send Grunt support the reference ID, MCP URL, approximate UTC time, and tool name. Do not send access tokens or client secrets. For timeouts or transient failures, check whether the asset was created or updated before retrying; repeating a creation call can create another asset.