alibaba/nacos · error · NacosApiException

API_FUNCTION_DISABLED

API_FUNCTION_DISABLED

Error message

MCP import functionality is not supported in remote mode

What it means

Error "MCP import functionality is not supported in remote mode" thrown in alibaba/nacos.

Source

Thrown at console/src/main/java/com/alibaba/nacos/console/handler/impl/remote/ai/McpRemoteHandler.java:107

        clientHolder.getAiMaintainerService().mcp()
            .updateMcpServer(namespaceId, serverSpecification.getName(), isPublish,
                serverSpecification,
                toolSpecification, endpointSpecification, overrideExisting);
    }
    
    @Override
    public void deleteMcpServer(String namespaceId, String mcpName, String mcpId, String version)
        throws NacosException {
        clientHolder.getAiMaintainerService().mcp().deleteMcpServer(namespaceId, mcpName, mcpId,
            version);
    }
    
    @Deprecated
    @Override
    public McpServerImportValidationResult validateImport(String namespaceId,
        McpServerImportRequest request)
        throws NacosException {
        throw new NacosApiException(NacosException.SERVER_NOT_IMPLEMENTED,
            ErrorCode.API_FUNCTION_DISABLED,
            "MCP import functionality is not supported in remote mode");
    }
    
    @Deprecated
    @Override
    public McpServerImportResponse executeImport(String namespaceId, McpServerImportRequest request)
        throws NacosException {
        throw new NacosApiException(NacosException.SERVER_NOT_IMPLEMENTED,
            ErrorCode.API_FUNCTION_DISABLED,
            "MCP import functionality is not supported in remote mode");
    }
}

View on GitHub (pinned to 9b989acdf1)

Solutions

  1. Check the server/plugin configuration and enable the required module or use a supported alternative.

When it happens

Trigger: Thrown at console/src/main/java/com/alibaba/nacos/console/handler/impl/remote/ai/McpRemoteHandler.java:107 when the library encounters an invalid state.

Common situations: Attempting MCP import while the console runs in remote mode.


AI-assisted analysis of alibaba/nacos@9b989acdf1 (2026-08-14). Data as JSON: /api/errors/280da434f31d3801. Report an issue: GitHub.