Repository navigation
Restore MCP secret chat guardrails - #485
Conversation
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughThis PR adds explicit credential-handling safety instructions across the MCP layer. It updates the secrets domain definition, server-wide conventions, and tool descriptions to consistently prohibit users from pasting raw secrets/tokens/API keys into chat and directs them to use dedicated credential endpoints instead. ChangesMCP Credential Safety Guidance
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint skipped: no ESLint configuration detected in root package.json. To enable, add Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
🔎 Preview deployed: https://kody-pr-485.kentcdodds.workers.dev Worker: Mocks:
|
Co-authored-by: Kent C. Dodds <me+github@kentcdodds.com>
Summary
secretsdomain description instead of repeating it on every secret capability.Testing
npx vitest run --project node-unit packages/worker/src/mcp/server-instructions.node.test.ts packages/worker/src/mcp/tools/execute.node.test.ts packages/worker/src/mcp/tools/open-generated-ui.node.test.tsnpm run format:checknpm run validateSummary by CodeRabbit