Skip to content

thomas-rx/asc-mcp-cloudflare

Repository files navigation

asc-mcp-cloudflare

Remote MCP server for App Store Connect, built for Cloudflare Workers.

This repository is intentionally not a 1:1 port of the Go CLI. Cloudflare’s MCP guidance favors focused tools over a giant API wrapper, so this server exposes release-oriented tools plus one raw API escape hatch.

Related references:

Tool surface

  • validate_credentials
  • find_apps
  • list_builds
  • list_testflight_groups
  • list_app_store_versions
  • list_review_submissions
  • get_release_status
  • app_store_connect_request

Worker secrets

Set these secrets before local or remote use:

  • ASC_KEY_ID
  • ASC_ISSUER_ID
  • one of:
    • ASC_PRIVATE_KEY
    • ASC_PRIVATE_KEY_B64

Optional:

  • ASC_API_BASE_URL
  • ASC_TOKEN_AUDIENCE

For local development, using base64 is easier than pasting a multiline PEM into .dev.vars.

Example:

base64 -i /path/to/AuthKey_ABC123.p8 | tr -d '\n'

Then put the value into .dev.vars as ASC_PRIVATE_KEY_B64.

Local development

npm install
npm run cf-typegen
npm run dev

The MCP endpoint is:

http://127.0.0.1:8787/mcp

The root URL returns a small JSON status document:

http://127.0.0.1:8787/

Deploy

wrangler secret put ASC_KEY_ID
wrangler secret put ASC_ISSUER_ID
wrangler secret put ASC_PRIVATE_KEY
npm run deploy

If you prefer base64 secrets:

wrangler secret put ASC_PRIVATE_KEY_B64

Connect a client

Example with mcp-remote:

{
	"mcpServers": {
		"asc-cloudflare": {
			"command": "npx",
			"args": ["mcp-remote", "https://your-worker.your-subdomain.workers.dev/mcp"]
		}
	}
}

Checks

npm run format
npm run lint
npm run cf-typegen
npm run type-check
npm run check

Scope and limitations

  • This server is Cloudflare-native and calls App Store Connect directly.
  • It does not run the Go CLI binary inside Workers.
  • It covers the common discovery and release-status paths first.
  • app_store_connect_request exists for unsupported endpoints, but the focused tools should be preferred.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors