cws

v2.0.2
io.github.mikusnuz/cws Checked 1 day ago Published 1 month ago

MCP server for Chrome Web Store — extension upload, publish, status, and rollout

Values you need

VariableWhat it is
CWS_CLIENT_IDrequired secret Google OAuth2 Client ID for Chrome Web Store API
CWS_CLIENT_SECRETrequired secret Google OAuth2 Client Secret
CWS_REFRESH_TOKENrequired secret OAuth2 Refresh Token

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add cws -e 'CWS_CLIENT_ID=<CWS_CLIENT_ID>' -e 'CWS_CLIENT_SECRET=<CWS_CLIENT_SECRET>' -e 'CWS_REFRESH_TOKEN=<CWS_REFRESH_TOKEN>' -- npx -y cws-mcp@2.0.2
Add to claude_desktop_config.json
{
  "mcpServers": {
    "cws": {
      "args": [
        "-y",
        "cws-mcp@2.0.2"
      ],
      "command": "npx",
      "env": {
        "CWS_CLIENT_ID": "<CWS_CLIENT_ID>",
        "CWS_CLIENT_SECRET": "<CWS_CLIENT_SECRET>",
        "CWS_REFRESH_TOKEN": "<CWS_REFRESH_TOKEN>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "cws": {
      "args": [
        "-y",
        "cws-mcp@2.0.2"
      ],
      "command": "npx",
      "env": {
        "CWS_CLIENT_ID": "<CWS_CLIENT_ID>",
        "CWS_CLIENT_SECRET": "<CWS_CLIENT_SECRET>",
        "CWS_REFRESH_TOKEN": "<CWS_REFRESH_TOKEN>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "CWS_CLIENT_ID",
      "id": "cws-client-id",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "CWS_CLIENT_SECRET",
      "id": "cws-client-secret",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "CWS_REFRESH_TOKEN",
      "id": "cws-refresh-token",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "cws": {
      "args": [
        "-y",
        "cws-mcp@2.0.2"
      ],
      "command": "npx",
      "env": {
        "CWS_CLIENT_ID": "${input:cws-client-id}",
        "CWS_CLIENT_SECRET": "${input:cws-client-secret}",
        "CWS_REFRESH_TOKEN": "${input:cws-refresh-token}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.cws]
command = "npx"
args = ["-y", "cws-mcp@2.0.2"]
env = { "CWS_CLIENT_ID" = "<CWS_CLIENT_ID>", "CWS_CLIENT_SECRET" = "<CWS_CLIENT_SECRET>", "CWS_REFRESH_TOKEN" = "<CWS_REFRESH_TOKEN>" }

For AI agents

  1. Ask the user for: CWS_CLIENT_ID, CWS_CLIENT_SECRET, CWS_REFRESH_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: upload, publish, status, cancel, deploy-percentage, get, get-metadata-ui, update-metadata, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json