Skip to content

[Bug]: Every Claude session logs CLAUDE_SDK_CAN_USE_TOOL_SHADOWED for mcp__t3-code__* #31511

Closed

Description

@iurii-provizio

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/server

Steps to reproduce

  1. Run the T3 server (here the background service, with stderr going to boot-service.log).
  2. Start any thread on the Claude provider.
  3. Look at the server's stderr.

Expected behavior

No Node warning on every Claude session. docs/orchestration-v2/orchestrator-mcp-server.md passes "mcp__t3-code__*" in allowedTools on purpose, to auto-approve T3's own MCP tools.

Actual behavior

Each Claude session start prints this Node warning to the server's stderr:

(node:<pid>) [CLAUDE_SDK_CAN_USE_TOOL_SHADOWED] Warning: canUseTool will not be invoked for: mcp__t3-code__*. Bare allowedTools entries auto-approve the whole tool before the callback is consulted. To gate every tool call, use a PreToolUse hook; or remove the bare names from allowedTools so they fall through to canUseTool. Allow rules from settings files can also shadow the callback but are not visible here.

My boot-service.log has 51 of them since Oct 20. If auto-approval is intended, the warning is noise. If T3 means its canUseTool callback to gate some of its own tools in supervised runtime modes (for example t3_project_delete or delete_scheduled_task), this bare entry bypasses that gate.

Impact

Cosmetic issue

Version or commit

0.1.0 through 0.1.7 (background service)

Environment

Ubuntu 24.04.5, T3 background service as a systemd user unit

Logs or stack traces

See above.

Workaround

None needed; it is log noise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions