Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Guidance needed: Claude Code configuration for workspaces used in both Tasks and interactive sessions#21348

Unanswered
jasonwbarnett asked this question inModules
Discussion options

Context

We're using thecoder/claude-code registry module in our workspace templates to provide Claude Code integration. However, we're encountering friction with permission management across different usage patterns.

Current Setup

  • Workspaces include thecoder/claude-code module which adds MCP server permissions to~/.claude/settings.json
  • These workspaces are used in two distinct ways:
    1. Coder Tasks: Runs Claude Code with--dangerously-skip-permissions (automated execution)
    2. Interactive development: Users SSH into workspaces and run Claude Code manually (via CLI or IDE extensions like the Claude Code VS Code extension)

The Problem

When using Claude Code interactively in these workspaces, users are prompted to approve MCP server tools (specificallymcp__coder__* tools that appear to report status back to Coder).

This happens on every Claude Code invocation, which creates friction for interactive workflows.

Questions

  1. Is this expected behavior? Should the~/.claude/settings.json configuration from the module automatically approve these tools for interactive sessions too?

  2. Should we maintain separate templates? Is the recommended pattern to have:

    • One template/configuration for Coder Tasks (automated)
    • A different template/configuration for regular workspaces (interactive)
  3. 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

  • User setup: Cursor Desktop with SSH connection to remote workspace, Claude Code extension enabled
  • The permission prompts appear even though thecoder/claude-code module has already configured the MCP server in settings
  • For Coder Tasks, the--dangerously-skip-permissions flag works fine
  • For interactive use, the constant permission prompts disrupt the workflow

Any guidance on the intended usage pattern would be greatly appreciated!

You must be logged in to vote

Replies: 1 comment

Comment options

Clarification on the Confusion

To 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 themcp__coder__* tools.

Reporting status back to Coder appears to be strictly useful in the context ofCoder 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:

  1. Thecoder/claude-code module is configured primarily for Coder Tasks use case
  2. Interactive workspace usage might need a different configuration that excludes the status-reporting MCP tools
  3. Or there's a way to conditionally enable these tools only when running in Coder Tasks context

Is there a recommended pattern for distinguishing between these two contexts in the workspace template configuration?

You must be logged in to vote
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Modules
Labels
None yet
1 participant
@jasonwbarnett
Converted from issue

This discussion was converted from issue #21322 on December 21, 2025 12:05.


[8]ページ先頭

©2009-2025 Movatter.jp