Skip to content

Wildcard for authorizing all calls to tools for MCP server, cant find the right syntax #83

@rezuma

Description

@rezuma

Cant find the right syntax to authorized the extension to use all tools within a specific mcp server. So i ended up listing the autoaprove one by one which is a pain

{
"mcpServers": {
"aws-cost-explorer": {
"disabled": false,
"timeout": 60,
"type": "stdio",
"command": "/home/rlinan/.local/bin/uvx",
"args": ["awslabs.cost-explorer-mcp-server@latest"],
"env": {
"UV_CACHE_DIR": "/efs/rlinan/.uv-cache",
"TMPDIR": "/efs/rlinan/tmp",
"AWS_DEFAULT_REGION": "us-east-1"
},
"autoApprove": [
"get_today_date",
"get_dimension_values",
"get_tag_values",
"get_cost_and_usage",
"get_ec2_spend_last_day",
"get_detailed_breakdown_by_day",
"get_bedrock_daily_usage_stats",
"get_bedrock_hourly_usage_stats"
]
}
}
}
I tried "autoApprove":["*"] and did not work

Ramon

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions