mirror of
https://github.com/andrepimenta/claude-code-chat.git
synced 2025-12-13 05:39:46 +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();
|
const mcpConfigPath = this.getMCPConfigPath();
|
||||||
if (mcpConfigPath) {
|
if (mcpConfigPath) {
|
||||||
args.push('--mcp-config', mcpConfigPath);
|
args.push('--mcp-config', mcpConfigPath);
|
||||||
args.push('--allowedTools', 'mcp__permissions__approval_prompt');
|
args.push('--allowedTools', 'mcp__claude-code-chat-permissions__approval_prompt');
|
||||||
args.push('--permission-prompt-tool', 'mcp__permissions__approval_prompt');
|
args.push('--permission-prompt-tool', 'mcp__claude-code-chat-permissions__approval_prompt');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1033,7 +1033,7 @@ class ClaudeChatProvider {
|
|||||||
|
|
||||||
const mcpConfig = {
|
const mcpConfig = {
|
||||||
mcpServers: {
|
mcpServers: {
|
||||||
permissions: {
|
'claude-code-chat-permissions': {
|
||||||
command: 'node',
|
command: 'node',
|
||||||
args: [mcpPermissionsPath],
|
args: [mcpPermissionsPath],
|
||||||
env: {
|
env: {
|
||||||
|
|||||||
Reference in New Issue
Block a user