SupWriter MCP in Cursor, VS Code, Claude Code, Codex & OpenCode
Integrations
May 26, 2026
5 min read

SupWriter in Cursor, VS Code, Claude Code, Codex & OpenCode: One MCP, Every Dev Tool

Writing isn't only something that happens in a chat app. You write READMEs in VS Code, documentation in Cursor, release notes in Claude Code. The same SupWriter connector that works in Claude and ChatGPT works in your editor and terminal too — so you can humanize a generated README or check the grammar on docs without leaving the file you're in.

Every tool below points at the same endpoint:

https://supwriter.com/api/mcp

The difference is how each one authenticates. Cursor, VS Code, Claude Code, and OpenCode can sign in with OAuth (a one-time browser approval). Codex uses a bearer token instead. Where a tool takes a token, create one under Settings → API & MCP in SupWriter (Pro or Ultra).

Claude Code

From your terminal, add the remote server. The simplest path for a terminal agent is a Direct API key:

claude mcp add --transport http supwriter https://supwriter.com/api/mcp \
  --header "Authorization: Bearer sw_live_your_key"

Prefer OAuth? Add it without the header, then run /mcp inside Claude Code to sign in:

claude mcp add --transport http supwriter https://supwriter.com/api/mcp

Either way, the humanize, paraphrase, grammar_check, and detect_ai tools become available in your sessions. Confirm with claude mcp list.

Cursor

Open Cursor's MCP settings (Settings → Tools & Integrations, then New MCP Server) — that opens your mcp.json. Use ~/.cursor/mcp.json for every project, or .cursor/mcp.json for one. The URL on its own is enough; Cursor handles the OAuth sign-in:

{
  "mcpServers": {
    "supwriter": {
      "url": "https://supwriter.com/api/mcp"
    }
  }
}

Save, then toggle SupWriter on in the MCP panel. Cursor opens your browser to authenticate with SupWriter; after you approve, the tools appear in the Agent (Composer).

Prefer a static key over the sign-in screen? Add a header instead:

{
  "mcpServers": {
    "supwriter": {
      "url": "https://supwriter.com/api/mcp",
      "headers": { "Authorization": "Bearer ${env:SUPWRITER_TOKEN}" }
    }
  }
}

VS Code

MCP is built into VS Code's Copilot agent mode (1.102+). Run "MCP: Add Server" from the Command Palette, or create a .vscode/mcp.json. Note the top-level key is servers and the remote type is http:

{
  "servers": {
    "supwriter": {
      "type": "http",
      "url": "https://supwriter.com/api/mcp"
    }
  }
}

Approve the trust prompt to start the server. On first use VS Code runs the OAuth flow automatically — click Allow and sign in. Then open Chat, switch the dropdown to Agent mode (MCP tools only show there), and ask away.

Codex

OpenAI's Codex CLI connects to remote MCP servers through ~/.codex/config.toml. Codex sends the value of an environment variable as the bearer token — so it stores the variable's name, not the secret. Export your key first:

export SUPWRITER_TOKEN="sw_live_your_key"

Then add the server (either the CLI or the config file works):

codex mcp add supwriter --url https://supwriter.com/api/mcp \
  --bearer-token-env-var SUPWRITER_TOKEN
# ~/.codex/config.toml
[mcp_servers.supwriter]
url = "https://supwriter.com/api/mcp"
bearer_token_env_var = "SUPWRITER_TOKEN"

Restart Codex and the tools are available. (On older Codex builds that don't load remote servers, add experimental_use_rmcp_client = true to your config and update Codex.)

OpenCode

OpenCode reads MCP servers from opencode.json. Add a remote server and pass your key as a header — {env:…} keeps the token out of the file:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "supwriter": {
      "type": "remote",
      "url": "https://supwriter.com/api/mcp",
      "enabled": true,
      "headers": {
        "Authorization": "Bearer {env:SUPWRITER_TOKEN}"
      }
    }
  }
}

Restart OpenCode to load the server. (OpenCode can also do the OAuth flow automatically; set "oauth": false when you're using a static header to skip it.)

Using it in an editor

Once connected, the tools work on selections and generated content. Ask your editor's agent to "humanize the draft README" or "grammar-check the docstring I just wrote, style mode." The agent calls the tool and edits in place.

Troubleshooting

  • Loopback redirect. OAuth-based tools (Cursor, VS Code, Claude Code) complete sign-in via a localhost redirect — that's expected. If a browser window doesn't open, check the tool's logs for the authorization URL and open it manually.
  • Token not picked up (Codex/OpenCode). Make sure SUPWRITER_TOKEN is exported in the same shell that launches the tool; these read the env var at startup.
  • Reconnect prompts. OAuth access tokens are short-lived and refresh automatically; if asked, re-approve. Your account stays linked.
  • INSUFFICIENT_CREDITS / PLAN_LIMIT. Out of word credits, or text over your plan's per-request cap (500 free/basic, 1,500 Pro, 3,000 Ultra).
  • LANGUAGE_NOT_AVAILABLE. That language requires a higher plan; English is available everywhere.

What's next

Every tool is documented on its own: the humanizer, grammar checker, paraphraser, and AI detector. Prefer a chat app? See Claude and ChatGPT.

Related Articles