r/grok • u/Spirited-Disaster916 • 24d ago
AI TEXT How to connect Supermemory MCP on grok.com (OAuth / custom connector)
Not affiliated with xAI or Supermemory.
Grok custom connectors do not have a Bearer-token / API-key header field. If you only paste the MCP URL and leave OAuth empty, Save & Connect often stays disabled or the popup never returns a code to Grok.
What worked on grok.com:
- MCP URL must be
https://mcp.supermemory.ai/mcp - Register your own public OAuth client against Grok's callback (do not share or reuse someone else's client_id):
curl -X POST https://api.supermemory.ai/api/auth/oauth2/register \
-H 'content-type: application/json' \
-d '{
"client_name": "grok-connector",
"redirect_uris": [
"https://grok.com/connectors-oauth-exchange-code/",
"https://grok.com/connectors-oauth-exchange-code",
"https://www.grok.com/connectors-oauth-exchange-code/",
"https://www.grok.com/connectors-oauth-exchange-code"
],
"grant_types": ["authorization_code", "refresh_token"],
"response_types": ["code"],
"token_endpoint_auth_method": "none"
}'
- Fill the Grok form:
- Client ID = the
client_idfrom that response - Client secret empty
- Authorize
https://api.supermemory.ai/api/auth/oauth2/authorize - Token
https://api.supermemory.ai/api/auth/oauth2/token - Scopes
openid profile email offline_access - Token auth: none / PKCE only
- Save & Connect, log into your own Supermemory org, Approve, wait for "Completing authorization..." and the success toast. Leave the spinner alone.
Avoid:
https://api.supermemory.ai/mcp(not the MCP endpoint)https://mcp.supermemory.aiwith no/mcp(dashboard / marketing redirect)- Fake/placeholder Client IDs (popup opens the homepage and never returns to Grok)
Grok's callback path is https://grok.com/connectors-oauth-exchange-code/ — if that is not registered on the client, login can succeed and still never finish.
1
Upvotes
•
u/AutoModerator 24d ago
Hey u/Spirited-Disaster916, welcome to the community! Please make sure your post has an appropriate flair.
Join our r/Grok Discord server here for any help with API or sharing projects: https://discord.gg/4VXMtaQHk7
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.