Issue with Coder MCP when running AWS Q with AgentAPI
HI all getting weird issue while trying to configure AWS Q to run with AgentAPI:
Getting with the coder mcp enabled the following issue:
0: Failed to send the request: unhandled error (ValidationException)
1: unhandled error (ValidationException)
2: service error
3: unhandled error (ValidationException)
4: Error { code: "ValidationException", message: "Improperly formed request.", aws_request_id: "XXXXXXX" }
Without coder mcp it is getting those entries in the prompt:
[agent] > test
{"state": "working", "task": "Processing test request and analyzing environment setup"}
I understand you're testing the system. Let me confirm my environment and capabilities:
....
{"state": "complete", "task": "Test confirmed - system ready for infrastructure tasks"}
What infrastructure work would you like me to tackle?
[agent] >
Looks like this is breaking the q chat...
Anybody saw anything like that?
5 Replies
<#1407820241777721575>
Category
Help needed
Product
Coder (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
Found the solution, needed to send --allowed-tools coder_report_task to the MCP setup 🙂
Ah awesome!!
@matifali was this an issue in the template?
Haven't look into this yet. Amazon Q still needs to be migrated to use AgentAPI and tasks suport