localstack-azure-client: the shell-syntax refusal doesn't say that quoting fixes it
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 72/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- typescript
调研方向
从argv.ts开始,issue指出,禁止的 shell 语法会针对多个字符和模式引发相同的AzSyntaxError消息。追踪如何检测被拒绝的输入,以及错误如何传递到命令响应。完成标准是拒绝信息指出对应的字符或模式,并说明给值加引号即可解决问题;同时覆盖报告中的&情况和列出的其他语法。
由索引模型根据 Issue 内容生成。
描述
What happens
localstack-azure-client refuses an unquoted & with a generic message. An agent calling rest with a two-parameter URL got:
rest --method get --url /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/local-rg/providers/Microsoft.ApiManagement/service/local-inventory-apim-test/apis/inventory-api/policies/policy?api-version=2022-08-01&format=rawxml
❌ Command not understood
Command contains forbidden shell syntax.
The agent concluded that "the MCP Azure tool rejects & in az rest URLs, so URLs can carry only one query parameter", dropped format=rawxml, and reported that as a limitation. That's not true. The same URL in double quotes works:
rest --method get --url "/subscriptions/…/policies/policy?api-version=2022-08-01&format=rawxml" --query properties.format
"rawxml"
Expected
The refusal should say which character was refused and that quoting the value fixes it. For example: "& outside quotes is shell syntax. Quote the value, for example --url \"…?a=1&b=2\"." argv.ts throws the same AzSyntaxError text for ;&|<>, $(, ${, backticks and newlines, so the message never says which one it found.
The same applies to $filter, $top and other query parameters. An agent that can't tell why its call was refused will route around the feature.
Context
- MCP server 0.7.0 via npx
- LocalStack Azure emulator 2026.11.0.dev501
- Claude Code with
claude-opus-5-5, deploying theapi-management-function-appsample from localstack-azure-samples
- 主要语言
- TypeScript
- 星标
- 29
- 派生
- 14
- 平均合并
- 3 天 16 小时
- 30 天内合并 PR
- 18
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
localstack/localstack-mcp-server 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
localstack/localstack-mcp-server#112 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 64/100
localstack/localstack-mcp-server#111 ·
维护者通常 1 天内回复
-
Azure weekly suite failing可能已有人在做 @HarshCasper 于 26 天前认领。 未关闭
localstack/localstack-mcp-server#83 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Deployer health check blocks deploys to remote/ephemeral instances (requires a local gateway)可能已有人在做 @missusk 于 62 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 55/100
localstack/localstack-mcp-server#70 ·
维护者通常 1 天内回复
-
Inconsistent container name between `lstk` (`localstack-aws`) and MCP (`localstack-main`)可能已有人在做 @jhubbardsf 于 191 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 55/100
localstack/localstack-mcp-server#25 ·
维护者通常 1 天内回复
查看 localstack/localstack-mcp-server 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 85/100
components-web-app/docs#311 ·
-
难度 2/5 1-3 小时 新手友好度 82/100
NEARBuilders/everything-dev#678 ·
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 90/100
formbricks/formbricks#9881 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复