-
Notifications
You must be signed in to change notification settings - Fork 312
Description
Problem Description
The Daily CLI Tools Exploratory Tester is unable to perform any testing due to a "Permission denied and could not request permission from user" error when attempting to use MCP server tools, including the agentic-workflows server.
Impact
- Severity: Critical
- Frequency: Always (100% failure rate)
- Affected Tools: All MCP tools (agentic-workflows, github, bash, status)
- Workaround: None identified
This completely blocks the automated testing workflow, preventing:
- Testing of
auditcommand functionality - Testing of
logscommand functionality - Testing of
compilecommand functionality - Any MCP tool usage for exploratory testing
Steps to Reproduce
- Workflow triggered: Daily CLI Tools Exploratory Tester
- Attempt to call any MCP tool (e.g.,
agentic_workflows-status) - Observe "Permission denied" error
Expected Behavior
MCP server tools should be accessible and return responses based on tool invocation.
Actual Behavior
All tool calls return: Permission denied and could not request permission from user
Environment
- Repository: github/gh-aw
- Run ID: 21757938067
- Workflow: Daily CLI Tools Exploratory Tester
- Date: 2026-02-06T16:32:18Z
Diagnostics
MCP Server Status (from logs)
MCP Gateway: ✅ Healthy and running
- ✓ startup: MCPG Gateway version: v0.0.103
- ✓ startup: Loaded 3 MCP server(s): [agentic_workflows github safeoutputs]
- ✓ backend: Successfully connected to MCP backend server
- ✓ startup: Starting in ROUTED mode on 0.0.0.0:80
MCP Configuration (/home/runner/.copilot/mcp-config.json):
{
"mcpServers": {
"agentic_workflows": {
"type": "http",
"url": "(host.docker.internal/redacted)
"tools": ["*"]
},
"github": { ... },
"safeoutputs": { ... }
}
}
```
**Agentic Workflows MCP Server**: ✅ Initialized successfully
```
[2026-02-06T16:32:04Z] [INFO] [backend] Successfully launched MCP backend server: agentic_workflows
[2026-02-06T16:32:04Z] [INFO] [backend] [stderr] mcp:server MCP server ready on stdio
[2026-02-06T16:32:04Z] [INFO] [backend] Successfully registered tools from agentic_workflowsError Details
Failed Tool Calls:
agentic_workflows-status→ Permission deniedbashcommands → Permission denied (some commands succeed, others fail)
Gateway Logs: No errors or authentication failures logged. All requests show status 200 or 202.
Analysis
The MCP infrastructure (gateway, backend servers, configuration) is functioning correctly. The "Permission denied" error appears to originate from the Copilot agent environment itself, not from the MCP servers or gateway.
Possible causes:
- Agent permission model: The Copilot agent may have restrictions on which MCP tools can be called
- Authentication/authorization: Session or token validation may be failing at the agent level
- Tool registration: MCP tools may not be properly registered with the agent runtime
- Environment issue: Specific to this workflow's execution environment
Recommendations
- Investigate agent permission model: Review how the Copilot agent validates and authorizes MCP tool calls
- Check tool registration: Verify that agentic-workflows tools are properly registered in the agent's tool catalog
- Review authentication flow: Ensure the agent session has proper credentials for MCP tool access
- Test in different context: Try the same workflow with a different engine (e.g., claude, codex) to isolate the issue
- Agent logs: Examine Copilot agent internal logs (if available) for more detailed error information
Additional Context
This is a blocker for the entire Daily CLI Tools Exploratory Testing workflow. Without MCP tool access, no testing phases can be executed. The workflow instructions explicitly state "DO NOT USE gh aw it is not authenticated. Only use tools."
The workflow appears to be caught in a permissions deadlock where:
- Direct CLI usage is unavailable (not authenticated)
- MCP tool usage is blocked (permission denied)
- No alternative testing mechanism is available
AI generated by Daily CLI Tools Exploratory Tester
- expires on Feb 13, 2026, 4:36 PM UTC