mirror of
https://github.com/andrepimenta/claude-code-chat.git
synced 2025-12-09 10:49:44 +00:00
change permissions mcp to claude-code-chat-permissions
This commit is contained in:
@@ -437,8 +437,8 @@ class ClaudeChatProvider {
|
||||
const mcpConfigPath = this.getMCPConfigPath();
|
||||
if (mcpConfigPath) {
|
||||
args.push('--mcp-config', mcpConfigPath);
|
||||
args.push('--allowedTools', 'mcp__permissions__approval_prompt');
|
||||
args.push('--permission-prompt-tool', 'mcp__permissions__approval_prompt');
|
||||
args.push('--allowedTools', 'mcp__claude-code-chat-permissions__approval_prompt');
|
||||
args.push('--permission-prompt-tool', 'mcp__claude-code-chat-permissions__approval_prompt');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1033,7 +1033,7 @@ class ClaudeChatProvider {
|
||||
|
||||
const mcpConfig = {
|
||||
mcpServers: {
|
||||
permissions: {
|
||||
'claude-code-chat-permissions': {
|
||||
command: 'node',
|
||||
args: [mcpPermissionsPath],
|
||||
env: {
|
||||
|
||||
Reference in New Issue
Block a user