Hello,
I am running Domoticz 2026.1 v17592 on a RPI4B / bookworm.
I have configured Visual Studio Code to access a local Domoticz application using the following configuration file
"servers": {
"my-mcp-server-XXXXXX": {
"url": "
http://192.168.0.112:8080/mcp",
"type": "http"
}
},
"inputs": []
Chat activity is successful and I can benefit of AI advise regarding this application via my-mcp-server-XXXXX.
I have a second Domoticz application running remotely and try unsuccessfully to get access to it via my-mcp-server-YYYYY. I have configured it as shown below:
"servers": {
"my-mcp-server-XXXXX": {
"url": "
http://192.168.0.112:8080/mcp",
"type": "http"
},
"my-mcp-server-YYYYY": {
"url": "https://MyDomain:ZZZZ/mcp",
"type": "http"
}
},
"inputs": []
}
When starting my-mcp-server-YYYYY I get this eror in Visual Studio Code
2026-03-31 10:44:07.069 [info] Connection state: Starting
2026-03-31 10:44:07.085 [info] Starting server from LocalProcess extension host
2026-03-31 10:44:07.091 [info] Connection state: Running
2026-03-31 10:44:07.511 [warning] Could not fetch resource metadata: AggregateError: Failed to fetch resource metadata from all attempted URLs
2026-03-31 10:44:07.567 [warning] Error fetching authorization server metadata: Error: Failed to fetch authorization server metadata from https://MyDomain:ZZZZ/.well-known/oauth-authorization-server: 400 <html><head><title>Bad Request</title></head><body><h1>400 Bad Request</h1></body></html>
2026-03-31 10:44:07.567 [info] Discovered authorization server metadata at https://MyDomain:ZZZZ/.well-known/openid-configuration
2026-03-31 10:44:12.096 [info] Waiting for server to respond to `initialize` request...
I would apprciate if anyone has already addressed the issue to give me a hint to tackle it
BR