Skip to content

feat(workers-scripts): add Workers Scripts MCP server - #519

Open
jrclonts1985 wants to merge 1 commit into
cloudflare:mainfrom
jrclonts1985:jrclonts1985-agents-sdk-mcp-server
Open

jrclonts1985 wants to merge 1 commit into
cloudflare:mainfrom
jrclonts1985:jrclonts1985-agents-sdk-mcp-server

Conversation

@jrclonts1985

Copy link
Copy Markdown

Summary

Cloudflare users need a focused MCP server for managing Worker scripts and controlled rollouts. This adds a stateless Workers Scripts server using the repository's authenticated Agents SDK MCP app and account-scoped API tools.

The server supports script listing, source download, immediate script uploads, staged version uploads, deployment inspection/creation/deletion, and script deletion. Uploads inherit existing bindings and compatibility flags; the supported upload scope is intentionally limited to a single JavaScript module, without binding changes, assets, or Durable Object migrations. Script deletion is non-force and may delete associated Durable Object namespaces and data.

Validation

  • 17 tests passed across 2 test files.
  • TypeScript check, ESLint, Prettier, dependency consistency check, and Vite build passed.

Before staging or production deployment, provision dedicated OAuth KV namespaces and replace the placeholder IDs in apps/workers-scripts/wrangler.jsonc.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant