Guidance needed: Claude Code configuration for workspaces used in both Tasks and interactive sessions #21348
Replies: 1 comment
-
Clarification on the ConfusionTo be more specific about the source of confusion: when a user is using the Coder workspace interactively in Cursor IDE (or any other interactive development environment), there doesn't seem to be any reason for Claude Code to report status back to Coder via the Reporting status back to Coder appears to be strictly useful in the context of Coder Tasks (the automated execution environment), where Coder needs to track the task's progress and status. For interactive development sessions, these status-reporting MCP tools seem unnecessary, yet users are being prompted to approve them on every Claude Code invocation. This suggests that perhaps:
Is there a recommended pattern for distinguishing between these two contexts in the workspace template configuration? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Context
We're using the
coder/claude-coderegistry module in our workspace templates to provide Claude Code integration. However, we're encountering friction with permission management across different usage patterns.Current Setup
coder/claude-codemodule which adds MCP server permissions to~/.claude/settings.json--dangerously-skip-permissions(automated execution)The Problem
When using Claude Code interactively in these workspaces, users are prompted to approve MCP server tools (specifically
mcp__coder__*tools that appear to report status back to Coder).This happens on every Claude Code invocation, which creates friction for interactive workflows.
Questions
Is this expected behavior? Should the
~/.claude/settings.jsonconfiguration from the module automatically approve these tools for interactive sessions too?Should we maintain separate templates? Is the recommended pattern to have:
Is there a better approach? What's the recommended way to handle workspaces that serve both use cases without requiring users to constantly approve the same MCP tools?
Additional Context
coder/claude-codemodule has already configured the MCP server in settings--dangerously-skip-permissionsflag works fineAny guidance on the intended usage pattern would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions