Update deployment command and add OpenCode configuration#151
Merged
Conversation
…ng in wrangler.toml; add opencode configuration
Contributor
There was a problem hiding this comment.
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
DBbinding. - Adds
opencode.jsondefining 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. |
| }, | ||
| "chrome-devtools": { | ||
| "type": "local", | ||
| "command": ["npx", "-y", "chrome-devtools-mcp@latest"] |
There was a problem hiding this comment.
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"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.