cws MCP Server
MCP server for Chrome Web Store — extension upload, publish, status, and rollout
cws scores 60 (Good), licensed MIT and written in TypeScript. It installs as a local process. It does not declare tools yet. Filed under Browser automation. GitHub shows 4 stars. Package registries report about 86 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
60 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
60/100 for listing completeness. Lost points: no listed tools, short summary, no docs link.
How quality is graded
Where the 60 comes from
22 + 15 + 2 + 10 + 4 + 7 = 60. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 15 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 2 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "mikusnuz-cws-mcp": { "command": "npx", "args": [ "-y", "cws-mcp@2.0.2" ], "env": { "CWS_CLIENT_ID": "YOUR_CWS_CLIENT_ID", "CWS_CLIENT_SECRET": "YOUR_CWS_CLIENT_SECRET", "CWS_REFRESH_TOKEN": "YOUR_CWS_REFRESH_TOKEN" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
CWS_CLIENT_IDSecret | Required | Google OAuth2 Client ID for Chrome Web Store API |
CWS_CLIENT_SECRETSecret | Required | Google OAuth2 Client Secret |
CWS_REFRESH_TOKENSecret | Required | OAuth2 Refresh Token |
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
cws-mcp
MCP server for Chrome Web Store extension management. Upload, publish, and manage Chrome extensions directly from Claude Code or any MCP client.
When to Use
Use this MCP when you need to:
- "Upload a new version of my Chrome extension" — build your ZIP and use the
uploadtool to push it as a draft - "Publish my extension to the Chrome Web Store" — use
publishto submit for review and go live - "Check the review status of my extension" — use
statusto see review state, version, and deploy percentage - "Update my extension's description or category" — use
update-metadatato save and verify the draft listing - "Cancel a pending submission" — use
cancelto withdraw a submission under review - "Set up staged rollout for my extension" — use
publishwith staged rollout, thendeploy-percentageto ramp up
Tools
| Tool | Description |
|---|---|
upload | Upload a ZIP file to Chrome Web Store (update existing item draft) |
publish | Submit/publish with publish type, rollout percentage, skip-review, and blockOnWarnings |
status | Fetch the current status including review state, deploy percentage, and version |
cancel | Cancel a pending submission |
deploy-percentage | Set staged rollout percentage (0-100, must exceed current target) |
get | Alias of status: v2 publication status, not listing text |
get-metadata-ui | Read the current draft description, category, homepage URL, and support URL from the dashboard |
update-metadata | Save those four supported draft fields through the dashboard and verify them after reload |
update-metadata-ui | Alias of update-metadata |
API Coverage
An upload returning IN_PROGRESS is pending: poll status until lastAsyncUploadState is SUCCEEDED before publishing. FAILED is a tool error. A blocked publish retains error.details, including the warnings that need attention.
This MCP server covers all Chrome Web Store API v2 endpoints:
| v2 Endpoint | MCP Tool |
|---|---|
media.upload | upload |
publishers.items.publish | publish |
publishers.items.fetchStatus | status |
publishers.items.cancelSubmission | cancel |
publishers.items.setPublishedDeployPercentage | deploy-percentage |
All API requests use v2. The public API has no listing-text read/write endpoints; dashboard tools use Playwright and a separate signed-in Chrome profile. Saving listing fields never submits for review. Missing fields, unmatched categories, and unconfirmed saves return errors instead of success.
Setup
Requires Node.js 20 or newer, matching the Playwright runtime requirement.
1. Create OAuth2 Credentials
- Go to Google Cloud Console
- Create a project (or select existing)
- Enable Chrome Web Store API
- Create OAuth2 credentials (Desktop app type)
- Note your Client ID and Client Secret
2. Get Refresh Token
Follow Google's OAuth flow for desktop apps using a local loopback redirect URI, PKCE, and the scope https://www.googleapis.com/auth/chromewebstore. Request offline access (access_type=offline; use prompt=consent when you need a new refresh token). Exchange the authorization code using the same redirect URI and keep the refresh token in your MCP client's secret/environment settings. The former copy-and-paste OOB redirect is no longer supported by Google.
3. Configure MCP
Add to your Claude Code MCP settings (~/.claude/settings.local.json):
{
"mcpServers": {
"cws-mcp": {
"command": "node",
"args": ["/path/to/cws-mcp/dist/index.js"],
"env": {
"CWS_CLIENT_ID": "xxxxx.apps.googleusercontent.com",
"CWS_CLIENT_SECRET": "GOCSPX-xxxxx",
"CWS_REFRESH_TOKEN": "1//xxxxx",
"CWS_PUBLISHER_ID": "me",
"CWS_ITEM_ID": "your-extension-id"
}
}
}
}
Or install globally via npm:
{
"mcpServers": {
"cws-mcp": {
"command": "npx",
"args": ["-y", "cws-mcp"],
"env": { ... }
}
}
}
Environment Variables
| Variable | Required | Description |
|---|---|---|
CWS_CLIENT_ID | Yes | Google OAuth2 Client ID |
CWS_CLIENT_SECRET | Yes | Google OAuth2 Client Secret |
CWS_REFRESH_TOKEN | Yes | OAuth2 Refresh Token |
CWS_PUBLISHER_ID | No | Publisher ID (default: me) |
CWS_ITEM_ID | No | Default extension item ID |
CWS_DASHBOARD_PROFILE_DIR | No | Browser profile path for UI automation (default: ~/.cws-mcp-profile) |
Usage Examples
Check extension status
Use the cws-mcp status tool
Upload and publish
1. Use cws-mcp upload with zipPath="/path/to/extension.zip"
2. Use cws-mcp publish
Hold publication until after approval
Use cws-mcp publish with:
- publishType="STAGED_PUBLISH"
Publish with skip-review
Use cws-mcp publish with skipReview=true
STAGED_PUBLISH holds an approved submission for a later publication; it is not the rollout percentage. Use deployPercentage separately for an eligible extension's gradual rollout.
Stop publishing on validation warnings
Use cws-mcp publish with blockOnWarnings=true
The default is false, matching the API. Inspect returned warningInfo.warnings even when publishing succeeds.
Read or save listing fields without submitting for review
Use cws-mcp get-metadata-ui with headless=false
Use cws-mcp update-metadata with:
- description="..."
- category="Developer Tools"
- homepageUrl="https://example.com"
- supportUrl="https://example.com/support"
Notes:
categorymust match the visible option label exactly in the current dashboard language; English and Korean field labels are supported.- These tools read/save the current dashboard draft, not the published listing or an arbitrary locale. Select the intended localization in the dashboard first; ambiguous fields fail safely.
- Change title, summary, and default locale in
manifest.json/ localized messages, rebuild, anduploadthe ZIP. Use the dashboard directly for icons and screenshots. - First run with
headless=falseif login is required. - Browser profile path defaults to
~/.cws-mcp-profile(override withCWS_DASHBOARD_PROFILE_DIR). - Google Chrome must be installed. Dashboard UI changes can require selector updates; unverified saves return errors. Verify the dashboard before retrying an ambiguous failure.
Staged rollout
1. Use cws-mcp publish with deployPercentage=10
2. Monitor approval/publication with status
3. Use cws-mcp deploy-percentage with percentage=50
4. Use cws-mcp deploy-percentage with percentage=100
Note: deploy-percentage is only available for extensions with 10,000+ seven-day active users. The new percentage must always be higher than the current target.
Migrating from 1.x to 2.0
Google shuts down API v1 on October 15, 2026. Version 2.0 no longer calls it:
getnow returns v2 status. Its oldprojectionargument is rejected; useget-metadata-uifor draft listing text. Published listing text is not exposed by v2.update-metadatanow uses the same dashboard workflow asupdate-metadata-uiand therefore needs Chrome login, not just an API token.- Raw
metadata,title,summary, anddefaultLocaleinputs are rejected with guidance; unsupported inputs are never silently ignored. storeIconPathis no longer accepted as a working upload. The previous generic file-input approach could not verify which asset it changed; upload the icon in the Developer Dashboard instead.
License
MIT
Frequently asked questions
What is cws MCP Server?
MCP server for Chrome Web Store — extension upload, publish, status, and rollout
How do I install cws MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. cws MCP Server runs locally from the npm package cws-mcp with the command npx -y cws-mcp@2.0.2.
Is cws MCP Server free and open source?
Yes. cws MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does cws MCP Server support remote (HTTP) connections?
No remote endpoint is listed for cws MCP Server. It runs locally on your machine over stdio, started by your MCP client.
How is cws MCP Server's trust score calculated?
cws MCP Server scores 60 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.
