This doesn't break anything, but it produces an error in Geargrafx's log output:
[MCP] Sending error: {"error":{"code":-32601,"message":"Method not found: resources/templates/list"},"id":3,"jsonrpc":"2.0"}
Apparently this is because the MCP resources capability doesn't have a flag to specify whether resource templates are available so Codex sends a discovery request:
{
"jsonrpc": "2.0",
"id": 3,
"method": "resources/templates/list"
}
Geargrafx handles resources/list and resources/read but resources/templates/list falls through to the general "Method not found" response.
Codex suggested returning an empty list instead, like so:
{
"jsonrpc": "2.0",
"id": 3,
"result": {
"resourceTemplates": []
}
}
This doesn't break anything, but it produces an error in Geargrafx's log output:
Apparently this is because the MCP
resourcescapability doesn't have a flag to specify whether resource templates are available so Codex sends a discovery request:Geargrafx handles
resources/listandresources/readbutresources/templates/listfalls through to the general "Method not found" response.Codex suggested returning an empty list instead, like so: