# How to connect DunSocial MCP to Claude Code or Cursor > Connect DunSocial to Claude Code or Cursor with Streamable HTTP and OAuth, then verify the workspace before your coding agent creates posts. - Published: 2026-08-06 - Last updated: 2026-08-06 - Author: DunSocial - Topics: mcp, how-to --- A coding agent already has the context that makes a release post accurate: the changed code, tests, public docs and changelog. MCP gives that agent DunSocial tools without making you leave the editor. The connection uses OAuth. Add the remote server, authorize a workspace in the browser and begin with a read-only check. Search phrases: DunSocial MCP Claude Code, connect social media MCP to Cursor, MCP server coding agent, Claude Code social media tools, Cursor social media automation. ## What you will do - Add DunSocial to Claude Code or Cursor. - Authorize the intended workspace without pasting a token. - Verify account and queue state before using write tools. ## Before you start - An active DunSocial workspace with the intended social accounts already connected. - An MCP client that supports Streamable HTTP and OAuth, such as Claude, ChatGPT, Cursor or Copilot Studio. - A person who can review the final account, copy and time before publishing. ## Step by step ### 1. Add the server in Claude Code Run the user-scoped command, then open `/mcp` to authorize and inspect the connection. ``` claude mcp add --transport http --scope user dunsocial https://api.dunsocial.com/api/mcp ``` ### 2. Or configure Cursor Add the same URL under `mcpServers` in Cursor settings. Cursor should open the OAuth authorization flow when the connection is used. ``` { "mcpServers": { "dunsocial": { "url": "https://api.dunsocial.com/api/mcp" } } } ``` ### 3. Choose the workspace On the DunSocial consent screen, select the workspace that owns the product accounts. Review the requested access and complete authorization. ### 4. Test with a read request Keep the first request independent of repository content so connection mistakes are easy to see. > List the connected social accounts and posts scheduled this week. Name the DunSocial workspace. Do not create or change anything. ## Check before you finish - The assistant names the correct DunSocial workspace and destination accounts. - Every factual claim comes from the source material or saved workspace memory. - The final action, timezone and returned post or draft IDs are visible. ## Where to go next Use the code-changes guide to create drafts from public-safe repository context, while keeping secrets and internal comments out of the prompt. --- ## About this document This is the Markdown representation of https://www.dunsocial.com/blog/connect-dunsocial-mcp-to-claude-code-or-cursor. The HTML version of the same page is at the same URL. You can also request Markdown from any page by sending `Accept: text/markdown`. Machine-readable summary of the whole site: https://www.dunsocial.com/llms.txt ## Company - Product: DunSocial, https://www.dunsocial.com - Legal entity: THISUX PRIVATE LIMITED, Chennai, Tamil Nadu, India - Support: support@dunsocial.com - Open the app: https://app.dunsocial.com/login