Skip to content

Update deployment command and add OpenCode configuration#151

Merged
mahata merged 1 commit intomainfrom
fix/register-cloudflare
Mar 28, 2026
Merged

Update deployment command and add OpenCode configuration#151
mahata merged 1 commit intomainfrom
fix/register-cloudflare

Conversation

@mahata
Copy link
Copy Markdown
Owner

@mahata mahata commented Mar 28, 2026

Revise the deployment command in the README for clarity and adjust the D1 database binding in the configuration file. Introduce OpenCode configuration for MCP servers to facilitate authentication and deployment processes.

…ng in wrangler.toml; add opencode configuration
Copilot AI review requested due to automatic review settings March 28, 2026 13:20
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Cloudflare deployment/configuration docs and introduces an OpenCode MCP configuration to support authentication and deployment-related workflows.

Changes:

  • Aligns the production D1 database binding name with the app’s expected DB binding.
  • Adds opencode.json defining MCP servers (Cloudflare + Chrome DevTools).
  • Updates README deploy instructions and documents OpenCode MCP authentication steps.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
wrangler.toml Renames the production D1 binding to DB to match runtime expectations.
opencode.json Adds OpenCode MCP server configuration, including a local Chrome DevTools MCP command.
README.md Updates deploy command usage and documents OpenCode MCP server authentication.

Comment thread opencode.json
},
"chrome-devtools": {
"type": "local",
"command": ["npx", "-y", "chrome-devtools-mcp@latest"]
Copy link

Copilot AI Mar 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The MCP chrome-devtools server is invoked via npx ...@latest, which is nondeterministic and can break unexpectedly when upstream releases change. Consider pinning to a known-good version (and optionally using pnpm dlx to align with the repo’s pnpm tooling) so local setups remain reproducible.

Suggested change
"command": ["npx", "-y", "chrome-devtools-mcp@latest"]
"command": ["pnpm", "dlx", "chrome-devtools-mcp@0.1.0"]

Copilot uses AI. Check for mistakes.
@mahata mahata merged commit 84a8531 into main Mar 28, 2026
7 checks passed
@mahata mahata deleted the fix/register-cloudflare branch March 28, 2026 13:28
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.

2 participants