Enable MCP tools in POSIX simulator
This commit is contained in:
@@ -507,14 +507,14 @@ bool WebServerService::startServer() {
|
||||
.callback = handleAdminPost,
|
||||
.user_ctx = ctx
|
||||
},
|
||||
#ifdef ESP_PLATFORM
|
||||
// MCP is LAN-local and is enabled whenever the web server is enabled.
|
||||
// MCP is available on physical devices and the POSIX simulator.
|
||||
{
|
||||
.uri = "/api/mcp",
|
||||
.method = HTTP_METHOD_POST,
|
||||
.callback = handleApiMcp,
|
||||
.user_ctx = ctx
|
||||
},
|
||||
#ifdef ESP_PLATFORM
|
||||
{
|
||||
.uri = "/api/screen/raw",
|
||||
.method = HTTP_METHOD_POST,
|
||||
|
||||
Reference in New Issue
Block a user